https://bugzilla.novell.com/show_bug.cgi?id=719758
https://bugzilla.novell.com/show_bug.cgi?id=719758#c0 Summary: SqlDataSource() throws an Exception Classification: Mono Product: Mono: Class Libraries Version: 2.10.x Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Web AssignedTo: michael.mil...@suse.com ReportedBy: test051...@hotmail.com QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 The behaviour of SqlDataSource in Mono is different compared to .NET Reproducible: Always Steps to Reproduce: 1. Create an ASP.NET project 2. Add an SqlDataSource to Default.aspx 3. Set the ConnectionString property to a valid network connection via an ODBC database driver 4. Do not define the SelectCommand property 5. In Page_Load() enter the following code: DataView dv=(DataView)SqlDataSource1.Select(DataSourceSelectArguments.Empty); Actual Results: The application displays the infamous error page starting with „ExecuteReader: CommandText is not set.“ under Mono 2.10.5 Expected Results: Under .Net it simply displays an empty page. The Select() method returns null in this case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs