Click here to Skip to main content
15,881,281 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMerge between VB & C# [modified] Pin
Abdullah S. Abdelhay11-Oct-10 1:53
Abdullah S. Abdelhay11-Oct-10 1:53 
AnswerRe: Merge between VB & C# Pin
Brij11-Oct-10 2:40
mentorBrij11-Oct-10 2:40 
AnswerRe: Merge between VB & C# Pin
Abhijit Jana11-Oct-10 7:59
professionalAbhijit Jana11-Oct-10 7:59 
GeneralRe: Merge between VB & C# [WORKED] Pin
Abdullah S. Abdelhay12-Oct-10 23:59
Abdullah S. Abdelhay12-Oct-10 23:59 
AnswerRe: Merge between VB & C# (WORKED) [modified] Pin
Abdullah S. Abdelhay11-Oct-10 23:11
Abdullah S. Abdelhay11-Oct-10 23:11 
GeneralRe: Merge between VB & C# (WORKED) Pin
Ankur\m/12-Oct-10 21:50
professionalAnkur\m/12-Oct-10 21:50 
Questionexception handling in BLL? Pin
srisairam10-Oct-10 21:13
srisairam10-Oct-10 21:13 
AnswerRe: exception handling in BLL? Pin
Eduard Keilholz10-Oct-10 21:27
Eduard Keilholz10-Oct-10 21:27 
Make your method return a value which you can use to determine wether the business logic code succeeded or not

public bool DoSomething()
{
    bool result = false;
    try
    {
        // Do something
        result = true;
    }
    catch
    {
        result = false;
    }
    return result;
}


and then on your asp page check wether the function failed or not

if (DoSomething())
{
    // DoSomething went fine...
}
else
{
    Respone.Redirect("Error.aspx");
}

.: I love it when a plan comes together :.
http://www.zonderpunt.nl

GeneralRe: exception handling in BLL? Pin
srisairam11-Oct-10 0:01
srisairam11-Oct-10 0:01 
AnswerRe: exception handling in BLL? Pin
Not Active11-Oct-10 2:42
mentorNot Active11-Oct-10 2:42 
QuestionDate control in Dropdownlist Pin
Dineshrai200910-Oct-10 21:07
Dineshrai200910-Oct-10 21:07 
AnswerRe: Date control in Dropdownlist Pin
Brij11-Oct-10 0:50
mentorBrij11-Oct-10 0:50 
GeneralRe: Date control in Dropdownlist Pin
Dineshrai200911-Oct-10 21:23
Dineshrai200911-Oct-10 21:23 
AnswerRe: Date control in Dropdownlist Pin
Sneha Bisht11-Oct-10 23:00
Sneha Bisht11-Oct-10 23:00 
GeneralRe: Date control in Dropdownlist Pin
Ravi Sant3-May-11 0:21
Ravi Sant3-May-11 0:21 
QuestionEditable GridView Pin
treuveni10-Oct-10 4:23
treuveni10-Oct-10 4:23 
AnswerRe: Editable GridView Pin
Not Active10-Oct-10 4:40
mentorNot Active10-Oct-10 4:40 
GeneralRe: Editable GridView Pin
treuveni11-Oct-10 0:05
treuveni11-Oct-10 0:05 
GeneralRe: Editable GridView Pin
Not Active11-Oct-10 2:11
mentorNot Active11-Oct-10 2:11 
GeneralRe: Editable GridView Pin
treuveni11-Oct-10 7:24
treuveni11-Oct-10 7:24 
AnswerRe: Editable GridView Pin
Steve Echols13-Oct-10 7:14
Steve Echols13-Oct-10 7:14 
AnswerRe: Editable GridView Pin
MasttsaM18-Oct-10 0:48
MasttsaM18-Oct-10 0:48 
QuestionAjax app with tabs Pin
Haim Nachum9-Oct-10 9:34
Haim Nachum9-Oct-10 9:34 
AnswerRe: Ajax app with tabs Pin
Not Active9-Oct-10 19:37
mentorNot Active9-Oct-10 19:37 
QuestionResponse.Redirect(url, bool) Pin
Tamimi - Code9-Oct-10 6:11
Tamimi - Code9-Oct-10 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.