SyntaxErrorException serializable

SyntaxErrorException serializable

System.Data (system.data.dll) class

This exception is thrown if there is a syntax error in the SQL used for the DataColumn.Expression property typically used to filter rows, calculate the values in a column, or create an aggregate column. Note that other SQL syntax problems (such as invalid syntax in a Command ) generally lead to provider-specific errors such as System.Data.SqlClient.SqlException and System.Data.OleDb.OleDbException when you execute the Command . A related exception is EvaluateException .

 public class  SyntaxErrorException  : InvalidExpressionException {  // Public Constructors  public  SyntaxErrorException  (  );      public  SyntaxErrorException  ( string   s   );  // Protected Constructors  protected  SyntaxErrorException  (System.Runtime.Serialization.SerializationInfo   info   ,         System.Runtime.Serialization.StreamingContext   context   ); } 

Hierarchy

System.Object figs/u2192.gif System.Exception(System.Runtime.Serialization.ISerializable) figs/u2192.gif System.SystemException figs/u2192.gif DataException figs/u2192.gif InvalidExpressionException figs/u2192.gif SyntaxErrorException



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net