My code :
DataTable dt = new DataTable();
dt.Columns.Add("#", typeof(string));
dt.Columns.Add("Date", typeof(string));
dt.Columns.Add("OrderID", typeof(string));
dt.Columns.Add("info", typeof(string));
for (int i = 1; i <= 10; i++)
{
dt.Rows.Add(i,"date","OrderID","info")
}
I want to fix width of cell in every Rows of Gridview and when my text is full of width my text will be wrap newline. thank you.
for adding new line * i already use HtmlEncode="False" – KPTH Jan 03 '17 at 11:08