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

ASP.NET

 
AnswerRe: VS 2008 http 404 page not found error Pin
Jack Li9-Mar-09 5:18
Jack Li9-Mar-09 5:18 
QuestionUpdate command? Pin
Karthick_gc9-Mar-09 0:55
Karthick_gc9-Mar-09 0:55 
QuestionRe: Update command? Pin
Mark Graham9-Mar-09 1:08
Mark Graham9-Mar-09 1:08 
AnswerRe: Update command? Pin
Abhishek Sur9-Mar-09 3:52
professionalAbhishek Sur9-Mar-09 3:52 
Questionhow to show excel file from data base which stored in binary form? Pin
anujbanka17849-Mar-09 0:42
anujbanka17849-Mar-09 0:42 
AnswerRe: how to show excel file from data base which stored in binary form? Pin
Greg Chelstowski9-Mar-09 2:41
Greg Chelstowski9-Mar-09 2:41 
GeneralRe: how to show excel file from data base which stored in binary form? Pin
anujbanka17849-Mar-09 18:57
anujbanka17849-Mar-09 18:57 
QuestionError handling ..... Pin
Sasmi_Office9-Mar-09 0:32
Sasmi_Office9-Mar-09 0:32 
Dear Friend,

I have created an project in which most of the time i use Try Catch block to catch error's syntax as follows

Try<br />
{<br />
   //Some Code goes here.<br />
}<br />
Catch(Exception ex)<br />
{<br />
   throw new Exception(ex.message);<br />
}


But when any error occurred it give me message which is not user friendly, i want it in simple and understand manner, for that i think to create a class which will be business logic class between interface and Error handling Class (using inherit method), but for that i have to change the following code as User define code.

//Previous Code
Catch(Exception ex)<br />
{<br />
   throw new Exception(ex.message);<br />
}<br />

//User Define Code
Catch(MyException ex)<br />
{<br />
   throw new Exception(ex.message);<br />
}


which is time consuming, can it possible to create an class which does not required to change the code but still complete my requirement???

Thanks in advanced.

Sasmi
AnswerRe: Error handling ..... Pin
rakeshs3129-Mar-09 1:18
rakeshs3129-Mar-09 1:18 
Questionpopulate textboxes from database.. [modified] Pin
scar_face9-Mar-09 0:23
scar_face9-Mar-09 0:23 
AnswerRe: populate textboxes from database.. Pin
Abhijit Jana9-Mar-09 4:50
professionalAbhijit Jana9-Mar-09 4:50 
GeneralRe: populate textboxes from database.. Pin
scar_face9-Mar-09 19:01
scar_face9-Mar-09 19:01 
Question[newbie] Anonymous Identification Pin
jon-808-Mar-09 23:43
professionaljon-808-Mar-09 23:43 
AnswerRe: [newbie] Anonymous Identification Pin
Christian Graus8-Mar-09 23:48
protectorChristian Graus8-Mar-09 23:48 
GeneralRe: [newbie] Anonymous Identification Pin
jon-809-Mar-09 0:03
professionaljon-809-Mar-09 0:03 
QuestionHello....no reply for my question.... Pin
Krishna Varadharajan8-Mar-09 22:35
Krishna Varadharajan8-Mar-09 22:35 
AnswerRe: Hello....no reply for my question.... Pin
Christian Graus8-Mar-09 23:45
protectorChristian Graus8-Mar-09 23:45 
AnswerRe: Hello....no reply for my question.... Pin
Abhishek Sur8-Mar-09 23:49
professionalAbhishek Sur8-Mar-09 23:49 
AnswerRe: Hello....no reply for my question.... Pin
fred_10-Mar-09 8:53
fred_10-Mar-09 8:53 
Questionthrough gridview update table and also save value in onther table Pin
prateekfgiet8-Mar-09 21:38
prateekfgiet8-Mar-09 21:38 
AnswerRe: gridview editing Pin
Abhijit Jana8-Mar-09 21:43
professionalAbhijit Jana8-Mar-09 21:43 
GeneralRe: gridview editing Pin
prateekfgiet8-Mar-09 21:54
prateekfgiet8-Mar-09 21:54 
GeneralRe: gridview editing Pin
N a v a n e e t h8-Mar-09 21:59
N a v a n e e t h8-Mar-09 21:59 
GeneralRe: gridview editing Pin
prateekfgiet8-Mar-09 22:13
prateekfgiet8-Mar-09 22:13 
GeneralRe: gridview editing Pin
Abhijit Jana8-Mar-09 22:08
professionalAbhijit Jana8-Mar-09 22:08 

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.