SQLDependency AND DAAB Data Access Application Block RRS feed

  • Question

  • How do I add SQLDependency in an DAAB.

    I get an error with this !!

    This is my code.
    public DataSet GetPercentageByID(string dispID)

                Database sqldb = DatabaseFactory.CreateDatabase("MyConnection");
                DataSet ds = sqldb.ExecuteDataSet("spDispAmountPercent", new object[] { dispID });
                return ds;
    Friday, November 16, 2007 8:59 AM