K
kgs
I get argument out of range exception when my datasource
does not have any rows to display in datagrid.
Right now if there are no rows i get a
blank area of datagrid. no header no footers.
what should i do to display header only without any rows.
here is the snippet of code.
Try
mydataGrid.DataSource = myDS
mydataGrid.DataBind()
Catch
--No rows. just display only header.
End Try
Appreciate any help
does not have any rows to display in datagrid.
Right now if there are no rows i get a
blank area of datagrid. no header no footers.
what should i do to display header only without any rows.
here is the snippet of code.
Try
mydataGrid.DataSource = myDS
mydataGrid.DataBind()
Catch
--No rows. just display only header.
End Try
Appreciate any help