TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
wilsonwu
NA
7
0
No data for Export DataSet to EXCEL
Jun 28 2004 4:05 AM
Hi, I just can export table structure to excel. No data found. Pls help. here is my code : ...... this.sqlDataAdapter.Fill(this.dsTables, "testTable"); DataGrid dg = new DataGrid(); dg.DataSource = this.dsTables.Tables["testTable"]; dg.DataBind(); Response.ContentType = "application/vnd.ms-excel"; Response.Charset = ""; this.enableViewState = false; System.IO.StringWriter tw = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter hw = new HtmlTextWriter(tw); dg.RenderControl(hw); Response.Write(tw.ToString()); Response.End(); Thanks Wilson
Reply
Answers (
0
)
How to load images in the program (Blob)?? PLZ help my
compiling problem - Space Invaders in C# and .NET by Mike Gold.