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

What is the difference between an EXE and a DLL?

3 Answers   ABC, Hykin Solutions, Infoedge, Infosys, Polaris,


what are the 3 forms of a prolog term

0 Answers  


can we allocate memory for interface? if no then why?

0 Answers  


What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?

0 Answers  


what is posix?

1 Answers   HCL,






What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?

0 Answers  


which worker is involved in all the phases of SDLC?

1 Answers  


You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?

0 Answers   Amazon,


What are events in smartforms?

0 Answers   Accenture,


1) How can u create the table?

0 Answers   IBM,


Write 5 differences between Memory Reference Instruction and Register Reference Instruction.

1 Answers   TCS, TJM,


1Q) your current CTC (current taking currency)? 2Q) Your take home salary?(Monthly Drawing amount, According to your payslips/bank statement) 3Q) Your Expected CTC? 4Q) Your home take salary?

1 Answers  


Categories