I've got an editable gridview bound to a dataset. I would like to place a button below the gridview. When it is clicked, I want it to submit the data in the gridview back into the bound dataset, and then i want to iterate through the records in the dataset. Any code samples/documentation/references would be appreciated!

The code for the gridview is here:

<asp:GridView ID="gvfiles" runat="server" AutoGenerateColumns="false" EmptyDataText="No Records found!">
<asp:TemplateField HeaderText="Filename">
<asp:TemplateField HeaderText="Include?">
<asp:CheckBox id="cbinclude" runat="server" Visible='<%# isineditmode %>' checked='<%# eval("includecolumn") %>'></asp:CheckBox>


The code used to build my dataset is below(it's in the page_load):

Dim basepath As String = Request.QueryString("path")
Dim filedataset As New dataset()
Dim filedatatable = New DataTable("filetable")
Dim filecolumn As New DataColumn("filecolumn")
Dim includecolumn As New DataColumn("includecolumn")
Dim filelist As String() = Directory.GetFiles(basepath)

Dim filename As String

For Each filename In filelist
Dim filetablerow As DataRow = filedatatable.newrow()
filetablerow.Item(filecolumn) = filename
filetablerow.Item(includecolumn) = "false"

gvfiles.DataSource = filedataset
iseditmode = True

Thanks in advance for your help!