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

    Extracting data from database and displaying the data in jq grid using c# and asp .net

    I need to display 10,000 records using jq grid and these 10,000 records should be extracted from database.Along with this i need to show paging, sorting, searching, buffering, filter for the jq grid only by using c# and asp .net

    I am able to find most of the jq grids on mvc but i only need a jq grid using c# and asp .net, which i am unable to find it out.Can anyone help me out withhttp://stackoverflow.com/content/img/progress-dots.gif this as i am new to this.This is an urgent requirement but i am unable to get it as i am new to this concept can any one help me out with this

    I had used this link but its not working http://www.c-sharpcorner.com/uploadfile/rahul4_saxena/jqgrid-in-asp-net-c-sharp/
  • #768057
    Hey,

    Here This code also will work,

    DirectoryEntry dirEnt = new DirectoryEntry("LDAP://dhuba1kwtn004");
    string[] loadProps = new string[] { "cn", "samaccountname", "name", "distinguishedname" };
    DirectorySearcher srch = new DirectorySearcher(dirEnt, "(objectClass=Group)", loadProps);
    var results = srch.FindAll();

    and another one is:

    public IEnumerable<SearchResult> SafeFindAll(DirectorySearcher searcher)
    {
    using(SearchResultCollection results = searcher.FindAll())
    {
    foreach (SearchResult result in results)
    {
    yield return result;
    }
    } // SearchResultCollection will be disposed here
    }



    You can also Refered link:

    http://stackoverflow.com/questions/90652/can-i-get-more-than-1000-records-from-a-directorysearcher-in-asp-net

    Hope it helps,

    Thanks,
    Vaibhav Shah

  • #768062
    Hai Kavitha,
    If you are looking for JQGrid for your ASP.net using C# project, then you can go through the below Code Project link:

    http://www.codeproject.com/Articles/609442/Using-JqGrid-in-ASP-NET

    This link provides the implementation of JQGrid with sorting, filtering and other stuff.
    You can download the demo and try to use it as it and once all works fine, you can do some modifications as per your requirements.
    Hope ii will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com

  • #768072
    hi
    I can give you one website name in this website different code will be their so you can understand easily. and some process given step by step.
    name: www.c-sharpcorner.com/.../retrieving-data-in-gridview-in-Asp-Net

    A Grid View is a graphical control element that presents a tabular view of data. A Grid View is used to represent a list of data items by binding data fields to columns and displaying columns. A typical Grid View supports features like click, drag and drop, in place edit and so on.

    hope this help you
    thank you

  • #768078
    www.c-sharpcorner.com/.../retrieving-data-in-gridview-in-Asp-Net on opening this link i am getting run time error


  • Sign In to post your comments