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();
Step-1 <%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true...
No comments:
Post a Comment