asp net get innerhtml of div

Solutions on MaxInterview for asp net get innerhtml of div by the best coders in the world

showing results for - "asp net get innerhtml of div"
Dale
26 Jan 2019
1var sb = new StringBuilder();
2mainDiv.RenderControl(new HtmlTextWriter(new StringWriter(sb)));
3
4string s = sb.ToString();
5