Link to home
Start Free TrialLog in
Avatar of b001
b001Flag for Afghanistan

asked on

Localdatabase table problem

Hi Experts
Since I re installed  Visual Studio 2013 Pro completely , I am having problem with any table that was created after re install. I can use that table in reportviewer but when I try to fill a datatable

    Dim daTempInvoice As New SqlDataAdapter(" select *   FROM TempInvoice  ", conexp)

        daTempInvoice.Fill(dSTempInvoice, "TempInvoice")
        dtTempInvoice = dSTempInvoice.Tables("TempInvoice")

I have this message

An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll

Additional information: Invalid object name 'TempInvoice'.
Screenshot-2014-11-27-08.21.05.png
ASKER CERTIFIED SOLUTION
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial