473,414 Members | 1,606 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,414 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 1414

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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.