Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Variable Value

Author  Topic 

kulfi
Starting Member

33 Posts

Posted - 2011-04-04 : 05:44:26
i have this syntax and what i am getting is
Dim quer2 As String = ("SELECT * FROM [Vacation Schedule] where [Employee_ID]='" + Module1.EmpId + "' ")

"SELECT * FROM [Vacation Schedule] where [Employee_ID]='SCR4544' "

here what i want is only 'SCR4544' only how will i do that i am just new to vb.net Please help.
thanks

Ehsan

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2011-04-04 : 10:56:08
Module1.EmpId
Go to Top of Page
   

- Advertisement -