摘要: Introductionto.NETcracking看附件,刚开始的,有什么好的想法请留言/Files/lshvs2005/IntroductiontoNETcracking.pdf 阅读全文
posted @ 2008-11-19 15:03 信息化建设 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 地址如下:http://www.codeproject.com/KB/aspnet/aspnetemailusinggmail.aspxpublic static void sendMail(string to, string from, string subject, string body,string username, string password){ ///Smtp config S... 阅读全文
posted @ 2008-11-11 08:37 信息化建设 阅读(538) 评论(0) 推荐(0) 编辑
摘要: you know, english is very import for us. I just want to write something, but it is too hard for me, so first , i will always copy other's article sharing with you.I'm sending you these smiles to brigh... 阅读全文
posted @ 2008-11-03 19:59 信息化建设 阅读(436) 评论(2) 推荐(0) 编辑
摘要: 部署含有ReportView的控件的ASPX页面时有错误,怎么也搞不好把Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer下面的ReportViewer.exe 重新安装也不行,无奈何,用最土的办法,把上面的DLL找到放在BIN目录下面。 其实,我在GAC中看到了上面三个程序集,版本也正确,但是就是不能运行,重... 阅读全文
posted @ 2008-11-03 19:55 信息化建设 阅读(6553) 评论(1) 推荐(0) 编辑
摘要: 不是很好,但是可以用。用于效验用户输入的数据,给出适当的提示。如整数,日期时间如果用户输入错误,均需要提示用户。aspx网页中<table cellspacing="0" cellpadding="0" width="100%" border="0" height="10" bgcolor="#FFFFFF"> <tr> <td style="height: 10px... 阅读全文
posted @ 2008-10-27 20:21 信息化建设 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 想了好久,以前也用过,但是时间一长就忘记了。 看下面的语句: public static void MessageBoxShowThenRedirect(Page page,string messge, string url) { page.Response.Write("<script language=javascript>alert('"+messge+"');top.locat... 阅读全文
posted @ 2008-10-27 20:14 信息化建设 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: 老规矩,直接分析代码首先是,建立一个表,字段类型是image通常情况下,你会发现没有办法存image ,因为长度是50,不能改。而一个image通常是1000多个image数据类型的长度是16,我存入一张图的时候图最多就只能30K左右,大点的图根本就不能存。我想改它的长度,但是不能改的。跑一下下面的语句: sp_tableoption N'MyTable', 'text in row', ... 阅读全文
posted @ 2008-10-27 20:12 信息化建设 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 作用: 可以用来定时发送邮件,定时发送窗口提示。 能不能人工参与的事都可以用这个 Ajax的Timer 需要 在网页中才有效果,因为它是用setTimeout()实现的。 System.Timers.Timer timer; void Application_Start(object sender, EventArgs e) { long ... 阅读全文
posted @ 2008-10-23 19:05 信息化建设 阅读(921) 评论(5) 推荐(0) 编辑
摘要: 1. 为Web.config 改成下面的样式。 ... 阅读全文
posted @ 2008-10-23 18:48 信息化建设 阅读(889) 评论(0) 推荐(0) 编辑
摘要: 1. 添别AspNetPager.dll的引用。 2. 放到Html表格中 3. 后台代码 grid是要分页的GridView 或DataGrid 的控件ID protected void Page_Load(object sender, EventArgs e) { if ... 阅读全文
posted @ 2008-10-23 18:40 信息化建设 阅读(413) 评论(0) 推荐(0) 编辑