WinForms: Sql Dependency Cache With Typed DataSets
The video shows how to create an event on .Net Framework’s 2.0 (Visual Studio 2005) SqlDependency Cache to notify the WinForm application that the underlying data has changed. It uses Typed Datasets and demonstrates how to add a partial class to the DataAdapter to expose the SQL Command for use with SQL Dependency.
Technical Note: SqlDependency uses SQL Server Notification Service running on SQL Server 2005/2008 and required SQL CLR enabled on the server. See “Query Notifications in ADO.NET 2.0 by Bob Beauchemin”
By: Pat Tormey