string update1 = "update picdb set pic=Replace(pic,'" + Label3.Text + "' , '" + newpic1.Text + "')
where pic like '%" + Label3.Text + "%' and id='" + rowid.Text + "'";
cm = new SqlCommand(update1, cn);
cm.ExecuteNonQuery();
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; ...
No comments:
Post a Comment