bhart_sharkman Posted February 24, 2004 Posted February 24, 2004 i would like to know how to determine if a textbox is binded in a data and how to remove it. hope some one can help me! thanks in advance!!!!!!!!!!! Quote
Mormudon Posted February 27, 2004 Posted February 27, 2004 Good question!!! I would like to know how to bind combo box to Dataset, for example: On form is textbox's and comdodox, textbox binding with dataset but how can i add combobox(value) in dataset or adapter to update data or insert. Quote
georgepatotk Posted March 3, 2004 Posted March 3, 2004 you want to set the value of the combo box from a databases table and want to make use of the data in the combo box in other function?? if it is, try this 'to bind the data to combobox ds.Clear() da.Fill(ds) cmb.DataSource = ds.tbl cmb.DisplayMember = ds.tbl.Column.ToString cmb.ValueMember = ds.tbl.Column.ToString 'To read the value of the combobox messagebox.show(cmb.SelectedValue) Quote George C.K. Low
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.