Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Deepali Patil
2k
142
52.8k
Hi, Please help me resolve this error.
Jan 15 2013 12:54 AM
Error is : {"Could not find stored procedure 'EmpLogin'."}
MyCode is :
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Connection"].ToString());
con.Open();
query = "EmpLogin";
SqlCommand cmd = new SqlCommand(query,con);
cmd.CommandType = CommandType.Text;
cmd.Parameters.AddWithValue("@UserName", txtUserName.Text.ToString());
cmd.Parameters.AddWithValue("@Password", txtPassword.Text.ToString());
int usercount = (Int32)cmd.ExecuteScalar();
Reply
Answers (
2
)
Display Data In Panel From DataList Using AjaxModalpopup C#
JQ grid