Click here to Skip to main content
16,020,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: web api query - 401 error Pin
miss7868-Apr-14 23:57
miss7868-Apr-14 23:57 
GeneralRe: web api query - 401 error Pin
Bernhard Hiller9-Apr-14 2:19
Bernhard Hiller9-Apr-14 2:19 
GeneralRe: web api query - 401 error Pin
miss78614-Apr-14 6:24
miss78614-Apr-14 6:24 
QuestionHow to save secured password for individual users Pin
antony beula8-Apr-14 2:32
antony beula8-Apr-14 2:32 
AnswerRe: How to save secured password for individual users Pin
Peter Leow8-Apr-14 2:44
professionalPeter Leow8-Apr-14 2:44 
AnswerRe: How to save secured password for individual users Pin
Richard Deeming8-Apr-14 3:07
mveRichard Deeming8-Apr-14 3:07 
QuestionExporting Repeater values in to Excel Pin
indian1437-Apr-14 14:39
indian1437-Apr-14 14:39 
AnswerRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 2:24
professionalSchatak8-Apr-14 2:24 
Try this
C#
Response.Clear();
Response.Buffer = true;
Response.AddHeader("content-disposition", "attachment;filename=namefile.xls");
Response.Charset = "";
Response.ContentType = "application/vnd.ms-excel";

System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
//     Your Repeater
rep.RenderControl(htmlWrite);
Response.Write("<table>");
Response.Write(stringWrite.ToString());
Response.Write("</table>");
Response.End();

GeneralRe: Exporting Repeater values in to Excel Pin
indian1438-Apr-14 7:08
indian1438-Apr-14 7:08 
GeneralRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 21:18
professionalSchatak8-Apr-14 21:18 
GeneralRe: Exporting Repeater values in to Excel Pin
indian1439-Apr-14 7:33
indian1439-Apr-14 7:33 
GeneralRe: Exporting Repeater values in to Excel Pin
Schatak10-Apr-14 2:08
professionalSchatak10-Apr-14 2:08 
GeneralRe: Exporting Repeater values in to Excel Pin
indian14310-Apr-14 6:31
indian14310-Apr-14 6:31 
GeneralRe: Exporting Repeater values in to Excel Pin
indian14310-Apr-14 6:58
indian14310-Apr-14 6:58 
QuestionTFS build error Pin
indian1437-Apr-14 8:55
indian1437-Apr-14 8:55 
QuestionImage galleries Pin
Keith888887-Apr-14 5:53
Keith888887-Apr-14 5:53 
QuestionAntiForgeryToken after session timeout Pin
littleGreenDude7-Apr-14 5:30
littleGreenDude7-Apr-14 5:30 
QuestionSystem.Web.UI.DataVisualization.Charting Pin
NickKa6-Apr-14 3:45
NickKa6-Apr-14 3:45 
SuggestionRe: System.Web.UI.DataVisualization.Charting Pin
thatraja9-Apr-14 2:18
professionalthatraja9-Apr-14 2:18 
QuestionPossibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Carlos j. Ramirez5-Apr-14 9:56
Carlos j. Ramirez5-Apr-14 9:56 
AnswerRe: Possibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Philippe Mori5-Apr-14 12:00
Philippe Mori5-Apr-14 12:00 
GeneralRe: Possibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Carlos j. Ramirez7-Apr-14 4:58
Carlos j. Ramirez7-Apr-14 4:58 
QuestionHow to use http://flexpaper.devaldi.com/ to share PDF file on web page Pin
bipinprem155-Apr-14 9:17
bipinprem155-Apr-14 9:17 
QuestionRe: How to use http://flexpaper.devaldi.com/ to share PDF file on web page Pin
Richard MacCutchan5-Apr-14 21:37
mveRichard MacCutchan5-Apr-14 21:37 
QuestionHow to display Regression equation and R-squared value Pin
Kandepu Rajesh4-Apr-14 20:46
Kandepu Rajesh4-Apr-14 20:46 

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.