Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
Stop a method after error.
dbz dbz
Apr 2 2016 7:43 AM
435
Reply
Hi Guys,
I'm having a trouble in stop or repeating a method after another method is failed...
what is my code :-
void method1()
{ //code }
void method2()
{ fetchdata() }
void method3()
{ fetchdata2() }
void fetchdata()
{ //code }
void fetchdata2()
{ //code }
void button_click()
{ method1(); method2(); method3(); }
so my issue is if fetchdata1() returns null then either process repeat itself or stop don't go to method3() and forward.
Can anybody help me please.. Thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
Ask about resizing between 2 pannel ?
How i implement row filter property in textbox for grid ?