文章分类 -  Asp.Net

ASP.NET 常用函数
摘要:Abs(number) 取得数值的绝对值。 Asc(String) 取得字符串表达式的第一个字符ASCII 码。 Atn(number) 取得一个角度的反正切值。 CallByName (object, procname, usecalltype,[args()]) 执行一个对象的方法、设定或传回对象的属性。 CBool(expression) 转换表达式为Boolean 型态。 CByte(... 阅读全文
posted @ 2006-06-26 11:07 时之最果 阅读(90) 评论(0) 推荐(0)
c#.net常用函数和方法集
摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 ... 阅读全文
posted @ 2006-06-26 11:06 时之最果 阅读(82) 评论(0) 推荐(0)
生成静态页面的五种方案
摘要:方案1: public static bool WriteFile(string strText,string strContent,string strAuthor) { string path = HttpContext.Current.Server.MapPath("/news/"); Encoding code = Encoding.GetEncoding("gb231... 阅读全文
posted @ 2006-06-21 13:55 时之最果 阅读(119) 评论(0) 推荐(0)
datalist或datagrid的数据源是数组的时候怎么写绑定?
摘要:数据源是数组的时候怎么写绑定 阅读全文
posted @ 2006-06-16 09:38 时之最果 阅读(126) 评论(0) 推荐(0)