A
André Almeida Maldonado
Hy all...
I'm trying to get the selectedvalue of a dropdownlist that is in a datagrid
edititem...
But, in this line:
Dim drpPediGrPr As System.Web.UI.webcontrols.DropDownList =
CType(e.Item.Cells(1).Controls(0), System.Web.UI.webcontrols.DropDownList)
I receive this error:
Specified conversion is not valid.
Why??
I'm trying to get the selectedvalue of a dropdownlist that is in a datagrid
edititem...
But, in this line:
Dim drpPediGrPr As System.Web.UI.webcontrols.DropDownList =
CType(e.Item.Cells(1).Controls(0), System.Web.UI.webcontrols.DropDownList)
I receive this error:
Specified conversion is not valid.
Why??