C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




ajax


Posted Date: 28 Jan 2008      Total Responses: 1

Posted By: amresh chandra       Member Level: Silver     Points: 2


i have a table asdf in sql server .i contineousley update some row of table asdf . Now i want that i get updated information on asp page without refreshing or loading page every times . Can u give code using ajax. plz give me full code.thanks in adv



Responses

Author: Preethi    28 Jan 2008Member Level: BronzeRating:     Points: 2
--Add the Ajax DLL to bin Directory

--write the code in Web.config
<httpHandlers>
<add verb="POST,GET" path="ajax/*.ashx"
type="Ajax.PageHandlerFactory, Ajax" />
</httpHandlers>

--cs file

[Ajax.AjaxMethod(Ajax.HttpSessionStateRequirement.ReadWrite)]

try now.


Post Reply
You must Sign In to post a response.
Next : How can i redirect one page to another page in windows appli(urgent)
Previous : TypeCasting
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

silicone halloween masks

Contact Us    Privacy Policy    Terms Of Use