How to get Value from One textbox to another instantly on a single form c# -


i have 4 textboxes on form in windows form. named: id, session, class, section. need generate id in id_txtbox instantly session, class , sections inserted , save db. id contain (session+class+section).

problem how can data on single form these 3 txtboxes (session, class, section) , special id without clicking button ?

use textbox.textchanged event , validate if input matches requirements. if so, save database. it's possible attach textboxes same event way.

i'm assuming need generate id yourself, if can use guid class this.


Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -