dgv1.Rows.Add(txtname.text,txtAge.Text,txtGender.text) it underline Add with red what could be the problem
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ali tuncerPosted Apr 12, 2016, 9:45 PM
Vincent is right, I thought you were using DataGrid control in Winforms..
Vincent Maverick DuranoPosted Apr 12, 2016, 2:08 PM
Carlos kambuiPosted Apr 12, 2016, 7:20 AM
ali tuncerPosted Apr 12, 2016, 6:58 AM
Carlos kambuiPosted Apr 12, 2016, 6:52 AM
ali tuncerPosted Apr 12, 2016, 6:36 AM
parameters are wrong, try this way:
dgv1.Rows.Add(testrow);