Hi!
I have a problem i hope someone can help me with:
I have a dgv which datasource is a dataset. these are in the MainForm
I have another form (form2) in which the user chooses the index of row to delete and accepts, closing the form2
so... how can i get that value in the Main once the form2 is closed. so that i can delete the row from the dataset?
Any Help will be appreciated! ;)
Nitin SontakkePosted Jul 9, 2016, 12:50 AM
kalu singh raoPosted Jul 9, 2016, 2:11 AM
{
if(sender is Form)
{
this.Hide();
varform2=newForm2();
form2.Closed+=(s,args)=>this.Close();
form2.Show();
}
}
Bikesh SrivastavaPosted Jul 9, 2016, 2:00 AM