摘要: 1.利用SqlDataAdapter对象向DataGridView中添加数据 using (SqlDataAdapter da = new SqlDataAdapter("select * from Product", DBService.Conn)) { DataSet ds = new Data 阅读全文
posted @ 2022-11-13 11:25 老猫47 阅读(342) 评论(0) 推荐(0)
摘要: 在 Console 项目里面,引用 System.Windows.Forms 来实现窗体。 namespace My { class Program { static void Main(string[] args) { Form form = new Form(); form.ShowDialog 阅读全文
posted @ 2022-02-05 13:45 老猫47 阅读(40) 评论(0) 推荐(0)