断点后 少传过来一个值 帮忙来看看
//新建按钮
protected void btnAddItem_Click(object sender, EventArgs e)
{
if (title_CH.Text != "" && title_EN.Text != "")
{
int uid = int.Parse(Request["id"]);
int mod = int.Parse(type.SelectedValue);
string modPath_CH = null;
string modPath_EN = null;
string editPath_CH = null;
string editPath_EN = null;
switch (mod)
{
case 0:
modPath_CH = "content_CH";
modPath_EN = "content_EN";
editPath_CH = "contentConfig_CH.aspx";
editPath_EN = "contentConfig_EN.aspx";
break;
case 1:
modPath_CH = "txtList_CH";
modPath_EN = "txtList_EN";
editPath_CH = "txtListConfig_CH.aspx";
editPath_EN = "txtListConfig_EN.aspx";
break;
case 2:
modPath_CH = "imgList_CH";
modPath_EN = "imgList_EN";
editPath_CH = "imgListConfig_CH.aspx";
editPath_EN = "imgListConfig_EN.aspx";
break;
}
MenuList_BLL.MenuInsert(uid, title_CH.Text, title_EN.Text, modPath_CH, modPath_EN, editPath_CH, editPath_EN);
ScriptManager.RegisterStartupScript(this, typeof(string), Guid.NewGuid().ToString(), "UpdateMenu(\"" + GetUlIDBySearchID(Request["id"]) + "\",\"" + Request["id"] + "\");", true);
断点后少传过来editPath_EN 的值 怎么回事
------解决方案--------------------
看下MenuInsert方法里面的SQL语句对应没有