how to login in asp.net using login tool what is code behind button
pl. tell me how to login in asp.net using login tool and what is code behind button. i am using sql database. database name is user_detail.
fields uname and pwd.
i use sql query
"select pwd from user_detail where uname = '" Login1.UserName "'"
but it not works
pl. reply me as early as possible