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

Wednesday, June 18, 2008

Urdu Text Editor


The simple Urdu Text Editor developed on Microsoft Visual Basic 2005. Similar to WordPad for Windows.

Controls Used:
  • ToolStripContainer
  • MenuStrip
  • ToolStripMenuItem
  • ToolStrip
  • ToolStripButton
  • ToolStripLabel
  • ToolStripComboBox
  • RichTextBox
  • StatusStrip
  • Label
  • TextBox
  • Button
  • LinkLabel
  • PictureBox
Core Technology Used:
  • Unicode

Source Code: Currently NOT Available
See Working with Unicode to understand how this Project is working.

Executable:

UrduTextEditor.zip

Prerequisites:

.net Framework 2.0 (Download)

Thursday, June 12, 2008

DataGridView Progressbar Column

DataGridView Custom Progressbar Column

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