Need information on Live update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sl1ver
    New Member
    • Mar 2009
    • 196

    Need information on Live update

    Hi guyz

    I have been surfing the web for a while know and im not exactly too sure what to search for as i dont have much jquery, ajax experiance.

    I need help, finger in the right direction or a known tutorial or something

    Here is what i want to do

    - I want to have an html table that will be created dynamically by the C# .net code (already have this)
    - I want to have two buttons, one to update my the table instantly once pressed and a delete button which will delete the record and basically refresh the table without reloading the web page
    - also have a add button that will add the product from one table (insert into sql) then show up on the other table without page refresh.

    basically i want to know how to perform sql without the page refreshing and have the tables update without page refresh
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Ajax is your friend :)

    I would recommend using Ajax to call a Web Service that will make the necessary changes to the server.

    Right now you cannot access a database from your HTML code...you have to submit it to a server side function to do that for you. But how you submit it makes all the difference.

    Check out this article: "Extreme ASP.NET: Client-Side Web Service Calls with AJAX Extensions"

    It's pretty cool stuff :)

    -Frinny

    Comment

    Working...