Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void LoadState() { SQSState.Clear(); client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); DataSet ds = client.SQSAdmin_Generic_GetState(); client.Close(); foreach (DataRow dr in ds.Tables[0].Rows) { CommonResource.State s = new CommonResource.State(); s.StateID = int.Parse(dr["stateid"].ToString()); s.StateAbbreviation = dr["stateAbbreviation"].ToString(); SQSState.Add(s); SQSState2.Add(s); SQSState3.Add(s); } }