Special character not displaying in Gridview

Posted by Arun.Padmanaban under ASP.NET on 7/29/2012 | Points: 10 | Views : 5408 | Status : [Member] | Replies : 0
HI All,
I Have a special Character (testing<s) in a column in database.When i bind the data to grid view the data is showing (testing) instead of (testing<s). I need to display the whole character(testing<s) in gridview.Please help out of this problem.


Here is the code:
if (!IsPostBack)
{
//gets the data from Datalayer and bind to datatable.
this.dtdataTable = this.GBUlist.GBUData();

//assign the datatable value to gridview datasaource
gvaddstand.DataSource = this.dtdataTable;

//Bining the data to gridview.
gvaddstand.DataBind();
}




Responses

(No response found.)

Login to post response