Data table set column default value for combo box selection?

  • Thread starter Thread starter Shan1986
  • Start date Start date
S

Shan1986

Guest
Hallo ,

I have a data table with column Fxrate and this value comes from a combo box (databound) selection (ex. "EUR") . I want to fix a default value "EUR" when ever a new row is added and so that combo box is automatically selected to "EUR"

dt.Columns.Add(dtFXcr1, GetType(String))
dt.Columns(dtFXcr1).DefaultValue = "EUR"

this works but it also shows exceptions in output but it works for textbox without any problem . Why is that?

Thanks

Continue reading...
 
Back
Top