Click here to Skip to main content
11,478,174 members (72,274 online)
   

ASP.NET

 
GeneralRe: How do you debug a single ASPX file? [modified] Pin
jkirkerx20-Mar-13 18:20
memberjkirkerx20-Mar-13 18:20 
GeneralRe: How do you debug a single ASPX file? Pin
Xarzu21-Mar-13 8:57
memberXarzu21-Mar-13 8:57 
GeneralRe: How do you debug a single ASPX file? Pin
jkirkerx21-Mar-13 11:16
memberjkirkerx21-Mar-13 11:16 
QuestionHow to open an existing excel file (not in the browser) in a new window from ASP.NET 3.5 with C# Pin
bnath00120-Mar-13 8:27
memberbnath00120-Mar-13 8:27 
AnswerRe: How to open an existing excel file (not in the browser) in a new window from ASP.NET 3.5 with C# Pin
dusty_dex20-Mar-13 10:52
memberdusty_dex20-Mar-13 10:52 
AnswerRe: How to open an existing excel file (not in the browser) in a new window from ASP.NET 3.5 with C# Pin
Bernhard Hiller21-Mar-13 0:47
memberBernhard Hiller21-Mar-13 0:47 
GeneralRe: How to open an existing excel file (not in the browser) in a new window from ASP.NET 3.5 with C# Pin
dusty_dex21-Mar-13 6:27
memberdusty_dex21-Mar-13 6:27 
QuestionASP.NET EXPORT TO EXCEL Pin
Mkanchha19-Mar-13 7:02
memberMkanchha19-Mar-13 7:02 
After export gridview to excel using asp.net and vb.net
Save as Type:Web Page. I want it should be Microsoft Office excel workbook


My code like this
====================

gvRpt.AllowPaging = False
gvRpt.GridLines = GridLines.Both
Dim style As String = "<style> .text { mso-number-format:\@; } </script> "
Response.ClearContent()
Response.Clear()
Response.Buffer = True
Response.Charset = ""
Me.EnableViewState = False
Response.AddHeader("content-disposition", "attachment;filename=" & RptName & ".xls")
Response.ContentType = "application/excel"
'Response.ContentType = "application/vnd.ms-excel"
Dim sw As New StringWriter()
Dim htw As New HtmlTextWriter(sw)
gvRpt.RenderControl(htw)
Response.Write(style)
Response.Write(sw.ToString())
Response.End()
AnswerRe: ASP.NET EXPORT TO EXCEL Pin
Karthik Harve19-Mar-13 22:14
memberKarthik Harve19-Mar-13 22:14 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Mkanchha21-Mar-13 0:37
memberMkanchha21-Mar-13 0:37 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Bernhard Hiller21-Mar-13 0:50
memberBernhard Hiller21-Mar-13 0:50 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Mkanchha21-Mar-13 1:59
memberMkanchha21-Mar-13 1:59 
QuestionMaintaining Variables Pin
clugsy6419-Mar-13 6:53
memberclugsy6419-Mar-13 6:53 
AnswerRe: Maintaining Variables Pin
jkirkerx19-Mar-13 9:39
memberjkirkerx19-Mar-13 9:39 
GeneralRe: Maintaining Variables Pin
clugsy6419-Mar-13 10:11
memberclugsy6419-Mar-13 10:11 
GeneralRe: Maintaining Variables [modified] Pin
jkirkerx19-Mar-13 11:14
memberjkirkerx19-Mar-13 11:14 
QuestionMVC 4 and WebForm Application: # symbol is appearing in URL Pin
David Mujica19-Mar-13 6:18
memberDavid Mujica19-Mar-13 6:18 
AnswerFound Solution Pin
David Mujica19-Mar-13 11:58
memberDavid Mujica19-Mar-13 11:58 
QuestionBAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Nishant kumar electronics17-Mar-13 2:46
memberNishant kumar electronics17-Mar-13 2:46 
AnswerRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Richard MacCutchan17-Mar-13 3:40
mvpRichard MacCutchan17-Mar-13 3:40 
GeneralRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Nishant kumar electronics17-Mar-13 9:35
memberNishant kumar electronics17-Mar-13 9:35 
GeneralRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Richard MacCutchan17-Mar-13 23:01
mvpRichard MacCutchan17-Mar-13 23:01 
QuestionComplete Editable Datagrid Pin
Girish_Sharma17-Mar-13 0:02
memberGirish_Sharma17-Mar-13 0:02 
AnswerRe: Complete Editable Datagrid Pin
Chris Hambleton18-Mar-13 5:30
memberChris Hambleton18-Mar-13 5:30 
Questionasp.net c# Pin
vishal415-Mar-13 21:11
membervishal415-Mar-13 21:11 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 21 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid