User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 456,508 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,673 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 826 | Replies: 0
Reply
Join Date: Jul 2007
Posts: 10
Reputation: CodeMonkey775 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
CodeMonkey775 CodeMonkey775 is offline Offline
Newbie Poster

Question Invalid Cursor Position

  #1  
Sep 25th, 2007
Hi,
I'm trying to access XML data in C# I have stored in a row in a database under one column. My database software is Sybase SQL Anywhere 8.

The code is as follows"

OleDbDataAdapter da = new OleDbDataAdapter("SELECT UIData FROM prog_parents WHERE ParentName = 'Blank Panel'", connection);
da.Fill(ds);

The error occurs when it tries to fill the dataset. The error is:

OLEDBEXCEPTION: Invalid Cursor Position

Is there some incompatibility with SQL Anywhere 8 and XML? Does it have to do with the carriage returns or line feeds? I had the database in SQL Server 2005 before and it worked fine in that but had to migrate everything to SQL Anywhere 8.

Any help would be great,
Thanks
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C# Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 3:46 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC