regarding datagrid problem in vb.net?
-
my problem is,showing one arrow mark and plus sign in datagrid,if i click the plus sign means,the table come like tree node,then i click table means,then values are display from sql database with header name as new dataset.so i want to hide that arrow mark,plus sign and new dataset.how to hide these?i want only values display without that arrow mark,plus sign.
-
my problem is,showing one arrow mark and plus sign in datagrid,if i click the plus sign means,the table come like tree node,then i click table means,then values are display from sql database with header name as new dataset.so i want to hide that arrow mark,plus sign and new dataset.how to hide these?i want only values display without that arrow mark,plus sign.
The Arrow you can get rid of by not showing the row headers, there is a property that you can set this, and the plus you can get rid of by only binding a DataTable to the datagrid, and not a DataSet. so instead of
Datagrid1.datasource = dataset1
usedatagrid1.datasource = dataset1.tables(0)