My webpage is working fine on the local network but when exposed to the public server and access it from the outside network I get an error on the page "line: 2 char: 1 error: syntax error Code:0"
Apparently the error is generated by the asp validators So, when I remove all the validators, the...
Hi!
You can use template column to insert ASP.NET validators so that the validation happens on the client side. Below is sample snippet.
<asp:datagrid id="productGrid" Width="100%" AutoGenerateColumns="False" Runat="server">
<Columns>
<asp:TemplateColumn HeaderText="Product">...
Greetings!
Is there anyone who knows the answer to my problem?
Here is the scenario.
I have a web page that uploads a visio file and a command button that when clicks will dynamically view the uploaded visio file to the same web page.
My problem is I dont know how to do this. I tried creating a...
Hello,
I am about to develop a software for computer gaming rentals. I want to limit access to the following : control panel; Run; CtrlAltDel. If you have any idea, please tell me how to do this in C#.
Thanks.
I am creating a report in crystal and export it to pdf at runtime. Below is the sample code
DiskFileDestinationOptions diskDestination = new DiskFileDestinationOptions();
reportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile...
Hi,
I have created a program in C# that would export the crystal report to pdf. English version works just fine. My problem is I don't know how to start from generating the report to exporting it with multilingual support.
Can somebody provide me with a step-by-step in generating this pdf...
Thanks Madawc and sorry for that.
I am using C# and supposed to generate reports using crystal in a pdf format and display the report in a web page.
Here's what I've done to convert the crystal report to pdf:
//cr1 is the actual report
DiskFileDestinationOptions diskDestination = new...
Hi!
Is there anyone who knows to convert crystal report to pdf with a multi-lingual capability?
Any help would be appreciated.
Thanks in advance!
Meydz
its working!
thanks a lot
before i posted this thread i tried replacing the string with Char(13) only but i did not get the expected result.
thanks for your help!
meydz
is there anyone who knows how to replace a string containing carriage return with space.
ex:
declare @a as varchar
set @a = 'the quick
brown fox'
--the output
print @a
the quick
brown fox
--i want the output in one line
the quick brown fox
any help would be appreciated.
thanks in advance
you have to put that code.
remember that it is a good practice to free the memory from unnecessary variables.
i think an error occurred because you missed to place END keyword
While
Begin
...
End
hope this will help
meydz
try this!
suppose your table name is temp
select a.id, convert(varchar(10), a.[date], 101),
datediff(mi,a.date, b.date) / 60
from temp a
inner join
temp b
on a.id = b.id
and convert(varchar(10), a.[date], 101) = convert(varchar(10), b.[date], 101)
and a.seq < b.seq
hope this will help.
meydz
FETCH means to get the next batch of record from your select statement.
if @@fetch_status = 0 there is more record if not an EOF has been reached.
hope this will help.
meydz
try this query.
select *
from user
where userID not in(select user_ID from session where datediff(d, date, getdate()) <= 60)
hope this will help!
meydz
can you construct your SQL statement.
<code>
create procedure a
@par as numeric = null
as
if @a is not null
...
else
...
</code>
this code structure should work.
meydz
hi!
i am using crystal report to generate my report, my problem occured when the report exceeded the space of paper, i extended it to another page.
is there a way to fit in the results into one page?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.