[Mono-bugs] [Bug 651317] Missing data rows
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 10 11:19:08 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=651317
https://bugzilla.novell.com/show_bug.cgi?id=651317#c2
--- Comment #2 from Jan Frost <frost at spielberg.de> 2010-11-10 16:19:08 UTC ---
Created an attachment (id=399414)
--> (http://bugzilla.novell.com/attachment.cgi?id=399414)
Little MonoTouch tse application to reproduce the issue.
I created a little asp.net web service on our server with a web function doing
the following:
<WebMethod()> _
Public Function GetDataSet(ByVal TableName As String) As DataSet
Dim dsTest As New DataSet("MonoTouchTest")
Dim dtTest As New DataTable(TableName)
dtTest.Columns.Add("Value1", GetType(String))
dtTest.Columns.Add("Value2", GetType(String))
dsTest.Tables.Add(dtTest)
Dim drNew As DataRow = dtTest.NewRow
drNew!Value1 = "Row1Value1"
drNew!Value2 = "Row1Value2"
dtTest.Rows.Add(drNew)
dsTest.AcceptChanges()
Return dsTest
End Function
I attached a little MonoTouch sample application that will access this web
service to reproduce the error.
Try typing 'Test' as the table name and press the button. You will see that one
row is retrieved as expected.
Try typing '0123' as the table name and press the button. You will see that no
row is retrieved.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list