STAGE 3-2

This commit is contained in:
2025-11-12 18:22:53 +08:00
parent 8b8869fbde
commit 1d78bdd3d9
13 changed files with 13 additions and 16 deletions

View File

@@ -261,7 +261,7 @@ public partial class admin_user_group_show : MyWeb.config
public void start_del_data(string num)
{
var prod = _db.admin_group.AsEnumerable().Where(q => q.g_name == num).FirstOrDefault(); //刪除該筆資料
var prod = _db.admin_group.Where(q => q.g_name == num).FirstOrDefault(); //刪除該筆資料
if (prod != null)
{
_db.admin_group.Remove(prod);