Coffeehouse Post

Single Post Permalink

View Thread: .NET 2.0 SP1 broke our app
  • User profile image

    TommyCarlier wrote:
    Assume you have a DataTable t where one of the columns is of type string. t.Select("x=3") should select the rows where x is "3". In .NET 2.0 this was not a problem. In .NET 2.0 SP1 we had to put the number between quotes, like this: t.Select("x='3'");

    Never rely on bugs and undocumented features. Very old wisdom.