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
Santosh Reddy
NA
64
20.9k
i got the some error
Mar 6 2017 8:00 AM
protected void Page_Load(object sender, EventArgs e)
{
string r = @"server=.;database=romesh;trusted_connecton=true";
SqlConnection con = new SqlConnection(r);
}
protected void btn_insert_Click(object sender, EventArgs e)
{
string i= "insert into sample values('"+txt1.Text+"','"+txt2.Text+"','"+txt3.Text+"')";
con
.open();
SqlCommand cmd =
con
.createcommend();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "i";
cmd.EndExecuteNonQuery();
con
.close();
}
}
// I will get the error my code
Reply
Answers (
12
)
MVC chart control
change function so it will only get a part of the users