Hello
In my Application I have two textbox and datagridview.My datagridview datasource is Data table.I add rows to table from textbox.My problem is when I add different data to table there is only one row.Every time when I second row it removes first.So how to add first,second,third rows to table and show on datagridview?
thanks in advance.
Data Table
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K pointsPosted Apr 8, 2012, 4:11 AM EDT
As per as my knowledge is concerned, yes you are right! you need to store in any one of them...
SenthilkumarRank #387 · 6.5K pointsPosted Apr 8, 2012, 12:39 AM EDT
The reason is i think you have not stored the data some where and need to add from the stored data.
I have done the example page. You can change the field name or design.
Design page:
Code File:
Hope this will help you.
Ilkin East85 pointsPosted Apr 8, 2012, 2:14 AM EDT
Everything is ok.What if we try to do it in windows application.I need to store it anyware.In a file,xml,database?
Thanks .