日期:2014-05-17 浏览次数:20548 次
<asp:Literal ID="litId" runat="server" Visible="False"></asp:Literal>
T_FuncList tmodel = new T_FuncList(); tmodel.Id = litId.Text != "" ? Convert.ToInt32(litId.Text) : 0; tmodel.FuncName = txtFuncName.Text; tmodel.FuncNameEN = txtFuncNameEn.Text; tmodel.Url = txtUrl.Text; tmodel.Location = txtLocation.Text; int result = funll.SetFuncList(tmodel); if (result > 0) { txtFuncName.Text = ""; txtFuncNameEn.Text = ""; txtUrl.Text = ""; txtLocation.Text = ""; } Bind();