TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
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
Forums
Monthly Leaders
Forum guidelines
vasanth krishna
NA
44
56.4k
pass time and date to stored procedure
Oct 25 2013 2:42 AM
private void in_Time_Click(object sender, EventArgs e)
{
sqlCon_fn();
sqlcmd = new SqlCommand("Emp_att_out");
sqlcmd.Connection = sqlCon;
sqlCon.Open();
DateTime T = DateTime.Now;
sqlcmd.Parameters.AddWithValue("@out_time", SqlDbType.DateTime);
sqlcmd.ExecuteNonQuery();
sqlCon.Close();
}
i want to pass the time to strored procedure(Emp_att_out) ....This is my code ..bt i got error
Procedure or function 'Emp_att_out' expects parameter '@out_time', which was not supplied.
Reply
Answers (
1
)
Message Not Display inn GridView Row Command Event
what is mean by distributed application?