[Mono-bugs] [Bug 719758] New: SqlDataSource() throws an Exception
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Sep 22 07:23:11 EDT 2011
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.miller at suse.com
ReportedBy: test051102 at hotmail.com
QAContact: mono-bugs at 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.
More information about the mono-bugs
mailing list