Dear All,
I am using
VB .NET 2003, I would like to store the fetched value in "SELECT " command. Please refer the following code.
dim sqlconn as sqlconnection = "............."
dim sql as string = nothing
sql = "SELECT itemname FROM ItemMaster where itemname='Book'"
cmd = new sqlcommand(sql,sqlconn)
sqlconn.open()
...
....
...
In the above code, it fetches the value but how to take that value into another variable. Please give me a complete code list so that I can try from my end here.
Expecting your reply.
venki.
VENKATESH