i have an error in data reader

Dec 30 2010 8:26 AM

hai
i want to retrieve a content from an sql database using data reader but an error occurs like this
rdr = cmd.ExecuteReader();  //int this line
Incorrect syntax near '='.
 
THANK U,

Answers (3)