02 2012 档案

摘要:if not (select object_id('Tempdb..#TempTable')) is nulldrop table #TempTable 阅读全文
posted @ 2012-02-24 17:52 顿金 阅读(119) 评论(0) 推荐(0)
摘要:public class FtpState { private ManualResetEvent wait; private FtpWebRequest request; private string fileName; private Exception operationException =... 阅读全文
posted @ 2012-02-24 10:32 顿金 阅读(294) 评论(0) 推荐(0)
摘要:/// /// 读取Excel文件/// /// 本地文件绝对路径/// public DataSet ReadExcelData(string strExcelPath){OleDbConnection oledbConn = null;OleDbDataAdapter comm =null;tr... 阅读全文
posted @ 2012-02-22 16:46 顿金 阅读(224) 评论(0) 推荐(0)
摘要:/// /// 弹出消息框 /// /// public void MessageBox( string msg) { msg = msg.Replace("'", "\\'"); msg = msg.Replace("\r\n", "\\r\\n"); this.Page.ClientSc... 阅读全文
posted @ 2012-02-01 16:33 顿金 阅读(140) 评论(0) 推荐(0)
摘要:前台: " /> ...... 后台: protected void btn_BulkDel(object sender, EventArgs e) { string ret = ""; string ids = Sxmobi.Tools.GetRequestVal("del... 阅读全文
posted @ 2012-02-01 16:30 顿金 阅读(143) 评论(0) 推荐(0)