0

How can i use vb.net to add data from textbox for signup form to a gridview of another form. Please help me......

I am doing a course registration where a student registers there credentials and after pressing enter....the records go to form2 where the lecturer confirms the records and they are then added to the db.

2nd Nov 2017, 7:07 PM
MBATENDA EVELYN
MBATENDA EVELYN - avatar
1 Odpowiedź
+ 1
several possibilities. from the question, I understand that it is a Windows forms application? if so: upon clicking ok on the first form, you can pass the values of the textbox to the second form as property, and upon showing the form, fill the textbox (or label...) with the property. you might also fill the textboxes from the second form directly (less elegant). question is why you need two forms, if they are on the same pc. seems more like it should be a kind of client-server application, where the user submits, it's gets added to the database (with a column 'approved by teacher' set to false. then the teacher's app (different app, or maybe another form, after logging in or something like that) refreshes on a regular basis, and he sees the unapproved user, giving him the chance to approve.
2nd Nov 2017, 7:26 PM
ReneDaanen