摘要:
【引言】项目中经常使用DataTable,发现有好多东西,需要整理下.protectedvoidPage_Load(objectsender,EventArgse){//①CreateaDataTableDataTabledt=newDataTable("Table_AX");//②AddcolumnsforDataTable//Method1dt.Columns.Add("column0",System.Type.GetType("System.String"));//Method2DataColumndc=newDataColum 阅读全文
摘要:
winform ComboBox控件反选:int index = comboBox1.FindString(textBox2.Text); comboBox1.SelectedIndex = index; 阅读全文