摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 /// 2 /// 选择前三十条 3 /// 4 /// 要绑定的DataGrid控件名 5 ...
阅读全文
随笔分类 - .Net
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 public void Bind(DataGrid dataGridName, string t, string submit, string create, string...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 /// 2 /// 生成行业排名前台页面用的DataTable 3 /// 4 /// 如果是"1"就是全部行业的...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 /// 2 /// 替换模板中的文字的方法 3 /// 4 /// 要替换为的内容 5 /// ...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 private string ToRead(System.Web.UI.Control ctl) 2 { 3 // HttpContext.Curren...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 //从网页中读取结果数,返回搜索结果数 2 public string ReturnCount(stringkeyword,stringinfoclass) 3 { 4 tr...
阅读全文
摘要:AJAX在去年已经接触过,但都是使用手动的方法编写客户端代码,再加上被请求的页面,感觉非常累,虽然早听说过AJAX.NET和其他一些第3方开发的框架,却一直没有时间来体验。今天干完手上的活,下了个最新版本的AJAX.NET体验了下 我使用的还是VS2003,下载了个最新版本的AJAX.NET 6.4.5.1,下载地址:www.schwarz-interactive.de 下面说说使用方法: ...
阅读全文
摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 in...
阅读全文
摘要:看了许多人的文章,将Ado.net 与NHibernate看作类似的东西,频繁将两者进行比较。对于那些朋友的观点,我不认同! 我认为ado.net 和 nhibernate是完全不同层次的东西。 他们之间的关系有点类似于:封装了Win32 API调用的拖管对像与该Win32 API本身的关系。 我本人对NHibernate没有研究。只是听同事讨论过,对于NH...
阅读全文

浙公网安备 33010602011771号