Home > Net >  To type "System. Web. UI. HtmlTextWriter" into "System. Data. DataTab"
To type "System. Web. UI. HtmlTextWriter" into "System. Data. DataTab"

Time:09-25

Aspx code:


Error: unable to type "System. Web. UI. HtmlTextWriter" into "System. The Data. The DataTable"

Bosses, please help solve

CodePudding user response:

To give an recruit, you can have a try,
This. RptList. RenderControl (hw); This method can get the HTML code, for instance, get a & lt; Table> ,
To get content, saved to a text file, the file extension ". XLS "instead, it is possible to use this file Excel directly open,
Just look and really Excel some differences, but does not affect the use,
  •  Tags:  
  • C#
  • Related