Initially am able to enter data in datagrid. then I have displayed data to datagrid from database. To fill next data I have cleared datagrid throght below code
if (this.dataGridView1.DataSource != null)
{
this.dataGridView1.DataSource = null;
}
else
{
this.dataGridView1.Rows.Clear();
this.dataGridView1.Refresh();
}
It empty's grid but am not able to enter new value manually to datagrid.
could please somebody help me to resolve the issue
Rajanikant HawaldarPosted Jun 28, 2019, 4:29 AM
Meena SPosted Jun 28, 2019, 2:36 AM
Rajanikant HawaldarPosted Jun 28, 2019, 1:50 AM