зеркало из https://github.com/mono/mail-archives.git
101 строка
3.8 KiB
HTML
101 строка
3.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 70541][Wis] New - InvalidCastException when casting DataTable.Select to typed DataSet
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="023395.html">
|
|
<LINK REL="Next" HREF="023397.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 70541][Wis] New - InvalidCastException when casting DataTable.Select to typed DataSet
|
|
</H1>
|
|
<B>bugzilla-daemon@bugzilla.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 70541][Wis] New - InvalidCastException when casting DataTable.Select to typed DataSet">bugzilla-daemon@bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Mon, 13 Dec 2004 23:43:35 -0500 (EST)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="023395.html">[Mono-bugs] [Bug 70445][Maj] Changed - mono 1.1.3 mono-devel missing explicit provides
|
|
</A></li>
|
|
<LI> Next message: <A HREF="023397.html">[Mono-bugs] [Bug 70498][Nor] Changed - File::Move does not behaves like Msft one.
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#23396">[ date ]</a>
|
|
<a href="thread.html#23396">[ thread ]</a>
|
|
<a href="subject.html#23396">[ subject ]</a>
|
|
<a href="author.html#23396">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
|
|
URL shown below and enter your comments there.
|
|
|
|
Changed by <A HREF="mailto:arit93@yahoo.com.">arit93@yahoo.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=70541">http://bugzilla.ximian.com/show_bug.cgi?id=70541</A>
|
|
|
|
--- shadow/70541 2004-12-13 23:43:34.000000000 -0500
|
|
+++ shadow/70541.tmp.20311 2004-12-13 23:43:34.000000000 -0500
|
|
@@ -0,0 +1,37 @@
|
|
+Bug#: 70541
|
|
+Product: Mono: Runtime
|
|
+Version: 1.1
|
|
+OS:
|
|
+OS Details: Gentoo 2004.0
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Wishlist
|
|
+Component: JIT
|
|
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+ReportedBy: <A HREF="mailto:arit93@yahoo.com">arit93@yahoo.com</A>
|
|
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: InvalidCastException when casting DataTable.Select to typed DataSet
|
|
+
|
|
+When using a typed dataset I am unable to cast the results of the select
|
|
+method to an array of the typed dataset table.rows. This is possible under
|
|
+windows with .NET 1.1
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+1. Create a typed dataset
|
|
+ for example a typed dataset called mytypedDS with a table Day
|
|
+2.
|
|
+ attempt the following:
|
|
+ mytypedDS mtd = new mytpedDS();
|
|
+ mytypedDS.DayRow[] dayrow = (mytypedDS.DayRow[])mtd.Day.Select("filter");
|
|
+
|
|
+ This generates an InvalidCast error in mono 1.1
|
|
+
|
|
+mono JIT compiler 1.0.4
|
|
+3.
|
|
+ Currently the workaround I have come up with is while processing the
|
|
+found rows to cast them individually to the mytypedDS.DayRow that seems to
|
|
+work. The only issue is with the array.
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="023395.html">[Mono-bugs] [Bug 70445][Maj] Changed - mono 1.1.3 mono-devel missing explicit provides
|
|
</A></li>
|
|
<LI> Next message: <A HREF="023397.html">[Mono-bugs] [Bug 70498][Nor] Changed - File::Move does not behaves like Msft one.
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#23396">[ date ]</a>
|
|
<a href="thread.html#23396">[ thread ]</a>
|
|
<a href="subject.html#23396">[ subject ]</a>
|
|
<a href="author.html#23396">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|