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



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

Answer / 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

More Programming Languages AllOther Interview Questions

6.int x=10; float y=20; a=x%2=? b=y%2=?

1 Answers  


How to rename A1-A30 datasets into B1-B30 using macros?

1 Answers   Icon,


Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?

0 Answers  


What is SOLID Principle in Programming Language?

0 Answers   NA,


write a sql qwery which include joining of two tables 4 marks mainframe

0 Answers  






is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...

0 Answers  


A combination of multiple keys defined in a physical file or logical file is called a _________ key

3 Answers   IBM,


how to stop execution of step 3 in a job mainframe

0 Answers  


. With the help of above table EMP, perform the following operation is sql. a) Add the new column “DEPTNO” b) Rename the table c) Update table d) Modify the table if column ‘SAL’ whose data type is number (10) and you want to enter varchar2 (15) . For example $USD 20 etc.

2 Answers  


Write a program to show polymorphism.

0 Answers   Genpact,


what diffrence between procedure and function?

3 Answers  


hi..this is kartheek..complted mca in 2009..but i dont have knowledge in programing..but to learn new language.. which one is suitable for me?is SAP or IBM mainframes is suitable for me..?if it suits how much will it costs..?pls answer...

0 Answers  


Categories