Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. wat is the best solution of getting values from the data base to the grid view.

wat is the best solution of getting values from the data base to the grid view.

Scheduled Pinned Locked Moved ASP.NET
cssdatabaseoraclehelp
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lakshmichawala
    wrote on last edited by
    #1

    iam having nearly 45000 records in the data base where iam getting these many records into the grid view using the select statement in the oracle query .the problem it is more time consuming .is there is any aleternate solution to get these many or more than these record as fast as possible

    V I G B 4 Replies Last reply
    0
    • L lakshmichawala

      iam having nearly 45000 records in the data base where iam getting these many records into the grid view using the select statement in the oracle query .the problem it is more time consuming .is there is any aleternate solution to get these many or more than these record as fast as possible

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      Enable Pagination for the GridView. This would improve the performance of data loading

      Castle Rider My: Website | Yahoo Group | Blog Spot

      L 1 Reply Last reply
      0
      • V Venkatesh Mookkan

        Enable Pagination for the GridView. This would improve the performance of data loading

        Castle Rider My: Website | Yahoo Group | Blog Spot

        L Offline
        L Offline
        lakshmichawala
        wrote on last edited by
        #3

        hi mr rider to implement this also the data should come fast na .my problem is the data is not getting faster from the data base.

        1 Reply Last reply
        0
        • L lakshmichawala

          iam having nearly 45000 records in the data base where iam getting these many records into the grid view using the select statement in the oracle query .the problem it is more time consuming .is there is any aleternate solution to get these many or more than these record as fast as possible

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          You can enable pagination in your store procedure instead of code behind side. Suppose if you want to set PageSize=20,retrive only 20 records from database in one query and get total number of records in other query. There are many articles availabel.search in google for this. another way is that, retrive all records when page is loaded,store dataset in cockie and bind gridview and enable pagging. when page index changed,get back dataset from cockie and bind gridview.No need to retrive records from database again.

          please don't forget to vote on the post that helped you.

          L N 2 Replies Last reply
          0
          • I Imran Khan Pathan

            You can enable pagination in your store procedure instead of code behind side. Suppose if you want to set PageSize=20,retrive only 20 records from database in one query and get total number of records in other query. There are many articles availabel.search in google for this. another way is that, retrive all records when page is loaded,store dataset in cockie and bind gridview and enable pagging. when page index changed,get back dataset from cockie and bind gridview.No need to retrive records from database again.

            please don't forget to vote on the post that helped you.

            L Offline
            L Offline
            lakshmichawala
            wrote on last edited by
            #5

            hi sir the concept whic u are saying is quite intersting...plz help in this regrds by giving the best site abt paging in the database

            I 1 Reply Last reply
            0
            • I Imran Khan Pathan

              You can enable pagination in your store procedure instead of code behind side. Suppose if you want to set PageSize=20,retrive only 20 records from database in one query and get total number of records in other query. There are many articles availabel.search in google for this. another way is that, retrive all records when page is loaded,store dataset in cockie and bind gridview and enable pagging. when page index changed,get back dataset from cockie and bind gridview.No need to retrive records from database again.

              please don't forget to vote on the post that helped you.

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #6

              Imran Khan Pathan wrote:

              another way is that, retrive all records when page is loaded,store dataset in cockie

              Are you kidding ? a dataset which contains 45000 records and keeping it in cookie ! I don't think it is possible.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

              1 Reply Last reply
              0
              • L lakshmichawala

                hi sir the concept whic u are saying is quite intersting...plz help in this regrds by giving the best site abt paging in the database

                I Offline
                I Offline
                Imran Khan Pathan
                wrote on last edited by
                #7

                lakshmichawala wrote:

                hi sir the concept whic u are saying is quite intersting...plz help in this regrds by giving the best site abt paging in the database

                Read these two article. Article 1 Article 2[^]

                please don't forget to vote on the post that helped you.

                1 Reply Last reply
                0
                • L lakshmichawala

                  iam having nearly 45000 records in the data base where iam getting these many records into the grid view using the select statement in the oracle query .the problem it is more time consuming .is there is any aleternate solution to get these many or more than these record as fast as possible

                  G Offline
                  G Offline
                  gurdeep_677
                  wrote on last edited by
                  #8

                  R u used Stored Procedure. if not u might be use StroredProcedure , the command is still same but the stored procedure execute faster then simple command i hope this will help u....

                  1 Reply Last reply
                  0
                  • L lakshmichawala

                    iam having nearly 45000 records in the data base where iam getting these many records into the grid view using the select statement in the oracle query .the problem it is more time consuming .is there is any aleternate solution to get these many or more than these record as fast as possible

                    B Offline
                    B Offline
                    bommareddy200
                    wrote on last edited by
                    #9

                    Hi U c try to pageing the data in database it self. Tanks Siva

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups