Populating a dynamic comboBox in a WinForm using WebServices linked to a Db
This is is the part of the code in the WinForm what i am not sure about.. private void Form1_Load(object sender, System.EventArgs e) { Dataset ds = new DataSet(); Service1 service = new Service1(); -> this is my WebService string sqlText = "exec getPriceChange"; -> calls stored pracedure comboBox1.DataSource = service.getSet(sqlText); ->connects to db comboBox1.DisplyMember ="amount_desc"; ->a var in the table called in comboBox1.ValueMember ="price_id"; stored procedure } Please help!!! Thanx