Rowdyone52
asked on
DataGridView Data
I would like to have a datagrid in which I can enter
this is text (newline)
this is more text
How do I enter a newline in a DataGridView Cell??
Also I would like to add label controls to a cell how can I do that?
this is text (newline)
this is more text
How do I enter a newline in a DataGridView Cell??
Also I would like to add label controls to a cell how can I do that?
ASKER
How do I shift enter when I do it by coding, rather than manually entering it?
Datagrid1.rows[0].cells[0] .value = ?
Datagrid1.rows[0].cells[0]
ASKER
Can you give me an example to binding the control?
I only see how to bind it to datagridview1.control.add( ), but I need to do it on the cell level.
I only see how to bind it to datagridview1.control.add(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Adding static label controls can be easily done by just putting <TD> in the datagrid; adding dynaminc (bound) label controls can be also easily done by binding the desired field to the DataGrid.