Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 579629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:23:11+00:00 2026-05-13T14:23:11+00:00

Im working with dataSets validation in my project. I’m doing validation when DataTable_ColumnChanged event

  • 0

Im working with dataSets validation in my project. I’m doing validation when DataTable_ColumnChanged event fires in partial class of dataTable, and its doing its job, but i would like to also validate datatype mismach on dataSet level, not UI, to provide custom error message. If [someID] expects number, but someone enters string in textbox for instance.

The problem is, dataSet is handling that type of error somewhere before DataTable_ColumnChanged event fires, and never change column, I understand that.

So the question is where and how to intercept it. I want to handle that in partial dataTable class, wrap into a property or something, but VS generated bunch of code and i dont know where to look 🙂 Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T14:23:12+00:00Added an answer on May 13, 2026 at 2:23 pm

    This isn’t exactly an answer to your question, but when you mentioned that VS is creating a bunch of goo it made me think that you are probably using drag/drop functionality to accomplish this task. This is partially why, as you already pointed out, you can’t figure out what’s going on.

    This codegen by studio is making it more complicated for you. If I’d suggest considering removing this autogenerated dataset and creating your own typed data set to replace it if you are early on in your project. If you are in the position where you can make this change to a more sane typed dataset it will help position you to not get into situations like you are in now.

    Moreover, if you have the time, you might consider a design that doesn’t use datasets at all, but that is certainly much more to take on. Most folks are using an ORM solution such as NHibernate or something similiar to do the kinds of things we used to use DataSets for. Obviously, if there are time or external factors that make it so you must use DataSets, then forget this ORM consideration–but do think about removing the autogenerated dataset and making a typed dataset instead. It will be much easier on you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 316k
  • Answers 316k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer http://jquery.glyphix.com/ This will load the XSL for you and run… May 13, 2026 at 11:27 pm
  • Editorial Team
    Editorial Team added an answer You want $.each(), which can go over anything, not just… May 13, 2026 at 11:27 pm
  • Editorial Team
    Editorial Team added an answer Its true that one of the bottlenecks in Hadoop MapReduce… May 13, 2026 at 11:27 pm

Related Questions

Here are the relevant technologies that I'm working with: Devart's dot Connect for Oracle
I'm working with .NET strongly-typed datasets and have a table with a nullable int
I'm working with a database schema that is running into scalability issues. One of
I'm using ASP.NET MVC and Azure Table Storage in the local development fabric. My
I'm frustrated recently by all of the choices that Microsoft offers to develop a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.