>i don' t understand , only run to this ( sqlcmd.ExecuteReader ) show error, conn.Open() is no problem, mean i can connect my database. >And i check the sqlcmd is null, this status normal?
Looking at your code, I see no reason that sqlcmd should be null. Are you sure you've posted the exact same code you're having problems with?