Click to See Complete Forum and Search --> : From DataGrid To other windows forms


quiete00
June 11th, 2003, 02:47 PM
Hopefully, this is possible. I want to be able to display info from more than one column in a single form (i.e. richtextbox), instead of separately binding each one to a unique column.

For example:

Table: Customer

Name | Products | Age
---------------------------------------------------
Eric | Shoes | 21
Sam | Hat | 52


I want to be able to display something like this in a richtextbox when a user clicks on a certain record:

RichtextBox1
------------------------------
Name: Eric
Products: Shoes
Age: 21
-----------------------------
__________________________________________________

instead of

RichTextBox1
--------------------------
Eric
-------------------------

RichTextBox2
-------------------------
Products: Shoes
-------------------------

RichTextBox3
------------------------
Age: 21
------------------------


Any help would be greatly appreciated.
Thanks