A
Antonio (MCAD)
My question is I have [WebMethod] that returns an array of a object of Type
OrderStatus[]. I am not using datasets, but I want to consume this from the
web application and populate a repeater control. I want to be able to take
this data and filter out certain rows before binding to the repeater. I just
need some example code on the .net 2 web application side to see how to take
this data and modify it:
This is what I have today:
Presentation Code:
WebService src = new WebService ();
Repeater1.DataSource = src.GetOrderStatusSummary();
Repeater1.DataBind();
Application Code:
[WebMethod]
public OrderStatus[] GetOrderStatusSummary()
{
return OrderManager.GetOrderStatusSummary();
}
Thank You.
OrderStatus[]. I am not using datasets, but I want to consume this from the
web application and populate a repeater control. I want to be able to take
this data and filter out certain rows before binding to the repeater. I just
need some example code on the .net 2 web application side to see how to take
this data and modify it:
This is what I have today:
Presentation Code:
WebService src = new WebService ();
Repeater1.DataSource = src.GetOrderStatusSummary();
Repeater1.DataBind();
Application Code:
[WebMethod]
public OrderStatus[] GetOrderStatusSummary()
{
return OrderManager.GetOrderStatusSummary();
}
Thank You.