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
Post a Comment