public void skills_delete(int ID) { skills.Delete(ID); Insert_skills_GridView.DataBind(); Update_skills_GridView.DataBind(); Delete_skills_GridView.DataBind(); }
public skills skills_insert() { skills.skills_description = Insert_skills_description_txt.Text; skills = skills.Insert(skills); Insert_skills_GridView.DataBind(); Update_skills_GridView.DataBind(); Delete_skills_GridView.DataBind(); return(skills); }
public skills skills_update(int ID) { skills = skills.Select(ID); skills.skills_id = Convert.ToInt32(Update_skills_id_txt.Text); skills.skills_description = Update_skills_description_txt.Text; skills.Update(skills); Insert_skills_GridView.DataBind(); Update_skills_GridView.DataBind(); Delete_skills_GridView.DataBind(); return(skills); }