Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Typed Dataset looses Data

Reply
 
Old 12-09-2008   #1 (permalink)
BlueJumper Fran


 
 

Typed Dataset looses Data

Afternoon,

I have developed a winforms application used by around 1000 users.
The
application is used by engineers to view scheduled maintenance work
on
thier laptops. It uses a typed dataset to store the users work orders
and saves it on the users laptop via binary serialisation. The server
hosts a webservice with a MS SQL database back end and it uses xml to
send/recieve work orders and other data when the client application
is
connected to the network.


I have seemingly random problem, where by the dataset looses items of
data.


A typical senario is when a user books time accross a number of jobs.
I create a new row in the datatable and populate it with the time
details an a hard coded row number, add the row to the datatable and
accept changes. If connected the application then converts the
datarow
to xml and uploads it to the server (on a separate thread). However,
as the application builds the xml it gets an error stating the row
number is dbnull.


This is a sporadic error and I haven't as yet been able to replicate
it, however, I get a simular error with 2 other columns in two other
tables in the dataset and again the values input are safe guarded to
ensure a null is never entered into the column.


Has anyone ever experienced something simular? Any clues as to what
is
happening?


Many Thanks


Fran

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Trouble getting data from dataset in a usable fashion. PowerShell
RichTextControl looses formatting .NET General
WM looses psw and won't hold it for NNTP. Vista mail
Imap looses connection Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46