将Asp.net 控件的呈现html获取,在不少场合会用到,比如生成静态页时 
以下代码选自 Asp.net 2.0 高级编程

 

sw.ToString();
       write.Close();
      sw.Close();
      return str;
Asp.net 2.0 中获取控件输出的Html代码}

相关文章:

  • 2021-09-16
  • 2021-09-19
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-01-02
猜你喜欢
  • 2021-09-18
  • 2021-09-13
  • 2021-09-08
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-02-24
相关资源
相似解决方案