자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void LoadProduct(int stateid, string productid, string keyword) { Product s; SQSProduct.Clear(); client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); DataSet ds = client.SQSAdmin_RelatedArea_LoadProduct(productid, keyword, stateid); client.Close(); foreach (DataRow dr in ds.Tables[0].Rows) { s = new Product(); s.ProductID = dr["productid"].ToString(); s.ProductName = dr["productname"].ToString(); s.ProductDescription = dr["productdescription"].ToString(); SQSProduct.Add(s); } }