Hello Friends,
I am developing a web application in asp.net with c# .I am making a form of sales order.I place a dropdown
to fill the list of sell to customer no. field. But i am unable to fetch a single field through WebServices. So Tell me how to solve
This. i am using the following code:
List<SalesOrderWS_Filter> S_filter = new List<SalesOrderWS_Filter>();
SalesOrderWS_Filter nameFilter = new SalesOrderWS_Filter();
nameFilter.Field = SalesOrderWS_Fields.Sell_to_Customer_Name;
nameFilter.Criteria = Session[“user”].ToString();
S_filter.Add(nameFilter);
SalesOrderWS[] list = SalesService.ReadMultiple(S_filter.ToArray(), null, 100);
foreach (SalesOrderWS c in list)
{
grd_OrderDetails.DataSource = list;
grd_OrderDetails.DataBind();
}
and by use of this code my grid display every field of table but i want tha the selected fields are visible in grid .
Please Help me on both problem…
Thanks