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();
<asp: GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="T...
No comments:
Post a Comment