M
Marc Robitaille
Hello,
I have DataGrid that I filled using a DataSet.
DataGrid1.DataSource = ds
DataGrid1.DataBind()
In this grid, I have a column of the Text type. When I insert the data, I
can have value that look like this in a multiline textbox:
1
2
3
4
But when the grid is filled with the DataSet, the grid contains:
1 2 3 4
I checked the value of my column in my row of my table right before the
assignment of the DataSource property of my grid and the information is
good. But once in the grid, it removes all the return character from the
string.
How to make so that the grid respects the formatting of my text?
thank you
I have DataGrid that I filled using a DataSet.
DataGrid1.DataSource = ds
DataGrid1.DataBind()
In this grid, I have a column of the Text type. When I insert the data, I
can have value that look like this in a multiline textbox:
1
2
3
4
But when the grid is filled with the DataSet, the grid contains:
1 2 3 4
I checked the value of my column in my row of my table right before the
assignment of the DataSource property of my grid and the information is
good. But once in the grid, it removes all the return character from the
string.
How to make so that the grid respects the formatting of my text?
thank you