Validating Data using Typed Dataset

G

Guest

Hi! All,

How can i validate data filling into a typed dataset?
e.g. Say I am importing data from a flat file into a typed dataset. I want
to validate that each data entering into the dataset are in match with the
dataset Schema and if any error i want to log the same row and move to
execute the next row.

How do I do this??

Regards,
Baren
 
G

Guest

Well Flat file means a text file or a CSV file

Miha Markic said:
Ehm, what do you mean by flat file?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Baren said:
Hi! All,

How can i validate data filling into a typed dataset?
e.g. Say I am importing data from a flat file into a typed dataset. I want
to validate that each data entering into the dataset are in match with the
dataset Schema and if any error i want to log the same row and move to
execute the next row.

How do I do this??

Regards,
Baren
 
M

Miha Markic [MVP C#]

Hi,

Then you are on your own. You'll have to do all the job by yourself.
Or you could use Excel OleDb thing to import flat files into a DataTable and
later do the merge.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Baren said:
Well Flat file means a text file or a CSV file

Miha Markic said:
Ehm, what do you mean by flat file?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Baren said:
Hi! All,

How can i validate data filling into a typed dataset?
e.g. Say I am importing data from a flat file into a typed dataset. I
want
to validate that each data entering into the dataset are in match with
the
dataset Schema and if any error i want to log the same row and move to
execute the next row.

How do I do this??

Regards,
Baren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top