What is the raise event used for?
Answers were Sorted based on User's Feedback
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 |
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 |
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 garbage collection in .net? Explain the garbage collection process?
String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12
Is there any attempt system for microsoft technology papers?
What is value type and refernce type in .net?
What is .net assembly?
What are the similarities and difference between class and structure in .net?
What is concurrency? How will you avoid concurrency when dealing with dataset?
Explain what is a delegate?
Explain About GDI object ?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is view state?
How to instantiate a delegate?