|
|
Метки
Все метки
» ASP.NET 2.0 (RSS)
-
Понадобилось мне отредерить GridView в строку, такой вот код
public static string RenderControl(Control ctrl)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
System.IO.StringWriter tw = new System.IO.StringWriter(sb);
System.Web.UI.HtmlTextWriter hw = new ...
|
|
|