B
Billy Jacobs
I posted this before but the person who answered it
obviously completely misunderstood what I was talking
about.
I have a datagrid which is bound to a dataset table that
I generate programatically. In one of the fields in the
datasets' table, I am creating a string which has newline
characters like the following.
sb.append(dr.StartTime)
sb.append("-")
sb.append(dr.EndTime)
sb.append(vbnewline)
sb.append(dr.Activity)
newDR.Itinerary = sb.tostring
ds.WeeklyReport.Rows.Add(newDR)
Unfortunately when the datagrid is displayed in I.E. the
newline characters are ignored.
Instead of showing:
7:00 AM - 10:00 AM
My Activity Text
I get:
7:00 AM - 10:00 AM My Activity
Text
or somehting similar.
I have also tried chr(13) instead of vbnewline.
Is there anyway to force a newline in the cell of a
datagrid?
Billy Jacobs
obviously completely misunderstood what I was talking
about.
I have a datagrid which is bound to a dataset table that
I generate programatically. In one of the fields in the
datasets' table, I am creating a string which has newline
characters like the following.
sb.append(dr.StartTime)
sb.append("-")
sb.append(dr.EndTime)
sb.append(vbnewline)
sb.append(dr.Activity)
newDR.Itinerary = sb.tostring
ds.WeeklyReport.Rows.Add(newDR)
Unfortunately when the datagrid is displayed in I.E. the
newline characters are ignored.
Instead of showing:
7:00 AM - 10:00 AM
My Activity Text
I get:
7:00 AM - 10:00 AM My Activity
Text
or somehting similar.
I have also tried chr(13) instead of vbnewline.
Is there anyway to force a newline in the cell of a
datagrid?
Billy Jacobs