Dim str As StringBuilder = New StringBuilder() Dim stringWriter As New StringWriter(str) Dim _html As HtmlTextWriter = New HtmlTextWriter(stringWriter) Dim ds As New DataSet() ds = Session("CNF_Dataset_Mail") Dim _gv As New GridView() _gv = New GridView() _gv.DataSource = Nothing _gv.DataSource = ds _gv.DataBind() _gv.RenderControl(_html)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)