|
I am using the system.web namespace, not the windows forms.
|
|
|
|
|
My first guess is that it is a permissions thing. Remember that when you are running it on your local machine the streamwriter is using your username to resolve permissions. When you deploy it to the web server, it is the "IIS" process that is running the website/application, so that account would need proper permissions to write to a particular directory.
Check the error message carefully and I believe you will be getting something that says "... access denied ..."
Good luck.
|
|
|
|
|
I tried added in the ANONYMOUS LOGON user, that did not work.
For some reason, when I try to add the user ASPNET user for this particular folder, it does not show up.
Thanks.
|
|
|
|
|
I am using IIS 6 and the user that I had to grant access to is called, "IIS_WPG".
|
|
|
|
|
This solution did not work for me, I had to use the Response.AddHeader("Content-Disposition", "attachment;filename=file1.csv"), this let the user save the file to any location they wanted.
|
|
|
|
|
Hi,
If the checkbox is placed inside a Templatefield, then to bind it to a field in the database
The syntax is:-
checked = '<%# Eval("stcAccepted")%>'
But, if I place the checkbox is on a webform (not in a datagrid 0r dataview), how can I bind its checked property to a database field, so that if it is true in the database checkbox is fetched as checked. If false then should be fetched as unchecked. The field at the backend is of type (char(1), not null).
Please, point to me to a good resource on the web which explains it in detail.
What code should be written to achieve this. I am using C# and sql serer 2008.
Thanks
|
|
|
|
|
If using dataset to hold result
<pre>checkbox1.checked = if(ds.Tables[0].Rows[0]["checked"].ToString() == 'Y') ? true : false;</pre>
|
|
|
|
|
i need to, know how to add items on a drop down list when just selected from a teble
|
|
|
|
|
DdlEmp.DataSource = dtTemp;
DdlEmp.DataTextField = "FullName";
DdlEmp.DataValueField = "EmpID";
DdlEmp.DataBind();
I have dont like this.
|
|
|
|
|
Hello To All
I have a requirement where i need to export data in excel sheet to sqlserver through asp.net..
The requirement is application has to check sheet by sheet in excel workbook and has to export data in it to sqlserver.. If any blank sheet is there between sheets it has to skip that sheet and go for next sheet..
I have developed code for this task.. but the program is working successfully if data is present in all the sheets.. If data is not there in one sheet it is showing exception although it is uploading the data in the remaining sheets...
Tell me some logic about how to know whether the excel sheet is empty or not...
|
|
|
|
|
Hi All
I have two sub report in main report.. Please send me some sample code in c# to set value for parameter(Stored Procedure) for the sub reports.
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
Try to use Google. It will be of help.
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi
I have designed the payslip in crystal report in A4 size.i want my report to generate with two payslip
meaning in a4 sheet i need same payslip with two copy
Please help me with this I am new to crystal report
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
modified on Saturday, April 30, 2011 4:52 AM
|
|
|
|
|
|
In addition to Sandeep answer you can also go there[^] to learn step by step process to use Crystal Report.
|
|
|
|
|
Ramkumar_S wrote: meaning in a4 sheet i need same payslip with two copy
Please help me with this I am new to crystal report
Question changed totally!
Avoid it please. If you have anything new then add a new question instead of editing an old one and replacing the text completely.
Ramkumar_S wrote: meaning in a4 sheet i need same payslip with two copy
This is not clear. What are you looking for? If it's a copy of same stuff in the report, design it accordingly.
|
|
|
|
|
Hi all,
Hope this is the right place to ask this question.
I've integrate the FCK Editor with one of my web application and works fine. However I want to do a small modification on it. Say I've upload an image and I want to scale to a small size. How can I do that. On fckconfig.js file I found something like this,
<br />
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ;
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;
and I tried with different values. But it's not working as I expect.
Thanks in advance.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
You would probably get a better answer on the company's forum[^].
|
|
|
|
|
Please ask to support at proper 3rd party
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi All,
We have a requirement like creating Payslip dynamically in run-time,with 10 standard field.
Meaning to say customer can create a table dynamically and choose any fields ,each field eg. label will get the value from database.
However we use Crystal report for reporting.
Please suggest me best method to generate payslip format in run time.
Is SSRS will solve my issue?
Thanks in advance..
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
|
I have develop three payroll system for my company. there I use Crystal report for payslip for two project. And in last project I use HTML reporting.
|
|
|
|
|
Hello,
I am using Ajax to show an autocomplete textbox, with in a grid. once a user types/autofills a value, i am updating the database, and want to show this updated value in the grid.
what parameters would i need to set,
I tried to databind the gridview again but this did not work.
Thanks
|
|
|
|
|
I tried to use the updatepanel ajax control:
<asp:UpdatePanel runat="server" ID="panel1">
<ContentTemplate>
<fieldset>
<legend></legend>
</fieldset>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="Grid1" />
</Triggers>
</asp:UpdatePanel>
even this did not help to refresh just that page of the grid
|
|
|
|
|
As the title states. Any preferences? one considered better than the other by the general consensus?
The context here is to rip text out of a pdf(that is obtained already created elsewhere) and put it into a string for programmatic manipulation from there.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|