how can i apply validation without using errorprovider in
C# windows application

Answer Posted / simran_8185@rediff.com

u can directly apply validation at property

using System.windows.forms;

set
{
if(value.length==0)
{
messagebox.show("error message")
}
variablenmame=value;
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the work of 1tier,2tier,&ntier? Plz Explain it!

2041


Please describe an example where you used object orientation in one of your programs.

1495


i want to improve my english vocab for racking campus written exam plz tell me best book for prepration......

1711


What is SOLID Principle in Programming Language?

660


How to print No.of.rows affected after updation using ADO.Net

2481






how do i add a column dynamically in a table by using java application?

1552


One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)

3001


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1708


Write a program to find whether a given number is prime or not.

615


Why did you ever become involved in QA/testing?

1612


can we extend a class having only one parameterised constructor.Suggest the process to do it.

2061


How will you prove that java swing is multithreaded?

1699


Hello Experts, What is the difference between move and move corresponding exactly? please post me asap

1338


what is the certificates in biztalk?

1433


1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?

1920