62,073
社区成员
发帖
与我相关
我的任务
分享
SqlDataSource12.UpdateParameters.Clear()
SqlDataSource12.UpdateCommand = "update soft_body set p_title='" + TextBox1.Text.ToString + "', p_keywd='" + TextBox3.Text.ToString + "', p_fl='" + DropDownList1.SelectedValue.ToString + "', p_time='" + TextBox2.Text.ToString + "', p_text='" + i_content0.Text.ToString + "', p_zy='" + i_content.Text.ToString + "', p_zz='" + DropDownList2.SelectedValue.ToString + "', p_zt='" + DropDownList3.SelectedValue.ToString + "' where ( id='" + Session("arl_id").ToString + "') "
SqlDataSource12.Update()
Protected Sub Button3_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button3.Click
MsgBox(i_content.Text.ToString)
SqlDataSource12.UpdateParameters.Clear()
SqlDataSource12.UpdateCommand = "update mywww_colorfulsoft_body set p_title='" + TextBox1.Text.ToString + "', p_keywd='" + TextBox3.Text.ToString + "', p_fl='" + DropDownList1.SelectedValue.ToString + "', p_time='" + TextBox2.Text.ToString + "', p_text='" + i_content0.Text.ToString + "', p_zy='" + i_content.Text.ToString + "', p_zz='" + DropDownList2.SelectedValue.ToString + "', p_zt='" + DropDownList3.SelectedValue.ToString + "' where ( id='" + Session("arl_id").ToString + "') "
SqlDataSource12.Update()
Response.Redirect("czwc.aspx")
End Sub