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
vinod jangir
NA
114
9.2k
how to fill data in sql server??
Oct 2 2015 6:30 AM
i add Test_Result column in table and i fill data from client side but i confuse
help me
for (int r = 0; r < dataGridView1.RowCount; r++)
{
if (con.State == ConnectionState.Closed)
con.Open();
SqlCommand cmd1 = new SqlCommand ("Insert Into Admission(Test_Result) Values (" + Row[Test_Result].ToString() +")");
//cmd1.Parameters.AddWithValue("Test_Result", dataGridView1.Rows[e.RowIndex].Cells[3].Value);
com.ExecuteNonQuery();
con.Close();
FrmTest fc = new FrmTest();
MessageBox.Show("Inserted sucessfully");
this.Close();
}
Reply
Answers (
9
)
ADO Net Entity Framework Error
Create Problem Time Addition