摘要: fileupload控件在ajax的UpdatePanel中是没有办法运行的,下面的代码:if (this.FileUpload1.HasFile)总是false、于是google:错误代码:前台:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> &am 阅读全文
posted @ 2010-06-07 00:46 qiang.xu 阅读(3693) 评论(0) 推荐(0) 编辑
摘要: if(ds == null)//ds为空if(ds.Tables.Count == 0)//ds中没有表if(ds.Tables.Count == 1 && ds.Tables[0].Rows.Count == 0)//ds中的表没有数据 阅读全文
posted @ 2010-06-07 00:03 qiang.xu 阅读(1381) 评论(0) 推荐(0) 编辑