Click here to Skip to main content
15,917,951 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Microsoft JScript runtime error: Sys.ArgumentTypeException Pin
Christian Graus2-Dec-08 20:22
protectorChristian Graus2-Dec-08 20:22 
QuestionStyleSheet problem in asp.net 2.0 Pin
Karan_TN2-Dec-08 18:55
Karan_TN2-Dec-08 18:55 
AnswerRe: StyleSheet problem in asp.net 2.0 Pin
Nanda_MR2-Dec-08 19:29
Nanda_MR2-Dec-08 19:29 
GeneralRe: StyleSheet problem in asp.net 2.0 Pin
Karan_TN2-Dec-08 19:53
Karan_TN2-Dec-08 19:53 
GeneralRe: StyleSheet problem in asp.net 2.0 Pin
www.Developerof.NET2-Dec-08 20:24
www.Developerof.NET2-Dec-08 20:24 
GeneralRe: StyleSheet problem in asp.net 2.0 Pin
Christian Graus2-Dec-08 20:27
protectorChristian Graus2-Dec-08 20:27 
AnswerRe: StyleSheet problem in asp.net 2.0 Pin
Nanda_MR2-Dec-08 21:49
Nanda_MR2-Dec-08 21:49 
QuestionProblem exporting datagrid to excel Pin
Anu7872-Dec-08 18:48
Anu7872-Dec-08 18:48 
Hii..whenever i try to export the datagrid on my asp.net page to excel,
the excel sheet opens but with no data in it !
why is this so? am using visual studio 2005 and MS Office XP.
am terribly confused..can someone pls help me with this?..thanks in advance.. Smile | :)
Microsoft.Office.Tools.Excel is what i have included..
here is my code..

Response.Clear();
string filename2 = TextBox4.Text;
Response.AddHeader("content-disposition", "attachment;filename=" + filename2 + ".xls");
Response.Charset = "";
Page.EnableViewState = false;
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter stringWriter = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmwrite = new HtmlTextWriter(stringWriter);
DataGrid2.RenderControl(htmwrite);
Response.Write(stringWriter.ToString());
Response.End();
AnswerRe: Problem exporting datagrid to excel Pin
Karan_TN2-Dec-08 19:29
Karan_TN2-Dec-08 19:29 
AnswerRe: Problem exporting datagrid to excel Pin
Christian Graus2-Dec-08 19:42
protectorChristian Graus2-Dec-08 19:42 
QuestionAccessing the Sub-Menu from MENU CONTROL Pin
Karan_TN2-Dec-08 18:46
Karan_TN2-Dec-08 18:46 
Questionhow to use model pop extender with gridview Pin
sruthikv2-Dec-08 17:39
sruthikv2-Dec-08 17:39 
AnswerRe: how to use model pop extender with gridview Pin
Christian Graus2-Dec-08 17:55
protectorChristian Graus2-Dec-08 17:55 
Questionwhen any field in toolbox just drag and drop Pin
Rajeshwar Code- Developer2-Dec-08 16:08
Rajeshwar Code- Developer2-Dec-08 16:08 
QuestionMSMQ with asp.net Pin
anurag_dusaj2-Dec-08 11:58
anurag_dusaj2-Dec-08 11:58 
AnswerRe: MSMQ with asp.net Pin
Christian Graus2-Dec-08 12:06
protectorChristian Graus2-Dec-08 12:06 
AnswerRe: MSMQ with asp.net Pin
Blue_Boy2-Dec-08 12:50
Blue_Boy2-Dec-08 12:50 
GeneralRe: MSMQ with asp.net Pin
Christian Graus2-Dec-08 13:28
protectorChristian Graus2-Dec-08 13:28 
GeneralRe: MSMQ with asp.net Pin
Blue_Boy2-Dec-08 13:35
Blue_Boy2-Dec-08 13:35 
QuestionSubgurim's Google map .NET control - problem when too many (> 15) markers Pin
eval992-Dec-08 9:17
eval992-Dec-08 9:17 
AnswerRe: Subgurim's Google map .NET control - problem when too many (> 15) markers Pin
Christian Graus2-Dec-08 9:28
protectorChristian Graus2-Dec-08 9:28 
AnswerRe: Subgurim's Google map .NET control - problem when too many (> 15) markers Pin
eval999-Dec-08 10:57
eval999-Dec-08 10:57 
GeneralWeb Reporting Libraries Pin
Brady Kelly2-Dec-08 6:23
Brady Kelly2-Dec-08 6:23 
GeneralRe: Web Reporting Libraries Pin
Christian Graus2-Dec-08 16:47
protectorChristian Graus2-Dec-08 16:47 
GeneralRe: Web Reporting Libraries Pin
Brady Kelly2-Dec-08 20:45
Brady Kelly2-Dec-08 20:45 

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.