Showing posts with label Typed DataSet. Show all posts
Showing posts with label Typed DataSet. Show all posts

Sunday, June 29, 2008

Custom Validation on Typed DataTable


Demonstrates how to customize the Typed DataTable of Typed DataSet to create custom Business Rule, and then how to implement this Validation on User Interface (in a Grid View or in a Detail View).

See:
Working Details:
How to add Column/Row Validation Using Typed DataTable

Beth Massi's video tutorial:
How do I: Add Validation?
Note that video contains a minor exception, but will give the idea.

Level: Intermediate

Knowledge Required:
To understand this project you should know,
  • How to add Typed DataSet
  • How to bind controls with Typed DataSet
  • What is Partial Class
Controls Used:
  • BindingNavigator
  • DataGridView
  • TextBox
  • Label
  • Button
Components Used:
  • ErrorProvider
  • Typed DataSet
  • BindingSource
Things you will learn:
  • How to put Validation Rule in Typed DataTable using Partial Class
  • How to Implement ErrorProvider Component
Download:
CustomValidation.zip

Thursday, June 12, 2008

Data Entry Form (Master/Detail) With Typed DataSet


This project demonstrates how to use a Typed DataSet for Data Entry (Master/Detail).

Level: Intermediate

Knowledge Required:
To understand this project you should know,
  • How to add Typed DataSet
  • How to bind controls with Typed DataSet

Controls used:
  • GroupBox
  • TableLayoutPanel
  • DataGridView
  • Button
  • Label
  • TextBox

Things you will learn:
  • How to create Master/Detail Form for Data Entry using Typed DataSet
  • How to make changes (Add/Update/Delete) in Typed DataSet
  • How to Cancel/Accept Changes

Note: This project does NOT interact with Physical Database.

Download:
DataEntryFormWithTypedDataSet.rar