Results 1 to 3 of 3

Thread: [RESOLVED] GridView to DataTable

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Location
    Madrid
    Posts
    325

    Resolved [RESOLVED] GridView to DataTable

    Is there an easy way to pass data from a GridView to a DataTable,..??

    I have a loaded GridView,....

    Code:
    DataTable dt = new DataTable();
    
    foreach (GridViewRow dr in GridView1.Rows)
            {
                DataRow testDr = (dataRow)dr ,.... I tried this and it didn´t work,.
                
            }
    Thanks,
    Last edited by Rauland; Jun 20th, 2007 at 04:11 AM. Reason: code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width