![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASP.NET
文章平均质量分 74
LoveJava520
这个作者很懒,什么都没留下…
展开
-
DataTable 的数据写入到 Excel中
using System;<br />using System.Data;<br />using System.Windows.Forms;// 添加引用->Com->Microsoft Excel 12.0 Ojbect Library<br />using Excel = Microsoft.Office.Interop.Excel;<br />using System.Reflection;<br />namespace Test<br />{<br /> public partial clas转载 2010-10-20 22:57:00 · 1098 阅读 · 0 评论 -
Enum转换成DataTable
<br />public static DataTable GetStatus(Type type) { <br /> DataTable dt = new DataTable(); <br /> dt.Columns.Add("Value"); <br /> dt.Columns.Add("Key"); <br /> foreach (string str in Enum.GetNames(type)) { <br />原创 2010-10-20 23:04:00 · 840 阅读 · 0 评论 -
asp.net 防止重复提交
<br />OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False"<br />在按钮属性中加入这段代码转载 2010-10-20 23:09:00 · 528 阅读 · 0 评论 -
chart
<br />using System;<br />using System.Collections;<br />using System.Configuration;<br />using System.Data;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br /原创 2011-04-07 11:37:00 · 922 阅读 · 0 评论 -
Chart FX1.0
<br />using System;<br />using System.Collections;<br />using System.Configuration;<br />using System.Data;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br /原创 2011-04-11 09:25:00 · 1293 阅读 · 0 评论