|
|
HI ,
When I Should use XQuery ? and What that API that integrated with XQuery and Asp.NET ?
any tutorial with .net coz i'm try to find but i'm not reach to anything
|
|
|
|
|
|
Hello
I'm sorry for my message i was writing by franche
I have page aspx, in that page i have table and the collection of rows,
<table >
<colgroup>
<col class="oce-first" />
</colgroup>
<thead>
<tr>
<th scope="col">
Point de collecte</th>
<th scope="col">
Adresse</th>
<th scope="col">
Ville</th>
<th scope="col">
Téléphone</th>
</tr>
</thead>
<tbody>
<%
foreach (Depot element in collection)
{
%>
<tr>
<td>
<% rdbtn.Text = element.depot;%>
<asp:RadioButton ID="rdbtn" runat="server" />
</td>
<td>
<%=element.adresse%>
</td>
<td>
<%=element.villeName%>
</td>
<td>
<%=element.telephone%>
</td>
</tr>
<%
}%>
</tbody>
</table>
My problème is i was know id of radiobutton selected
Thank you
modified on Monday, May 2, 2011 12:08 PM
|
|
|
|
|
Please format your code using Code block(Select the entire code & click Code block)
Also please post your question is English instead french(any language). Use Google Translate[^] for language translation.
OK now update your question quickly.
|
|
|
|
|
Hello,
I created a file using the streamwriter class on my local development machine and it creates the files. Once I move this code to the server where other users are going to this website, this class does not work. It does not create a file. This works on my local PC development area.
Any ideas??
Thanks!
|
|
|
|
|
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 ♫
|
|
|
|