A1VBCode Forums

Need Urgent Help - Text to Grid


http://a1vbcode.com/vbforums/Topic30188.aspx

By gunapriyan - 3/15/2011

Dear Friends,



Once again i am coming with a new request.



Now i am doing one Estate Project using VB6 and MS-SQL.



Now i am facing one problem now.



I am enclosing herewith a screenshot for your kind perusal.



I need 2 things.



1. There are 4 Text boxes and 3 combo boxes...Some calculations is also there. After complete the 1st entry, if i press "Add+" Button, the values must go to Grid and text boxes must clear. Now 2nd Entry, Again i will press "Add+" button, the 2nd row values must go to Grid....Likewise, "n" no. of rows must go to grid.



2. Consider, i have enter 38 or 50 rows, Now i will press "Update" button, the grid values will store into appropriate fields in Database.



3. After successful saved, in future if need, i must edit a particular row in that grid. If i click a particular row in grid, the values will come to appropriate text boxes and combo boxes.



I need code help for the above needs. I am expecting your valueble reply soon.



Thanks & Regards,



Guna