Click here to Skip to main content
15,895,740 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiontextbox and dropdownlist in gridview Pin
deepthy.p.m27-May-08 23:39
deepthy.p.m27-May-08 23:39 
AnswerRe: textbox and dropdownlist in gridview Pin
eyeseetee28-May-08 0:00
eyeseetee28-May-08 0:00 
AnswerRe: textbox and dropdownlist in gridview Pin
Imran Khan Pathan28-May-08 0:21
Imran Khan Pathan28-May-08 0:21 
GeneralRe: textbox and dropdownlist in gridview Pin
eyeseetee28-May-08 0:35
eyeseetee28-May-08 0:35 
GeneralRe: textbox and dropdownlist in gridview Pin
deepthy.p.m28-May-08 0:42
deepthy.p.m28-May-08 0:42 
GeneralRe: textbox and dropdownlist in gridview Pin
deepthy.p.m28-May-08 1:06
deepthy.p.m28-May-08 1:06 
GeneralRe: textbox and dropdownlist in gridview Pin
Imran Khan Pathan28-May-08 1:37
Imran Khan Pathan28-May-08 1:37 
QuestionExporting Large amount of data (20,000) to excel from datagird gives Timeout expired Pin
Member 394372527-May-08 23:19
Member 394372527-May-08 23:19 
The datagrid gets populated with data, meaning to say it has no problem with retrieving data from database.

i have added the follwing in the webconfig.
<add key="CommandTimeout" value="60000">
<httpruntime maxrequestlength="2097151" executiontimeout="3600000">

still on exporting the data to excel i get timeout Expired.

code for exporting to excel

Response.Clear();
Response.Buffer = true;
Response.Charset = "";
Response.AddHeader("Content-Disposition", "attachment; filename=Export.xls");
Response.AddHeader("content-disposition", "filename=Export.xls");
Response.ContentType = "application/vnd.ms-excel";
StringWriter stringWriter = new StringWriter();
HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter);
grdExport.RenderControl(htmlWriter);

htmlWriter.Write(stringWriter );
Response.Write(stringWriter.ToString());
Response.End();


Kindly help.
Thank you.

I live Quarter ahead from time

AnswerRe: Exporting Large amount of data (20,000) to excel from datagird gives Timeout expired Pin
Vasudevan Deepak Kumar28-May-08 2:33
Vasudevan Deepak Kumar28-May-08 2:33 
Questionwhich database extension file (sdb) Pin
Rinki Mukheraji27-May-08 22:39
Rinki Mukheraji27-May-08 22:39 
AnswerRe: which database extension file (sdb) Pin
Karan_TN27-May-08 22:45
Karan_TN27-May-08 22:45 
GeneralRe: which database extension file (sdb) Pin
Rinki Mukheraji27-May-08 22:54
Rinki Mukheraji27-May-08 22:54 
GeneralRe: which database extension file (sdb) Pin
Karan_TN27-May-08 23:24
Karan_TN27-May-08 23:24 
QuestionCounting within a variable??? Pin
Karan_TN27-May-08 22:31
Karan_TN27-May-08 22:31 
AnswerRe: Counting within a variable??? Pin
Christian Graus27-May-08 23:57
protectorChristian Graus27-May-08 23:57 
Questioncurrent gridview page rows Pin
Pankaj Garg27-May-08 21:35
Pankaj Garg27-May-08 21:35 
AnswerRe: current gridview page rows Pin
eyeseetee27-May-08 21:50
eyeseetee27-May-08 21:50 
GeneralRe: current gridview page rows Pin
Pankaj Garg27-May-08 21:57
Pankaj Garg27-May-08 21:57 
QuestionFile Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
epp112327-May-08 21:25
epp112327-May-08 21:25 
AnswerRe: File Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
Sandeep Akhare27-May-08 21:45
Sandeep Akhare27-May-08 21:45 
AnswerRe: File Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
Resolver27-May-08 23:00
Resolver27-May-08 23:00 
AnswerRe: File Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
Vasudevan Deepak Kumar28-May-08 2:34
Vasudevan Deepak Kumar28-May-08 2:34 
QuestionNot Repeated Rows Pin
Mr. Wonderful27-May-08 21:24
Mr. Wonderful27-May-08 21:24 
AnswerRe: Not Repeated Rows Pin
eyeseetee27-May-08 21:47
eyeseetee27-May-08 21:47 
AnswerRe: Not Repeated Rows Pin
Christian Graus27-May-08 23:58
protectorChristian Graus27-May-08 23:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.