how to bind array object to Gridview.

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 1733
Hi
I have post for Array object bind Gridview.

client side

<asp:GridView ID="rd1" runat="server" >
</asp:GridView>


Server Side

ArrayList arr = new ArrayList();
arr.Add("Jesus");
arr.Add("Jehovah Jireh");
arr.Add("Jehovah Ruffa");

rd1.DataSource = arr;
rd1.DataBind();

Comments or Responses

Login to post response