Hi,
I am developing a web application which uses the timer to check the update in the database.But now i want to update the page when the data get updated in the database without the timer is that possible?
Please help me to get out of this problem.
Loading

Kirtan PatelRank #292 · 8.6K reputationPosted Oct 3, 2009, 6:09 AM EDT
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Data.SqlTypes; using System.Data.SqlClient; using Microsoft.SqlServer.Server; namespace ManagedCodeAndSQLServer { public class BaseFunctionClass { #region "Default Constructor" public BaseFunctionClass() { } #endregion #region "Welcome Function" /// /// This function will be called from the SQL Stored Procedure. /// /// Name /// Welcome Message [SqlProcedure] public static void GetMessage(SqlString strName, out SqlString strMessge) { strMessge = "Welcome," + strName + ", " + "your code is getting executed under CLR !"; } #endregion } }Now you need to enable the SQL Server to work with External Objects and thus you will need to fire the below command..
Now Register
ManagedCodeAndSQLServer.dllunder that using the following code:Create a procedure which can be called from the Trigger...
Roei BarRank #1,271 · 1.4K reputationPosted Oct 3, 2009, 6:13 AM EDT
1. an activex that holds a connection to the server
2. TCP Session on Client Side, this 1 brakes apart the option for real HTTP services
another way is something called COMET, its a Framwork for Push Data
here is a sample project
http://www.codeproject.com/KB/aspnet/CometMultiClient.aspx
and
http://www.stream-hub.com/
Cyber Bhai2 reputationPosted Nov 9, 2009, 12:55 AM EST