But When I 'm trying to access "id" property getting the error "specified cast is not valid".
Id property (Int32), Datatable.Column.type is System.Decimal. (ORacle table column is NUMBER").
I've run the query through FillDataTable("Select statement") command.
public System.Int32 id
{
get
return (System.Int32)this.CurrentRow["id"];
}
set
this.CurrentRow["id"] = value;