Lets say my datatable retrieves column with value “SAGAR – SAGAR”
DataTable dtOutput;
dtOutput = Generix.getATMDetails(sATM);//Retrieves data
I can convert my datatable to HTML Table for display in HTML Page.
How can i convert one of its Column into multi line format while displaying it in HTML Page
E.g: dtOutput (data)
Comments (Column Header)
SAGAR - SAGAR - SAGAR
now while displaying it in HTML page it should be like this
SAGAR
SAGAR
SAGAR
You can get a new line by adding
</ br>. There are several ways to do this.select queryusingREPLACE(comments, ' - ' , '</ br>')(if you are in sql server)
datatableduring the
data bindingas follows