SQL datareader problem

B

BIJU

Hai,
Now I started ASP.NET Visual Web developer2008. When I stated the database
connection like
con = New SqlConnection("Data Source=BIJU;Initial
Catalog=election;Integrated Security=True")
cmd = New SqlCommand("select * from gram_mst where dist_code = 1",
con)
reader = cmd.EndExecuteReader()
I got the error message in the execute reader as "argument not spacified for
the parameter asyncResult of public function End execute reader(asyncresult
as system.IasyncResult) as system.data.sqlclient.sqldatareader". I dont know
why it is like that. Please, anybody have solution, kindly share with me and
thanks in advance

BIJU
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top