August 6, 2011

GridView Data Binding in Silverlight

How can we bind Gridview in silverlight.
First drag one gridview and place it in mainpage.xaml.

image

Now i have written a class named Employee.

image

Now in Mainpage.xaml page simply bind gridview with EmployeeList.

image

Now press F5 and see output.

image

No comments:

Post a Comment