hello,
how to make a datagridview to select no row after i bind it datasource to a datatable.
i have this code in my form load
myDGView.DataSource = myDataTable
then when the form load, the first load is automatically selected. because i implements the the SelectionChanged event of the datagridview (to fill some textboxes with the cells value of the current row), the textboxes in the form is filled with thet value of the first row in the datagridview.
i want to prevent this, so when the form first load, the textboxes are empty.
Thank you,