Dim dt As Data.DataTable Dim sb_Business_Product_Workflow As New System.Text.StringBuilder params = New ParamCollection params.AddParam("order_detail_ID", order_detail_id) xmlticket = NewTicket.create_ticket("pr_get_order_detail_vendor_by_id", params) retval = spTicketData.getDataTable(xmlticket) dt = retval(1)
Unable to cast object of type 'System.Int32' to type 'System.Data.DataTable'. this points to dt = retval(1)
i have tried to
cint(order_detail_id) order_detail_id.tostring() putting it on asp.net page an run at server grabbing it from our logic page other things
also do you think it is because some nut job declared "order_detail_id" as "_order_detail_id" a string = "" in a sub() and now i cant over ride the thing or do you think it is something else.
PS this works fine in production just not in dev and I refuse to make large changes on the production site itself. I want to test my new code that I am placing in before it hits production.
This post has been edited by DarenR: 30 August 2013 - 01:32 PM