//public void ConvertToComposite() //{ // user.User_Id = (int)composite["User_Id"]; // user.Password = (string)composite["Password"]; // user.Mobile_Number = (string)composite["Mobile_Number"]; // user.Mobile_Alternate = (string)composite["Mobile_Alternate"]; // user.F_Name = (string)composite["F_Name"]; // user.L_Name = (string)composite["L_Name"]; // user.Email = (string)composite["Email"]; // user.Close = (bool)composite["Close"]; // user.Area_Id = (int)composite["Area_Id"]; // user.Address_Line_2 = (string)composite["Address_Line_2"]; // user.Address_Line_1 = (string)composite["Address_Line_1"]; // user.Account_Status = (string)composite["Account_Status"]; //} public bool ItemsValid() { txtItemsError.Text = RegexValidation.Check_Items(txtItems.Text); return(txtItemsError.Text == "" ? true : false); }