2008年4月27日

摘要: DataGrid的数据填充: SqlConnection conn=new SqlConnection("server=.;database=LibraryManagement;integrated security=true"); SqlDataAdapter sda=new SqlDataAdapter("select * from TuShu",conn); DataSet ds=new ... 阅读全文
posted @ 2008-04-27 14:02 王鹏 阅读(351) 评论(0) 推荐(0)

2008年4月26日

摘要: 添加: insert into 表名 values(); 修改: update 表名 set a=b where b=c; 删除: delete from 表名where a=b; 查询: select * from 表名 where a=b; 阅读全文
posted @ 2008-04-26 14:28 王鹏 阅读(1740) 评论(0) 推荐(0)
摘要: SqlConnection conn=new SqlConnection ("server=.;database=LibraryManagement;integrated security=true"); conn.Open(); string sql = "select * from 表名"; SqlCommand comm = new SqlComma... 阅读全文
posted @ 2008-04-26 14:25 王鹏 阅读(406) 评论(0) 推荐(0)
摘要: ArrayList的应用: ArrayList list = new ArrayList(); for (int i = 0; i 的应用: List list = new List(); for (int i = 0; i 的应用: Dictionary d1 = new... 阅读全文
posted @ 2008-04-26 14:20 王鹏 阅读(380) 评论(0) 推荐(0)
摘要: 创建接口: public interface IjieKou { void Show(); } 实现接口: public class chuan { public void Chuan(IjieKou I1) { ... 阅读全文
posted @ 2008-04-26 14:00 王鹏 阅读(347) 评论(1) 推荐(0)
摘要: winver---------检查windows版本 wmimgmt.msc----打开windows管理体系结构(wmi) wupdmgr--------windows更新程序 w脚本--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 winchat-------... 阅读全文
posted @ 2008-04-26 13:49 王鹏 阅读(164) 评论(0) 推荐(0)

导航