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
elsabbah ahmed
NA
55
0
convert from sting to date
May 26 2012 12:05 PM
I try to pass some variable from visual studio .net (C#) to database through storedprocedure ,
but i have problem with convert from string to date
can i find some help?
thank you all
protected void AddButton_Click(object sender, EventArgs e)
{
int rowsaffected = MainTable.InsertIntoMainTable(int.Parse(DistDropDownList.SelectedValue), myDate, int.Parse(DiseaseDropDownList.SelectedValue), int.Parse(CasesTextBox.Text), int.Parse(GovDropDownList.SelectedValue));
if (rowsaffected > 0)
{
ResultLabel.Text = "New Row Added";
}
else
{
ResultLabel.Text = "No Rows Added";
}
}
Reply
Answers (
2
)
GPS Tracking System using C#
C# Snake and Ladder Game