TreeGrid-无限制树形GUCD (四)

2014-11-24 01:35:52 · 作者: · 浏览: 12
nformation,
Html = "存在根节点,请先删除下级!"
});

}
else
{
string sql = "delete from CustomerSource where Id=" + id + "";
int res = DbHelperSQL.ExecuteSql(sql, null);
bool success = false;
if (res > 0)
success = true;
if (success)
{

Notification.Show(new NotificationConfig
{
Title = "客户来源管理",
Icon = Icon.Information,
Html = "删除成功"
});

}
else
{

Notification.Show(new NotificationConfig
{
Title = "客户来源管理",
Icon = Icon.Information,
Html = "删除失败"
});

}

this.txtValue.Text = "";
}
return RefreshMenu();
}
}
}
效果:

\


感谢心是走动的词语的鼎力帮助和指导。