1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / how can i create a dastasource?

how can i create a dastasource?

2 posts, 0 answered
  1. lamees
    lamees avatar
    3 posts
    Registered:
    31 Jul 2006
    08 Jun 2007
    Link to this post
    Hello all,
                    I have a question in creating pages using SiteFinity. I created a page and I added a gridView in it. What I want to know is how to create a DataSource to put its ID in the DataSourceID for the GridView properties?

    Thanks in advance
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    11 Jun 2007
    Link to this post
    Hi lamees,

    You can use for example XML DataSource. Insert an XmlDataSoure control in your page and specify the path to your XML file. For this purpose you should set the DataFile property. After that, indicate that your GridView DataSourceID is the ID of the XmlDataSource.

    If you want to use ObjectDataSource, you should make your own UserControl.

    I hope this will help you.

    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered