manjula d

manjula d

  • NA
  • 172
  • 140.3k

i got an error: convert DataTable

Nov 6 2013 11:32 PM
error: Unable to cast object of type 'System.Boolean' to type 'System.Data.DataTable'.
 var dataTableAssignRoles = CreateDataTable((DataTable)ViewState["UserRoleDataTable"]);
              
 ViewState["UserRoleDataTable"] = dataTableAssignRoles;

Answers (2)