上一页 1 ··· 271 272 273 274 275 276 277 278 279 ··· 324 下一页
摘要: 美元金额正则表达式 Currency: ^\$?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$ C# codes: float num;bool isValid = float.TryParse(str,Numbe... 阅读全文
posted @ 2009-08-12 18:15 emanlee 阅读(531) 评论(0) 推荐(0) 编辑
摘要: ================= The source of the report definition has not been specified 原因缺少:ReportViewer1.LocalReport.ReportPath = reportPath ================= 动态装载Report(RDLC文件) An error has occurred beca... 阅读全文
posted @ 2009-08-12 13:54 emanlee 阅读(5358) 评论(0) 推荐(0) 编辑
摘要: 显示动态时间 10:14:36 Today it is Sunday 将当前日期转换成字符串 Sun, 9 Aug 2009 02:11:38 UTC <html> <head> <script type="text/javascript"> function startTime() { var today=new Date() var ... 阅读全文
posted @ 2009-08-09 10:17 emanlee 阅读(816) 评论(0) 推荐(0) 编辑
摘要: 最近做一个东西用到DetailsView,所以看了一下资料,用了一下,以前也没用过这个控件,不过与GridView结合起来使用还不错的,因为GridView自带了增、删、改功能,但没有增加,DetailsView的结合就很好的粥补了这一缺点,也可以使GridView中查看单条数据记录的详细信息变是更加方便。 HTML中的代码: <%@ Page Language="C#&quo... 阅读全文
posted @ 2009-08-08 21:17 emanlee 阅读(817) 评论(0) 推荐(0) 编辑
摘要: asp.net2.0用登陆控件进行用户户登录的时候经常会出现: 回发或回调参数无效。在配置中使用 <pages enableEventValidation="true"/> 或在页面中使用 <%@ Page EnableEventValidation="true" %> 启用了事件验证。出于安全目的,此功能验证回发或回调事件的参数是否... 阅读全文
posted @ 2009-08-08 21:14 emanlee 阅读(949) 评论(0) 推荐(0) 编辑
摘要: The data source does not support server-side data paging. (GridView, Databind())   Data Reader is forward only You cannot use datareader with Paging controls for better performance fecth the r... 阅读全文
posted @ 2009-08-08 21:14 emanlee 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 方法一(已测试): 首先将按钮那一列转化为模版,然后在其属性里加入下面的js语句,就能弹出一个确认窗口。 <ItemTemplate>          <asp:LinkButton ID="LinkButton1" runat="server" Cause... 阅读全文
posted @ 2009-08-08 18:46 emanlee 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 拖动一个ScriptMange,就出现了“Microsoft JScript runtime error: 'Sys' is undefined”的错误,Google了一把,发现原来有朋友也遇到了类似的错误,把方法贴一下, ajax.net1.0正式版 在 web.config-->system.web配置节添加 <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" 阅读全文
posted @ 2009-08-06 19:50 emanlee 阅读(554) 评论(0) 推荐(0) 编辑
摘要: UpdateProgress always seems to render the contents of <ProgressTemplate> on a new line (block). Any simple way to have that render inline where it is placed?============Best soultion I could come up with was to use the following code:<p><span class="progress"> <atlas:U 阅读全文
posted @ 2009-08-06 19:35 emanlee 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 经过我们试验,把data.mdb文件改名为data.asp文件后放在wwwroot目录里。然后在IE中输入data.asp路径后,发现IE显示一片空白,右键->察看源文件,跳出记事本,将内容另存为.mdb文件,用ACCESS打开,发现需要密码,也就是说至少文件头被破坏。 然后用Flashget试验下载data.asp文件,并另存为data.mdb文件,发现用ACCESS打开完好无损!看来,好... 阅读全文
posted @ 2009-08-05 12:41 emanlee 阅读(466) 评论(0) 推荐(0) 编辑
上一页 1 ··· 271 272 273 274 275 276 277 278 279 ··· 324 下一页