Inherits System.Web.UI.Page
Protected Sub btn_get_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_get.Click
Dim name As String = String.Empty
Dim EmployeeList As ArrayList = New ArrayList()
name = "Jake"
EmployeeList.Add(name)
name = "peter"
EmployeeList.Add(name)
name = "lily"
EmployeeList.Add(name)
Me.GridView1.DataSource = EmployeeList
Me.GridView1.DataBind()
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
' This tutorial is provided in part by Server Intellect Web Hosting Solutions http://www.serverintellect.com
' Visit http://www.AspNetTutorials.com for more ASP.NET Tutorials
End Sub
End Class