摘要:一、遍历窗体控件二、遍历Asp.net页面包含母板页三、清除控件内容
阅读全文
posted @ 2010-12-15 11:14
|
|||
随笔分类 - WinForm
摘要:一、遍历窗体控件二、遍历Asp.net页面包含母板页三、清除控件内容
阅读全文
posted @ 2010-12-15 11:14
摘要://声明枚举 public enum DefaultRoleType { Admin = 0, Edu = 1 } //遍历枚举 foreach (DefaultRoleType m_type in Enum.GetValues(typeof(DefaultRoleType))) { Console.WriteLine(m_type.ToString() )...
阅读全文
posted @ 2010-12-15 10:44
摘要://方法一:参数化查询。缺点:增大数据库的压力 string ConnectionString="";//数据库连接字串 string CustomerID = string.Empty; string CompanyName =string.Empty; string Address =string...
阅读全文
posted @ 2010-12-08 11:36
摘要:首先新建一个Windows应用程序,将主窗体重命名为MainForm,在MainForm中加入一个DataGridView控件,命名为dgv_User代码大家有什么更好的方法请留言。。谢谢、、。
阅读全文
posted @ 2010-12-05 21:01
|
|||