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
Guest User
Tech Writer
529
41.1k
Replace Query Data Save Help Me?
May 27 2021 12:24 PM
if (msf.Text != "")
{
cmd = new SqlCommand("insert into tbl_sinking(CHARG) values(@charg)", sqlcon);
sqlcon.Open();
cmd.Parameters.AddWithValue("@charg", msf.Text);
cmd.ExecuteNonQuery();
sqlcon.Close();
MessageBox.Show("Record Inserted Successfully");
DisplayData();
ClearData();
}
else
{
MessageBox.Show("Please Provide Details!");
}
this query work 2 insert and replace value in same column
1
column
10
value than replace any value replace For Example
20
than replace to 10
Reply
Answers (
8
)
CheckBox Copy Or Move Help Need Urgent?
Validation on Modal