nikolabt 0 Newbie Poster

I have some problem when i try to add new row to the datagrid. On my form i have buttons for Add,Edit,Delete,Save,Cancel how and DataGrid for showing the data. So when i click on the button for adding new data the new row is created in the DataGrid but the problem is after i click on the button the data in the row which was selected is disappear. What wrong i'm doing. The code for adding new row in the DataGrid that i use is

private void btnNovClen_Click(object sender, EventArgs e)
        {
            this.tblDetalnaBindingSource.AddNew();          
        }

so is it this ok or i must do something else.

Pls help me about this problem i'm waiting you answer!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.