473,396 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FillErrorEventHandler

I am building an Index server App. On one of the servers here i get a
bizare error when it tries to fill the data adapter. Something about a
field that doesn't cast properly. i am trapping the fillerror event awith
a routine in the docs. The explanation in the error message says that the
data is probably corrupt, but that the row returned properly.

I am bypassing the error with the FillErrorEventHandler and just using
args.Continue = true; to bypass the error. However i want to find out
which field is throwing the error. I suspect a date field that is
"blank" in the filesystem. But i want to confirm this.

the docs gave me a sample to deal with the fill error event and it
starts:
FillError(object sender, FillErrorEventArgs args)

I have found from the args which error code trips the error event. The
Sender object has the row values in it somewhere - i am very new at this
and would like someone to shed some light on how to drill into the sender
object and display the date value in the row with the problem.

the query that is used starts out
SELECT Rank, DocTitle, Filename,Characterization,Write,Size,VPath
FROM SCOPE('DEEP TRAVERSAL OF ""{0}""')...

the write field is the date field. How do i dig its value out of the
object sender?

================================================== ========
Trace.Write("STEP","step1");
this.dbAdapter.SelectCommand.CommandText = Command;
Trace.Write("STEP","step2");

DataSet ds = new DataSet("Results");
Trace.Write("STEP","step2.5");

this.dbAdapter.Fill(ds);
<--never makes it this far -->>
Trace.Write("STEP","step3");

Nov 16 '05 #1
0 1413

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cyndnei Cohen | last post by:
I am building an Index server App. On one of the servers here i get a bizare error when it tries to fill the data adapter. Something about a field that doesn't cast properly. i am trapping the...
0
by: Cyndnei Cohen | last post by:
I am building an Index server App. On one of the servers here i get a bizare error when it tries to fill the data adapter. Something about a field that doesn't cast properly. i am trapping the...
0
by: dalaeth | last post by:
I have searched Google high and low and haven't found anything that works. Here's my problem, hopefully someone will be able to help! I'm using 1.1 Framework, and ODP.NET 9.5.0.7 on a Windows...
5
by: shehezada | last post by:
Hi there, I have a DataGridView on a Windows Form. The form load event looks like this private void Form1_Load(object sender, EventArgs e) { MyCollection mycoll=new MyCollection(); ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.