よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public void LoadSQSGroups(string groupname) { Group s; SQSGroups.Clear(); client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); DataSet ds = client.SQSAdmin_StudioM_LoadSQSGroupList(groupname); client.Close(); foreach (DataRow dr in ds.Tables[0].Rows) { s = new Group(); s.GroupID = int.Parse(dr["groupid"].ToString()); s.GroupName = dr["groupname"].ToString(); SQSGroups.Add(s); } }