Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Need to implement in admin module, have to show instantly when customer dropped a order.

Thank you.

What I have tried:

Used timers, page is refreshing for every 1 min. Required a code without page refresh.
Posted
Updated 15-Sep-16 5:13am
Comments
Duncan Edwards Jones 15-Sep-16 8:35am    
You probably want to look at a technology such as AJAX... ?
sagar33 15-Sep-16 8:58am    
Need to show instantly in Admin module, when a customer placed an order. Is it AJAX enough for this task?

Loading a repeater continuously using AJAX, it consumes data.
[no name] 15-Sep-16 9:16am    
Nothing is "instantly" on a webpage. We don't know anything at all about your project except that you have an admin module and think you can get some data instantly from somewhere. Oddly enough, the massive amount of code you supplied describing your problem in the "What I have tried" section, is not C# and won't compile.

1 solution

Ajax is the simpler way of achiveing the task, since you dont prefer AJAX, you shall look into SingalR[^]
Broadcast Real-time SQL data using SignalR in C# for Visual Studio 2013[^]
Real Time Notifications using SignalR and SQL Dependency[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900