Click here to Skip to main content
12,405,498 members (60,811 online)
   

ASP.NET

 
GeneralRe: Problem with WebMethod when it is called from Jquery Pin
jkirkerx21-Mar-13 11:52
memberjkirkerx21-Mar-13 11:52 
GeneralRe: Problem with WebMethod when it is called from Jquery Pin
Nafiseh Salmani21-Mar-13 12:15
memberNafiseh Salmani21-Mar-13 12:15 
GeneralRe: Problem with WebMethod when it is called from Jquery Pin
jkirkerx22-Mar-13 7:12
memberjkirkerx22-Mar-13 7:12 
QuestionHow do you debug a single ASPX file? Pin
Xarzu20-Mar-13 11:51
memberXarzu20-Mar-13 11:51 
AnswerRe: How do you debug a single ASPX file? Pin
jkirkerx20-Mar-13 12:49
memberjkirkerx20-Mar-13 12:49 
GeneralRe: How do you debug a single ASPX file? Pin
Xarzu20-Mar-13 16:38
memberXarzu20-Mar-13 16:38 
GeneralRe: How do you debug a single ASPX file? Pin
jkirkerx20-Mar-13 17:20
memberjkirkerx20-Mar-13 17:20 
GeneralRe: How do you debug a single ASPX file? Pin
Xarzu21-Mar-13 7:57
memberXarzu21-Mar-13 7:57 
GeneralRe: How do you debug a single ASPX file? Pin
jkirkerx21-Mar-13 10:16
memberjkirkerx21-Mar-13 10: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 7:27
memberbnath00120-Mar-13 7: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 9:52
memberdusty_dex20-Mar-13 9: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 Hiller20-Mar-13 23:47
memberBernhard Hiller20-Mar-13 23: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 5:27
memberdusty_dex21-Mar-13 5:27 
QuestionASP.NET EXPORT TO EXCEL Pin
Mkanchha19-Mar-13 6:02
memberMkanchha19-Mar-13 6: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 21:14
memberKarthik Harve19-Mar-13 21:14 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Mkanchha20-Mar-13 23:37
memberMkanchha20-Mar-13 23:37 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Bernhard Hiller20-Mar-13 23:50
memberBernhard Hiller20-Mar-13 23:50 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Mkanchha21-Mar-13 0:59
memberMkanchha21-Mar-13 0:59 
QuestionMaintaining Variables Pin
clugsy6419-Mar-13 5:53
memberclugsy6419-Mar-13 5:53 
AnswerRe: Maintaining Variables Pin
jkirkerx19-Mar-13 8:39
memberjkirkerx19-Mar-13 8:39 
GeneralRe: Maintaining Variables Pin
clugsy6419-Mar-13 9:11
memberclugsy6419-Mar-13 9:11 
GeneralRe: Maintaining Variables Pin
jkirkerx19-Mar-13 10:14
memberjkirkerx19-Mar-13 10:14 
QuestionMVC 4 and WebForm Application: # symbol is appearing in URL Pin
David Mujica19-Mar-13 5:18
memberDavid Mujica19-Mar-13 5:18 
AnswerFound Solution Pin
David Mujica19-Mar-13 10:58
memberDavid Mujica19-Mar-13 10:58 
QuestionBAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Nishant kumar electronics17-Mar-13 1:46
memberNishant kumar electronics17-Mar-13 1:46 
AnswerRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Richard MacCutchan17-Mar-13 2:40
mvpRichard MacCutchan17-Mar-13 2:40 
GeneralRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Nishant kumar electronics17-Mar-13 8:35
memberNishant kumar electronics17-Mar-13 8:35 
GeneralRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Richard MacCutchan17-Mar-13 22:01
mvpRichard MacCutchan17-Mar-13 22:01 
QuestionComplete Editable Datagrid Pin
Girish_Sharma16-Mar-13 23:02
memberGirish_Sharma16-Mar-13 23:02 
AnswerRe: Complete Editable Datagrid Pin
Chris Hambleton18-Mar-13 4:30
memberChris Hambleton18-Mar-13 4:30 
Questionasp.net c# Pin
vishal415-Mar-13 20:11
membervishal415-Mar-13 20:11 
AnswerRe: asp.net c# Pin
Sandeep Mewara15-Mar-13 20:23
mvpSandeep Mewara15-Mar-13 20:23 
AnswerRe: asp.net c# Pin
ProgramFOX17-Mar-13 4:54
member ProgramFOX17-Mar-13 4:54 
QuestionPropay Payment Integration Pin
Amol00014-Mar-13 21:15
memberAmol00014-Mar-13 21:15 
AnswerRe: Propay Payment Integration Pin
Richard MacCutchan14-Mar-13 23:11
mvpRichard MacCutchan14-Mar-13 23:11 
GeneralRe: Propay Payment Integration Pin
Amol00015-Mar-13 6:36
memberAmol00015-Mar-13 6:36 
GeneralRe: Propay Payment Integration Pin
Richard MacCutchan15-Mar-13 6:58
mvpRichard MacCutchan15-Mar-13 6:58 
AnswerRe: Propay Payment Integration Pin
jkirkerx18-Mar-13 7:36
memberjkirkerx18-Mar-13 7:36 
QuestionWSAT tool with IIS 7 Pin
vanikanc14-Mar-13 3:06
membervanikanc14-Mar-13 3:06 
AnswerRe: WSAT tool with IIS 7 Pin
jkirkerx14-Mar-13 12:43
memberjkirkerx14-Mar-13 12:43 
GeneralRe: WSAT tool with IIS 7 Pin
vanikanc15-Mar-13 7:48
membervanikanc15-Mar-13 7:48 
GeneralRe: WSAT tool with IIS 7 Pin
jkirkerx18-Mar-13 7:24
memberjkirkerx18-Mar-13 7:24 
QuestionAbsolute Timeout in windows Authentication Pin
Ballita13-Mar-13 7:59
memberBallita13-Mar-13 7:59 
AnswerRe: Absolute Timeout in windows Authentication Pin
dusty_dex13-Mar-13 10:44
memberdusty_dex13-Mar-13 10:44 
QuestionUsing microsoft AntiXss cross site script encoder to encode standard input controls on an ASP .NET page Pin
Steve Holdorf13-Mar-13 6:48
memberSteve Holdorf13-Mar-13 6:48 
QuestionOffice Conversion Advice Pin
mat4112-Mar-13 15:01
membermat4112-Mar-13 15:01 
QuestionBat File which will list of URL LINks which are not working out of 100 URLs Pin
Nishant kumar electronics12-Mar-13 8:20
memberNishant kumar electronics12-Mar-13 8:20 
AnswerRe: Bat File which will list of URL LINks which are not working out of 100 URLs Pin
mark merrens12-Mar-13 8:50
membermark merrens12-Mar-13 8:50 
GeneralRe: Bat File which will list of URL LINks which are not working out of 100 URLs Pin
Nishant kumar electronics12-Mar-13 23:13
memberNishant kumar electronics12-Mar-13 23:13 
GeneralRe: Bat File which will list of URL LINks which are not working out of 100 URLs Pin
Richard MacCutchan13-Mar-13 1:02
mvpRichard MacCutchan13-Mar-13 1:02 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 29 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid