海滨小城

.net研究

导航

2012年5月30日 #

datagridview Default

摘要: //dataGridView1.Columns[0].Visible = false;//选择的一行 显示颜色 this.dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;this.dataGridView1.DefaultCellStyle.SelectionBackColor = Color.YellowGreen;this.dataGridView1.ColumnHeadersVisible = true; //显示列标this.dataGridView1.BackgroundColor = Col 阅读全文

posted @ 2012-05-30 15:34 海滨小城 阅读(176) 评论(0) 推荐(0) 编辑

C#中调用类中定义的共用类中的方法

摘要: using System.Data.OracleClient; DB_Conn dcon = new DB_Conn(); DataSet ds = new DataSet(); public Form2() { InitializeComponent(); //Soulation 1 //OracleConnection con = new OracleConnection(); //m_strConnection = "Data Source=LGETRKB.WORLD;" + // "Persist Security Info=false;" + 阅读全文

posted @ 2012-05-30 14:39 海滨小城 阅读(585) 评论(0) 推荐(0) 编辑