dataTables to to gridView
-
'in here he put the dataTables of a dataSet in a dataTable
pt = dsPubs.Tables(0)
appt = dsPubs.Tables(1)'below here he set the datasource of the gridview with the specified dataTable of the dataSet, what is the purpose of the above code then?
GridView1.DataSource = dsPubs.Tables(0)
GridView1.DataBind()
GridView2.DataSource = dsPubs.Tables(1)
GridView2.DataBind() -
'in here he put the dataTables of a dataSet in a dataTable
pt = dsPubs.Tables(0)
appt = dsPubs.Tables(1)'below here he set the datasource of the gridview with the specified dataTable of the dataSet, what is the purpose of the above code then?
GridView1.DataSource = dsPubs.Tables(0)
GridView1.DataBind()
GridView2.DataSource = dsPubs.Tables(1)
GridView2.DataBind()Confusion... otherwise known as job security... :suss: ;P :laugh:
-
'in here he put the dataTables of a dataSet in a dataTable
pt = dsPubs.Tables(0)
appt = dsPubs.Tables(1)'below here he set the datasource of the gridview with the specified dataTable of the dataSet, what is the purpose of the above code then?
GridView1.DataSource = dsPubs.Tables(0)
GridView1.DataBind()
GridView2.DataSource = dsPubs.Tables(1)
GridView2.DataBind()