Question Datagridview and textboxes

stresss

Member
Joined
Aug 11, 2008
Messages
21
Programming Experience
Beginner
Hi all!

Okay, firstly, I have this form with 2 panels, 1 panel will display the top message and the other panel display the bottom message. There is 2 textboxes in each panel which consists of the MsgID and Message Text. At the bottom of the form, I have a table binded to the datagridview, with fields MsgID,Message and Type ( Single or Dual ). At the top of the form, I have 2 radio buttons, namely Single and Dual.

What I have to do is to select a row in the datagridview, if the type is single, it will display the MsgID and Message in the top panel. If the type is dual, it will display the MsgID and Message in the bottom panel.

Any idea on how do I do this? :). Thank you in advance.
 
Last edited:
Back
Top