/// <summary> /// The function updates the party details. /// </summary> /// <returns></returns> Returns if the update succseed or not public string UpdateParty() { con.sqlCommand("UpdatePartyDetails"); con.InsertValstring("@partyName", PartyName.Trim()); con.InsertValint("@member_size", membersSize); con.InsertValstring("@platform", platform.Trim()); return(con.getVal("@Result")); }
public string UpdateMemberParty() { con.sqlCommand("UpdateMemberParty"); con.InsertValint("@member_code", MemberCode); con.InsertValstring("@party_name", PartyName.Trim()); con.InsertValstring("@f_name", FName.Trim()); con.InsertValstring("@l_name", LName.Trim()); con.InsertValstring("@birth_date", GetDob().ToString()); con.InsertValint("@list_place", ListPlace); con.InsertValstring("@education", Education.Trim()); con.InsertValstring("@experience", Experience.Trim()); return(con.getVal("@Result").ToString()); }