Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondisplay day name of selected date Pin
Praveen Kandari2-Jul-15 21:36
Praveen Kandari2-Jul-15 21:36 
AnswerRe: display day name of selected date Pin
Abhinav S2-Jul-15 22:52
Abhinav S2-Jul-15 22:52 
GeneralRe: display day name of selected date Pin
Praveen Kandari2-Jul-15 23:39
Praveen Kandari2-Jul-15 23:39 
QuestionASP.NET MVC4 / WebAPI OAuth - DotNetOpenAuth Pin
Jammer30-Jun-15 4:11
Jammer30-Jun-15 4:11 
QuestionCan any one help me to post content on linked in asp.net? Pin
Raghavendra.Kodimala29-Jun-15 21:19
professionalRaghavendra.Kodimala29-Jun-15 21:19 
AnswerRe: Can any one help me to post content on linked in asp.net? Pin
deepankarbhatnagar6-Jul-15 1:10
professionaldeepankarbhatnagar6-Jul-15 1:10 
QuestionCode or a network stack control to change the network gateway inside my app Pin
Michael Clinton29-Jun-15 12:14
Michael Clinton29-Jun-15 12:14 
QuestionFormat Excel Row Height Pin
Hellfire123128-Jun-15 17:54
Hellfire123128-Jun-15 17:54 
I am exporting a data table to Excel, but my row height get wildly large, how can this be changed to actually set the row height?
C#
public void ExportToExcel(DataTable dataTable)
{
		string filename = "Report.xls";
		StringWriter tw = new System.IO.StringWriter();
		HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw); 
		DataGrid dgGrid = new DataGrid();
		dgGrid.DataSource = dataTable;
		dgGrid.DataBind();
		dgGrid.RenderControl(hw);
		HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
		HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename + ""); 
		HttpContext.Current.Response.Write(tw.ToString());
		HttpContext.Current.Response.End();
}

AnswerRe: Format Excel Row Height Pin
Herman<T>.Instance13-Jul-15 0:23
Herman<T>.Instance13-Jul-15 0:23 
Question.Net Pin
PRAKAS PANDEY28-Jun-15 1:14
PRAKAS PANDEY28-Jun-15 1:14 
AnswerRe: .Net Pin
Sascha Lefèvre28-Jun-15 1:22
professionalSascha Lefèvre28-Jun-15 1:22 
AnswerRe: .Net Pin
Seema Saraswat29-Jun-15 23:32
professionalSeema Saraswat29-Jun-15 23:32 
AnswerRe: .Net Pin
User 418025410-Jul-15 11:02
User 418025410-Jul-15 11:02 
QuestionApp development ASP.NET with SQL Server Pin
Member 1178537426-Jun-15 23:14
Member 1178537426-Jun-15 23:14 
AnswerRe: App development ASP.NET with SQL Server Pin
Seema Saraswat29-Jun-15 23:34
professionalSeema Saraswat29-Jun-15 23:34 
SuggestionRe: App development ASP.NET with SQL Server Pin
The Tigerman20-Jul-15 10:44
The Tigerman20-Jul-15 10:44 
AnswerRe: App development ASP.NET with SQL Server Pin
Seema Saraswat5-Oct-15 1:55
professionalSeema Saraswat5-Oct-15 1:55 
QuestionDAL Pin
Member 1116162526-Jun-15 19:06
Member 1116162526-Jun-15 19:06 
AnswerRe: DAL Pin
Richard MacCutchan26-Jun-15 22:03
mveRichard MacCutchan26-Jun-15 22:03 
AnswerRe: DAL Pin
ashish6896-Jul-15 22:32
professionalashish6896-Jul-15 22:32 
GeneralRe: DAL Pin
wikizhao22-Jul-15 17:12
wikizhao22-Jul-15 17:12 
QuestionDisplay Pdf along with Html Controls in MVC Application Pin
Member 1179252426-Jun-15 3:12
Member 1179252426-Jun-15 3:12 
AnswerRe: Display Pdf along with Html Controls in MVC Application Pin
ZurdoDev26-Jun-15 3:48
professionalZurdoDev26-Jun-15 3:48 
AnswerRe: Display Pdf along with Html Controls in MVC Application Pin
jkirkerx26-Jun-15 7:17
professionaljkirkerx26-Jun-15 7:17 
AnswerRe: Display Pdf along with Html Controls in MVC Application Pin
Richard Deeming26-Jun-15 7:24
mveRichard Deeming26-Jun-15 7:24 

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.