comboBox1 and listbox
又有问题了,我想实现这样的效果,在comboBox1里选择一条Customers.CustomersId的记录在下面的里listBox里显示Orders 里的 OrderDate ,ShippedDate ,ShipAddress字段
怎么处理
str3 = comboBox1.SelectedItem.ToString();
str2 = "select OrderDate ,ShippedDate ,ShipAddress from Orders where Orders.CustomerID=str3"
da = new SqlDataAdapter(str2, "server=LocalHost;integrated security=sspi;database=NorthWind");
Orders.CustomerID=str3这里怎么传str3值啊,