public void user_log_insert() { BLL_user_log bulg = new BLL_user_log(); string user_name_log = Login.sendtext; string day = DateTime.Now.ToString("ddd"); int abc = bulg.createuserlog(user_name_log, "ADD Menu Item", date, day); }
public void user_log_insert() { BLL_user_log bulg = new BLL_user_log(); // string user_name_log = Login.sendtext; string day = DateTime.Now.ToString("ddd"); DataTable dt = bulg.getall_user_log(txtuser_id.Text, day, "BackUp"); if (dt.Rows.Count == 0) { int abc = bulg.createuserlog(txtuser_id.Text, "BackUp", date, day); } }
public void user_log_insert() { DateTime date = Convert.ToDateTime(DateTime.Now.ToString()); BLL_user_log bulg = new BLL_user_log(); string user_name_log = Login.sendtext; string day = DateTime.Now.ToString("ddd"); DataTable dt = bulg.getall_user_log(user_name_log, day, "Viewrestaurant"); if (dt.Rows.Count == 0) { int abc = bulg.createuserlog(user_name_log, "Viewrestaurant", date, day); } }