什么表格?Web Table or HtmlTable?
解决方案 »
- ADO.NET条件查询问题
- 关于Windows Service
- 关于c#接口的问题
- 正则表达式?把字符串,用其中的;(分号)分开。
- silverlight DataField Grid 中的SLTextBox自动自增编号
- 事务处理?
- 急请教!UML中实体关系图有何用?0..*与1..1代表什么意思?
- 如何判断TextBox中只能包含数字啊!
- 开发C/S结构软件,用C++好,还是C#好呀,或者其他的语言
- 如何再对dataset中的数据进行筛选?
- 一个timer正在运行,第二个timer一运行程序就突然变慢,怎样解决?
- 如果用Excel.dll导出Excel文件,在web.config里面到底该怎么配置?
是html table 由EXCEL表转化成的,我本来想转化成 web table 但不知道怎么做
textZw = textZw.Replace("\r\n","<p>");
textZw = textZw.Replace(" "," "); StreamReader sr = new StreamReader(Server.MapPath("")+@"\Infor.htm",System.Text.Encoding.GetEncoding("GB18030"));
string text = sr.ReadToEnd();
sr.Close();
text = text.Replace("标题",dReader["标题"].ToString());
text = text.Replace("正文",textZw);
StreamWriter sw = new StreamWriter(Server.MapPath("")+@"\InforTmp.htm",false,System.Text.Encoding.GetEncoding("GB18030"));
sw.Write(text);
sw.Close();
Response.Write("<script> window.open('inforTmp.htm','通知','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,width=600,height=400,left=50,top=100,fullscreen=0,channelmode=0');</script>");