Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
how can update my column valu with add new vale in old value
vinod jangir
Oct 12 2015 2:52 AM
293
Reply
i update Amount = Amount + txtAmut.Text
how can do?????
if (con.State == ConnectionState.Closed)
con.Open();
string UpdateQuery = "UPDATE Student SET DueDate= '" + txtNewDat.Text + "' WHERE Admission_ID= " + labstuid.Text + Environment.NewLine +
"UPDATE FeeDeposit SET Amount= '" + txtAmut.Text + "' WHERE Admission_ID= " + labstuid.Text;
SqlCommand cmd1 = new SqlCommand(UpdateQuery,con);
cmd1.ExecuteNonQuery();
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
How to create a dynamic controls in asp.net
retrieve data from database & display in div