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. Really need help!!!!!!!

Really need help!!!!!!!

Scheduled Pinned Locked Moved ASP.NET
helpcssdatabasetutorial
5 Posts 2 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.
  • P Offline
    P Offline
    payback
    wrote on last edited by
    #1

    Hi all, I want to implement the sql cache dependency as shows in [This Article](<a href=) My problem is that in this example the cache data is shown on the web using SqlDataSource,Grid controls ,But i want to use this data in form of data table and dont wanna show the whole data. Can any one help me plzz. Best Regards

    G 1 Reply Last reply
    0
    • P payback

      Hi all, I want to implement the sql cache dependency as shows in [This Article](<a href=) My problem is that in this example the cache data is shown on the web using SqlDataSource,Grid controls ,But i want to use this data in form of data table and dont wanna show the whole data. Can any one help me plzz. Best Regards

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      The link doesn't lead to an article. If you have a DataSet, you can use a DataView to filter the data. --- b { font-weight: normal; }

      P 1 Reply Last reply
      0
      • G Guffa

        The link doesn't lead to an article. If you have a DataSet, you can use a DataView to filter the data. --- b { font-weight: normal; }

        P Offline
        P Offline
        payback
        wrote on last edited by
        #3

        Ok in short i will tell u the problem. i am having a SqlDataSource control which i am binding to a gridview control.This SqlDataSource control i am using in my Sql Cache invalidation mechanism.(i am doin this coz ,i am unable to find any other way) My question is that i don't want to bind the data that is fetched by this SqlDataSource control to the GridView control,instead i want to consume the data in my code behind. SO IS THERE A WAY TO GET A DATATABLE FROM SQLDATASOURCE????? OR IS THERE ANY OTHER WORK AROUND???

        G 1 Reply Last reply
        0
        • P payback

          Ok in short i will tell u the problem. i am having a SqlDataSource control which i am binding to a gridview control.This SqlDataSource control i am using in my Sql Cache invalidation mechanism.(i am doin this coz ,i am unable to find any other way) My question is that i don't want to bind the data that is fetched by this SqlDataSource control to the GridView control,instead i want to consume the data in my code behind. SO IS THERE A WAY TO GET A DATATABLE FROM SQLDATASOURCE????? OR IS THERE ANY OTHER WORK AROUND???

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          What are you SCREAMING about? It looks like your spilled too much stuff on your keyboard, the question mark seems sticky. I don't find much information about the SqlDataSourceControl class in the documentation. Of course you could consume the data source in some way, but I think that you would be better off using a regular SqlConnection and SqlCommand. Then you can get the data into a DataSet and use a DataView to filter the data. --- b { font-weight: normal; }

          P 1 Reply Last reply
          0
          • G Guffa

            What are you SCREAMING about? It looks like your spilled too much stuff on your keyboard, the question mark seems sticky. I don't find much information about the SqlDataSourceControl class in the documentation. Of course you could consume the data source in some way, but I think that you would be better off using a regular SqlConnection and SqlCommand. Then you can get the data into a DataSet and use a DataView to filter the data. --- b { font-weight: normal; }

            P Offline
            P Offline
            payback
            wrote on last edited by
            #5

            So Now atlast u came to know why i am SCREAMING about coz u were unable to find much information about sqldatasource as well. anyway thanks for reply coz the solution you are telling me seems CHILDISH.coz i have already mentioned that i could find no way of using regular databindings syntex using Sql Server Cache invalidation mechanism. all of the examples shows it by using SqlDatasource control. regards

            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