473,408 Members | 1,601 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

validation process in winform

karthickkuchanur
156 100+
Iam developing visual studio window application i have lot o textbox in it how can i validate when the user enter the value,if it is in web form means i can easily validate using javascript.please help me how can test it whether if correct or not and another thing id iam not want to validate the testbox indivitually please sent me the logic using looping condition or something else
Dec 8 '07 #1
2 1362
khani
8
Iam developing visual studio window application i have lot o textbox in it how can i validate when the user enter the value,if it is in web form means i can easily validate using javascript.please help me how can test it whether if correct or not and another thing id iam not want to validate the testbox indivitually please sent me the logic using looping condition or something else
i cant understand your question completly. any how i am giving you a suggesstion.it can help you.
as you have told that you have a lot of textboxes.you can make a sub routien add handler to that sub routien for all textbox controle's key press events. like this

Public Function ValidateControle(you can mentioned Parameters here) hadles textbox1.keypress,textbox2.keypress............... ..................

'Here you will write your entire logic

End Function
now call this function at your required event.
Dec 8 '07 #2
karthickkuchanur
156 100+
i cant understand your question completly. any how i am giving you a suggesstion.it can help you.
as you have told that you have a lot of textboxes.you can make a sub routien add handler to that sub routien for all textbox controle's key press events. like this

Public Function ValidateControle(you can mentioned Parameters here) hadles textbox1.keypress,textbox2.keypress............... ..................

'Here you will write your entire logic

End Function
now call this function at your required event.
ya that what i want thank u
Dec 8 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: David Pope | last post by:
What's the best way to force validation on all controls on a winform whether or not they have been active? Thanks, D.
41
by: Gérard Talbot | last post by:
Cross-posted to: comp.infosystems.www.authoring.html and alt.html Followup-to: comp.infosystems.www.authoring.html 1- One day, I stumbled across a website that offers to validate webpages. What...
0
by: rob | last post by:
Hello, I have a DOS program that I need to execute from a WinForm application. This DOS program will take a long time to execute. During execution it prints out messages. While the DOS program...
3
by: Rob Bradford | last post by:
All. I'm fairly new to VB.Net, and VB in general so please bear with me. I have form with two or three controls that require validation on exit. I have done this by using the "leave" event of...
6
by: serge calderara | last post by:
Dear all, I have read that ASP.NET does double user input validation of control when they are place on the page. Once on teh client side and again from server side right ? Could explain how...
3
by: Bob Alston | last post by:
I have a routine to copy data to new versions of my app via insert into sql statements. Unfortunately, due to evolution of my app, sometimes the new version has more restrictive editing than an...
1
by: Marek | last post by:
Hi all, who can give me an answer on this question: how to validate controls on WinForm? So clicking on AceptButton does not return control from WinForm to program until all controls have proper...
8
by: Henrik | last post by:
Hi Is there any way to see what the System process is doing? We have developed an application running at a production site to measure and optimize the production. The application needs to be...
3
by: Water Cooler v2 | last post by:
Sorry for asking this beginner question. I've written DTDs so far and read about XML Schemas. I understand that they are a replacement of the DTD fundamentally, and therefore allow for the...
12
by: =?Utf-8?B?ZXAu?= | last post by:
What is preferred method to start an app process and then fill in form fields? The following prog does not compile (b/c AppActivate does not have the correct param):...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.