Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
6 captures
20 Oct 2008 - 10 Apr 2013
JulSEPJun
Previous capture15Next capture
200820112013
success
fail
COLLECTED BY
Organization:Alexa Crawls
Starting in 1996,Alexa Internet has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to theWayback Machine after an embargo period.
Collection:Alexa Crawls
Starting in 1996,Alexa Internet has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to theWayback Machine after an embargo period.
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20110915172049/http://www.codeproject.com:80/KB/cpp/TextBoxValidated.aspx
Click here to Skip to main content
8,090,557 members and growing! (39,397 online)
EmailPassword Lost password?
Home
Search within:




Licence CPOL
First Posted 14 Feb 2005
Views 45,332
Downloads 92
Bookmarked 22 times

TextBoxValidated - A .NET Windows Forms Control

ByRobert R Freeman | 14 Feb 2005
A textbox control that will validate against any .NET datatype. Supports databinding, max, min, and null values.
 
See Also
Print Article
add
Add to your CodeProject bookmarks
Discuss
Discuss this article
9
  4.56 (11 votes)
1 vote, 9.1%
1

2

3
4 votes, 36.4%
4
6 votes, 54.5%
5
4.56/5 - 11 votes
1 removed
μ 4.35, σa 2.08 [?]
Sponsored Links

Sample Image - TextBoxValidated.jpg

Introduction

TheTextBoxValidatedcontrol is a textbox specifically designed for Databinding and Data Type validation. It will automatically regect any attempt to invalidate the value. Supports any of the .NET datatypes. Includesminandmaxvalue properties and events for notifications. Also automatically handles/setsnullvalues.

Usage

Use the setup file found in the source code's Installer/Release directory to install the control. Optionally restart your computer after installer completes to refresh your help file indexes.

Add the control to your toolbar.

Adding a control to the toolbox.

Drag the TextBoxValidated control from your toolbar onto your form.

The TextBoxValidated control in the toolbar.

Set the Validation properties.

Validation properties

If databinding, useSelectedValueinstead ofText. Set theAcceptNullsproperty tofalseif you want to use empty strings rather than nulls.

Databinding properties.

License

This article, along with any associated source code and files, is licensed underThe Code Project Open License (CPOL)

About the Author

Robert R Freeman

Chief Technology Officer
Kiefer Consulting
United States United States

Member
Sacramento, CA based Senior .Net and SharePoint Solution Architect forKiefer Consulting
(1-800-794-1928)
B.S. in Mathematics from UCDavis
.NET Wizard - Experts-Exchange
MCSD, MCTS: MOSS 2007 Config
 
Some of the bigger questions:
1. What is the meaning of my life?
To satisfy the purpose of your creator(s). (Meaning must derive from purpose. Those who create you, give you meaning.)
 
2. Who is my creator?
Ultimately, God is your creator. God designed and created the universe and everything in it. You and others in your life can also be a part of your creation, overriding or furthering God's purpose.
 
3. What is God's purpose for me?
To love and be loved by your creator and others and to enjoy the life you've been given.
This can be distinguished two ways.
a. Use your built in common sense (morality/feelings)
b. Use the creator's handbook. Fortunately our creator did not abandon us. He is with us now and even lived and died as one of us. Check out his biography in "The Bible"
 
Note on free-will vs. predetermination:
God exists outside the constraints of time. He exists at every point in time simultaneously and knew of your birth and every decision you will/have made. But this does not mean God predetermined any of it. Pre and post are time related concepts that do not apply to God. God always has been and always will be. He determines our universe to exist, gives it the parameters of natural law, and allows us to make our own way through it (free-will). Note that these are all present tense, it would be more appropriate to use past, present, and future tense combined. God's purpose is for us to love him and one another. But a prerequisite of love is the free-will to love. So even though God wants us to love him/others, he can not ensure it. He can, however, help us if we allow him to. A miracle is God modifying natural parameters in response to human will.

Sign Up to vote for this article
Add a reason or comment to your vote:x
Votes of 3 or less require a comment

Comments and Discussions

 
 RefreshFirstPrevNext
GeneralDeploying the dllmemberJordan Walters13:04 30 Aug '06  
GeneralRe: Deploying the dllmemberRobert R Freeman10:02 1 Sep '06  
GeneralFixed Decimal FormatmemberSSTELMAR12:05 15 Jun '06  
QuestionNice control..but I have a question?memberwalnutz15:42 25 Jan '06  
AnswerRe: Nice control..but I have a question?memberRobert R Freeman16:15 25 Jan '06  
GeneralRe: Nice control..but I have a question?memberHunter197312:01 10 Feb '06  
AnswerRe: Nice control..but I have a question?memberRobert R Freeman14:05 10 Feb '06  
JokeIncredible HelpmemberAsad Naeem0:11 16 Dec '05  
GeneralThanks : Very useful !memberkikos3121:41 22 Feb '05  
Last Visit: 19:00 31 Dec '99     Last Update: 8:20 15 Sep '111

General General   News News   Suggestion Suggestion   Question Question   Bug Bug   Answer Answer   Joke Joke   Rant Rant   Admin Admin   

Permalink |Advertise |Privacy |Mobile
|Web24 |2.3.110913.1
Article Copyright 2005 by Robert R Freeman
Everything elseCopyright ©CodeProject, 1999-2011
Terms of Use
Layout:fixed|fluid

The Daily Insider

[8]ページ先頭

©2009-2025 Movatter.jp