上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 118 下一页
摘要: 解决方案一、参考、;http://blog.163.com/zhug_1970/blog/static/42983053201057525519/1.先Clone你的DataTableDataTablertnTbl=aDt.Clone();2.复制数据//复制foreach(DataRowrinaDt){object[]arr=r.ItemArray;rtnTbl.Rows.Add(arr);}3.加到新的DataSet一个DataTable只能属于一个DataSet解决方法二、参考:http://blog.csdn.net/lidaasky/article/details/7196500对需 阅读全文
posted @ 2012-07-27 14:35 跟着阿笨一起玩.NET 阅读(5839) 评论(0) 推荐(0) 编辑
摘要: Null是.net中无效的对象引用。DBNull是一个类。DBNull.Value是它唯一的实例。它指数据库中数据为空(<NULL>)时,在.net中的值。以下是我测试的一个例子。例:表tbl_Studentidnameaddress1jim<NULL>将上述表数据填充到.net的名为dt的DataTable中。dt.Rows[0]["address"]不等于null但是等于DBNull.Value.可见null表示一个对象的指向无效,即该对象为空对象。DBNull.Value表示一个对象在数据库中的值为空,或者说未初始化,DBNull.Value对 阅读全文
posted @ 2012-07-24 16:13 跟着阿笨一起玩.NET 阅读(497) 评论(0) 推荐(0) 编辑
摘要: Asp.NET:http://www.actiprosoftware.com/products/controls/aspnet (官方地址)Winfrom:http://www.cnblogs.com/jailu/archive/2006/08/25/485828.html http://www.codefans.net/soft/18357.shtml http://www.codefans.net/soft/17359.shtml 第三方:ICSharpCode.TextEditor.dll 阅读全文
posted @ 2012-07-16 22:15 跟着阿笨一起玩.NET 阅读(489) 评论(1) 推荐(0) 编辑
摘要: (1)、SqlDbx 官方地址:http://www.sqldbx.com/personal_edition.htm 中文破解版:http://down.liangchan.net/SqlDbx3.4.6.rar而且支持多查询标签。(2)、Navicat_Premium_V9.1.... 阅读全文
posted @ 2012-07-14 23:07 跟着阿笨一起玩.NET 阅读(2571) 评论(1) 推荐(0) 编辑
摘要: 个人分享地址:可以参考的:http://www.oschina.net/code/snippet_4946_748 http://www.oschina.net/code/snippet_172400_8847using System;using System.Data;using System.D... 阅读全文
posted @ 2012-07-10 16:48 跟着阿笨一起玩.NET 阅读(3515) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Drawing;usingSystem.Windows.Forms;namespaceSPD.ERP.Common{publicclassWriteLog{publicdelegatevoidLogAppendDelegate(Colorcolor,stringtext);RichTextBoxrichTextBoxRemote;///<summary>///构造函数传入RichTextBox控件的实例。///</summary&g 阅读全文
posted @ 2012-07-08 23:10 跟着阿笨一起玩.NET 阅读(2633) 评论(0) 推荐(0) 编辑
摘要: 大体都是用两次单击的时间差来判断一下是否是双击。SystemInformation.DoubleClickTime默认是500第一种方式:可以参考http://blog.csdn.net/zbssoft/article/details/5602658DateTimelastDownTime=DateTime.Now;privatevoidcomboBox1_MouseDown(objectsender,MouseEventArgse){TimeSpansp=DateTime.Now-lastDownTime;if(sp.Milliseconds<=SystemInformation.Do 阅读全文
posted @ 2012-07-02 16:33 跟着阿笨一起玩.NET 阅读(393) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-29 00:18 跟着阿笨一起玩.NET 阅读(1744) 评论(1) 推荐(1) 编辑
摘要: 强力推荐的网站:http://www.myfirm.cn/News/dotNetGUIAPI/本文转载:http://www.myfirm.cn/News/dotNetUserInterface/20080216063648402.html写在前面: .Net已经成为许多软件公司的选择,而.Net自定义WinForm界面控件,也成为编程的热点,越来越多的程序员会开发自己需要的自定义界面控件.小作坊网介绍了多种自定义的界面控件,基本了包括了日常所需的各种基本控件,介绍的自定义控件,都对原有的界面控件作了扩展,使之更适用了系统或更美观. 下面作一个小结:.Net自定义控件之WinForm的经典Ou 阅读全文
posted @ 2012-06-27 16:46 跟着阿笨一起玩.NET 阅读(2102) 评论(1) 推荐(0) 编辑
摘要: 一、winformTreeView控件的实现方式。///<summary>///HandlestheMouseMoveeventofthetreeView1control.///</summary>///<paramname="sender">Thesourceoftheevent.</param>///<paramname="e">The<seecref="System.Windows.Forms.MouseEventArgs"/>instancecontain 阅读全文
posted @ 2012-06-26 17:57 跟着阿笨一起玩.NET 阅读(2859) 评论(0) 推荐(0) 编辑
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 118 下一页