N
Nedu N
Hi,
I want to display the XML tags (for the the XML tags is the data that is
stored in a table) on the datagrid using the datasets. But since the data
itself is the XML tag it doesn't appera on the datagrid since it tries to
parse the data before it displays.
Using Server.HtmlEncode, i was able to display the right content on the
datagrid for each and every colum using Template column. But i don't want to
use any template columns since i have got all the columns are having the
data as XML tags as is and i have many cloumns.
So, is there anyway i can directly achieve this while binding the datagrid
with the dataset without using Template columns for each of the coulmns?
Using Server.HtmlEncode, I was able to handle each column like
<%#
Server.HtmlEncode((string)DataBinder.Eval(Container.DataItem,"TableColumn"))
%>
I want to display the XML tags (for the the XML tags is the data that is
stored in a table) on the datagrid using the datasets. But since the data
itself is the XML tag it doesn't appera on the datagrid since it tries to
parse the data before it displays.
Using Server.HtmlEncode, i was able to display the right content on the
datagrid for each and every colum using Template column. But i don't want to
use any template columns since i have got all the columns are having the
data as XML tags as is and i have many cloumns.
So, is there anyway i can directly achieve this while binding the datagrid
with the dataset without using Template columns for each of the coulmns?
Using Server.HtmlEncode, I was able to handle each column like
<%#
Server.HtmlEncode((string)DataBinder.Eval(Container.DataItem,"TableColumn"))
%>