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

Forums / Bugs & Issues / How to Display Data in GridView

How to Display Data in GridView

2 posts, 0 answered
  1. Kam
    Kam avatar
    4 posts
    Registered:
    17 Jul 2007
    30 Jul 2007
    Link to this post
    Hello,

    I have one page in which i want to display the users which are Active in my database..

    In my Database there is a table of "users" and one Flag which is Active and InActive..

    I want to display Records in GridView .

    How can i disply Records and Edit/Delete from the GridView?

    How can i Display them by using SqlDataadapter, Dataset  or Datatable, SqlCommand?

    Please Reply me

    Thanks,

  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    30 Jul 2007
    Link to this post
    Hello kamlesh,

    You can find more information about the GridView class and its members in online MSDN library
    http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx. Also, there are a lot of examples demonstrating how use the GridView control for displaying the values from the database.
    About using of ADO.NET I would recommend this article http://msdn2.microsoft.com/en-us/library/Aa302325.aspx .

    If your table for the users is used by the Membership provider, you could use some of the Membership methods getting the necessary information from the data source.

    Hope this helps.

    Kind regards,
    Pepi
    the Telerik team

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