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 HawaldarRank #108 · 20.5K reputationPosted Jun 27, 2019, 9:50 PM EDT
Meena S44 reputationPosted Jun 27, 2019, 10:36 PM EDT
Rajanikant HawaldarRank #108 · 20.5K reputationPosted Jun 28, 2019, 12:29 AM EDT