问题描述
我的Windows窗体(form1)有文本框控件(textbox1),组合框控件(combobox1),它们都包含项目(table1 - table2 - table3)和sql数据库名称(database1),它有一个表格(table1 - table2 - table3)哪些是相同的,每个都包含列(itemcode - itemname - itemprice)
i想要根据表名显示列的最后一行(itemcode)我将从中选择combobox1
怎么做代码和控件的哪个事件请
my windows form (form1) has textbox control (textbox1) , combobox control (combobox1) which all contain items (table1 - table2 - table3) and the sql database name (database1) and it has a tables (table1 - table2 - table3)which are identical each contains columns (itemcode - itemname - itemprice)
i want to show the last row of column(itemcode) according to table name i will choose from combobox1
how to do that in code and in which event of the controls please
这篇关于选择表格中列的最后一行并显示在文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!