What is the raise event used for?

Answers were Sorted based on User's Feedback



What is the raise event used for?..

Answer / nagasaichand

The RaiseEvent statement raises an event previously declared
with the "Event" statement. Since only classes can raise
events, usage of this keyword is reserved for class modules,
forms and user controls.

Is This Answer Correct ?    7 Yes 0 No

What is the raise event used for?..

Answer / dhananjay yadav

Raise Event is used for raising events. ex raising control
event from main page .

Is This Answer Correct ?    3 Yes 3 No

What is the raise event used for?..

Answer / vini778

It is used for raising the error from sql statement
Eg shown below

IF @@TRANCOUNT>0 ROLLBACK TRANSACTION
Raise an error with the details of the
exception
DECLARE @ErrorMessage NVARCHAR
(
MAX
)
DECLARE @ErrorSeverity INT;
DECLARE
@ErrorState INT;
SELECT
@ErrorMessage=ERROR_MESSAGE
(
)
,
@ErrorSeverity=ERROR_SEVERITY
(
)
,
@ErrorState=ERROR_STATE
(
)
;
-- Use RAISERROR inside the CATCH
block to return error
-- information about the original
error that caused
-- execution to jump to the CATCH
block.
RAISERROR
(
@ErrorMessage,-- Message
text.
@ErrorSeverity,--
Severity.
@ErrorState -- State.
)
;

Is This Answer Correct ?    1 Yes 4 No

What is the raise event used for?..

Answer / manav

it is used to raise an application.

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More Dot Net General Interview Questions

Explain me what is .net web service?

0 Answers  


Give an example program for Getter /read-only methods in JAVA

1 Answers  


Which is the main Difference Between .Net 2003 and .Net 2005?

1 Answers  


Explain memory-mapped files.

0 Answers  


What security mechanisms to enforce for Authenticating and authorizing the users?

1 Answers  






Explain how viewstate is being formed and how it's stored on client in .net?

0 Answers  


What are the Characteristics of .NET?

1 Answers  


What are The Main Difference Between Client-server Based Applications and Web Based Applications

1 Answers   CTC,


What is interface and abstract class in .net?

0 Answers  


What is meant by globalization and localization?

0 Answers  


What are the similarities and difference between class and structure in .net?

0 Answers  


Is .net core managed code?

0 Answers  


Categories