IDeploy

adventures of a geek without a parachute

  Home  |   Contact  |   Syndication    |   Login
  35 Posts | 1 Stories | 38 Comments | 206 Trackbacks

News

Archives

Post Categories

Image Galleries

________

Articles

Blogroll

Humor

Tips

Send a datagrid to the browser in excel format..... Response.ContentType = "application/vnd.ms-excel" Response.Charset = "" Response.Clear() Me.EnableViewState = False Dim sw As New StringWriter() Dim hw As New HtmlTextWriter(sw) Me.DataGrid1.RenderControl(hw) Response.Write(sw) Response.End()

Via Dino Esposito ... Imagine your page includes a drop-down list control filled with 300 country names. Do you think it will be persisted across postbacks? To this question, my answer would be NO. Wrong. The right answer is true. And where do you think all that stuff is stored across postbacks? In the viewstate, of course. You may have heard (from me, for example) that data-bound controls don't persist their data source to the viewstate. For list controls (drop-down, checkboxlist, listbox), this...

Firefox compliant way to highlight table rows http://aspnet.4guysfromroll

The Server Side has posted a free downloadable PDF version of the Essential XML Quick Reference (400+ pages)

This post has generated lots of comments and over 1,500 hits per month, I hope that it is helpful to you. Before you comment on the post, I need to point out that this is just a weblog. Please use the following guidelines when considering comments. 1) If you find my solution useful, or have trouble making it work, please post comments. 2) If you have a different or related problem, I suggest you try experts exchange, which is a dedicated help forum. 3) If you would like to send me an email directly,...