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
Bineesh Viswanath
NA
1k
777.9k
ASP.NET ERROR
Aug 23 2013 10:55 AM
Sir, I am hetting an error during the save function:-
Please take a look at the following pages:-
You can see Two values in comboBox. But only the first value is storing in database. If I choose "37" , the value in databse will be "36". look at the saved data in GridView:-
Why this happening?.
Here I posting the btnSave_Click Event:-
protected void btnSave_Click(object sender, EventArgs e)
{
divisionSP spDiv = new divisionSP();
divisionInfo InfoDiv = new divisionInfo();
InfoDiv.divisionName = txtDivision.Text;
InfoDiv.classId = decimal.Parse(cmbClassName.SelectedValue.ToString());
spDiv.DivisionAdd(InfoDiv);
mvDivision.ActiveViewIndex = 1;
gridFill();
}
Please help me in this topic.
Reply
Answers (
3
)
Network Related Error while adding an mdf file
asp.net button