Accessing ORACLE with SQL SERVER generated Business Object (Problem)


Author
Message
Ertan Deniz
Ertan Deniz
StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)
Group: Forum Members
Posts: 163, Visits: 493
Business Object was filled from ORACLE. (Table)

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;

}

}

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ertan Deniz - 16 Years Ago
Dustin Taylor - 16 Years Ago
Ertan Deniz - 16 Years Ago
Greg McGuffey - 16 Years Ago
StrataFrame Team - 16 Years Ago
Ertan Deniz - 16 Years Ago
Ertan Deniz - 16 Years Ago
Ertan Deniz - 16 Years Ago
Dustin Taylor - 16 Years Ago
Ertan Deniz - 16 Years Ago
David Daragon - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Ertan Deniz - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Ertan Deniz - 16 Years Ago
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search