hai
i had problem with adding items to listbox...
i succeed that with the help of datasource
but i am not able to modify items in listbox..
here are my codes
cmd3=new OleDbCommand("S elect Address From Tbl_Address where SI_No not like ("+textBox1.Tex t+")",con);
ad1=new OleDbDataAdapte r(cmd3);
DataSet ds1=new DataSet();
ad1.Fill(ds1,"T bl_Address");
DataView dv1=ds1.Tables["Tbl_Addres s"].DefaultView;
listBox1.DataSo urce = dv1;
listBox1.Displa yMember = "Address";
help me soon
i had problem with adding items to listbox...
i succeed that with the help of datasource
but i am not able to modify items in listbox..
here are my codes
cmd3=new OleDbCommand("S elect Address From Tbl_Address where SI_No not like ("+textBox1.Tex t+")",con);
ad1=new OleDbDataAdapte r(cmd3);
DataSet ds1=new DataSet();
ad1.Fill(ds1,"T bl_Address");
DataView dv1=ds1.Tables["Tbl_Addres s"].DefaultView;
listBox1.DataSo urce = dv1;
listBox1.Displa yMember = "Address";
help me soon
Comment