#endregion
#region "Non existing table in a dataset"
+#if !NET_2_0
GHTListContorlSubTestBegin(ctrlType, "Non existing table in a dataset");
try
{
GHTSubTestUnexpectedExceptionCaught(ex);
}
+#endif
#endregion
#region "DataSource is not a dataset - set"
GHTListContorlSubTestBegin(ctrlType, "DataSource is not a dataset");
m_lcToTest.DataBind();
GHTSubTestExpectedExceptionNotCaught("ArgumentException");
}
+#if NET_2_0
+ catch (InvalidOperationException ex)
+ {
+ GHTSubTestExpectedExceptionCaught(ex);
+ }
+#endif
catch (ArgumentException ex)
{
GHTSubTestExpectedExceptionCaught(ex);