DataGrid & DataBind command

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Reed

    DataGrid & DataBind command

    I have a data grid and when the user clicks Edit link in
    row one of the data columns should change to a drop down
    list. Instead I keep getting an error..."Specif ied cast
    is not valid.".

    I'm not doing any CASTing myself, but I think its getting
    done automatically. The data in the datasource contains
    System.Decimal fields. I'm not sure whether that is
    being automatically CASTed to a string or not.

    Does the Databind() actually convert ALL datatypes to
    string or is that something I am supposed to do?

    Any additional info on DropDown Lists in the Datagrid
    would be helpful as I'm not finding anything online about
    it.

    THANKS

    Jeff
Working...