摘要: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts... 阅读全文
posted @ 2008-11-20 13:52 一只鱼先生 阅读(839) 评论(0) 推荐(0)
摘要: /// /// 获得随机文件名 /// /// /// public static string GetRandomFileName(string filename) { string[] files = filename.Split('.'); string exfilename = "." + files.... 阅读全文
posted @ 2008-11-20 13:48 一只鱼先生 阅读(208) 评论(1) 推荐(1)
摘要: /// /// 绑定单位级别 /// /// public static void Bind_unitGrade(DropDownList drp) { string sql = "select unitGradecode,unitGradename from dic_unitGrade"; DataTable dt =... 阅读全文
posted @ 2008-11-20 13:46 一只鱼先生 阅读(147) 评论(0) 推荐(0)
摘要: string fullpathname = string.Empty; if (FileUpload1.PostedFile.ContentLength > 0) fullpathname = FileUpload1.PostedFile.FileName; string conn = "Provider = Microsoft.Jet.O... 阅读全文
posted @ 2008-11-20 11:53 一只鱼先生 阅读(207) 评论(0) 推荐(0)