You must Sign In to post a response.
  • Category: Silverlight

    How to bind the data to Datagrid in Silverlight?


    Are you looking for information on Datagrid? Want to know how to bind the data to Datagrid in Silverlight? Read this thread to learn more about Datagrid examples.



    Hi,
    How to bind the data to Datagrid in Silverlight thorugh Dataset and How to Insert, Update and Delete the Data in Silverlight? I hvae searched lot of websites for this but I did not find the solution.

    if any one know about this reply me.



    Regards
    Nanda Kishore.CH
  • #717301
    Hello Friend,

    Here we go .Here are the steps to bind the data.

    To bind to data to datagrid is little bit complex process than we do a normal datagrid binding.

    Step-1 You need to create a WCF service (or) WebService

    Step-2 You need to create EF Model(Entity Framework model) for connecting to database

    Step-3 Add the tables from where you want to pull the data.

    Step-3 Add Method to WebService. You need to return List from there

    Step-4 Read the List returned

    For information

    pls check this url

    http://www.silverlight.net/learn/tutorials/sqldatagrid-cs/
    http://usamawahabkhan.blogspot.in/2010/01/simple-databind-in-silverlight.html

    for binding data
    pls check this url

    http://www.silverlight.net/learn/tutorials/sqldatagrid-cs/
    http://usamawahabkhan.blogspot.in/2010/01/simple-databind-in-silverlight.html

    Watch this out
    http://www.youtube.com/watch?v=e1vde6Q7yQs
    for doing CRUD operations in Silverlight using Datagrid


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.