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
Nithika
NA
63
18.9k
Need help in code
Jun 3 2014 1:30 PM
My execute query is not executing inside loop.
foreach(DataRowrow1 indt.Rows)
{
EmpNo = (row1["EmpNo"].ToString());
EmpName = (row1["EmpName"].ToString());
command.CommandText = "insert into table(id,EmpNo,EmpName) values("+ id+ ","+ EmpNo + ",'"+ EmpName + "')";
command.ExecuteNonQuery();
}
please help me
Reply
Answers (
3
)
I want to resize Childform in mdi parent when it open
C# Shuffle string in list & display the output to a textbox