forum

Home / DeveloperSection / Forums / Visual Basic fetching data from mysql table

Visual Basic fetching data from mysql table

Anonymous User 2098 11-Jun-2013
Hi Developers, 

During Fetching data from the table i get following line of error

"Invalid object name 'h'"
 
My line of code as following

 Dim h As Decimal

'some code

 cmd2 = New SqlCommand("insert into h select KvotaX from dbo.Utakmice where ID=@s1 ", conn)
 cmd2.Parameters.AddWithValue("@s1", myReader.GetInt32(1))

'some code

 f = cmd2.ExecuteNonQuery()

I don't know what I'm doing wrong. KvotaX from dbo.Utakmice data type is real.

Thanks in advance. 


Updated on 12-Jun-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By