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
jayakrishnan Morayur
NA
193
257.7k
Error on saving
Sep 3 2011 6:55 AM
The above error occur by the following lines
SqlCommand cmd1 = new SqlCommand("TCInsert");
cmd1.Parameters.AddWithValue("@adminNo", txtAdmissionno.Text);
cmd1.Parameters.AddWithValue("@nationality", ddlNationality.Text);
cmd1.Parameters.AddWithValue("@communityReligion", ddlCommunity.Text);
cmd1.Parameters.AddWithValue("@dateOfPromotion", txtpromotion.Text);
cmd1.Parameters.AddWithValue("@classToPromotion", ddlSemester.Text);
Download: eType1.com/f.php
string connectioString =@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Projects\adoxA2Z db\adoxA2z.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True";
SqlConnection con = new SqlConnection(connectioString);
con.Open();
cmd1.Connection = con;
cmd1.CommandType = CommandType.StoredProcedure;
//cmd.Connection = con;
//con.Open();
cmd1.ExecuteNonQuery();
con.Close();
Reply
Answers (
5
)
Does classic ASP provides support for custom control development
CSharp program to backup database