How you handle it depends on the application. Without know how your app is desinged to function I would say to return the user to the page with some message indicating what has happened, i.e "Invalid data", "No record found", etc. Give them a chance to correct any entries. If there is nothing for them to correct, then possibly it would be appropriate to return the to the home page.
With the try/catch exception handling you can provide 'alternate' solutions to any problem that you anticipate in advance... for example, if the db connection fails, or if the page dosn't load, etc. you can do something else for the user so that they don't see some error page or message... my 2-cents
i want to put the calendar in my asp page but in our toolbox have but that is not suitable for web site,is there a tool it's like button or someting when we click that button it should display the calendar(Web Calander).Can anyone help for this pls.
Are sure that the code in the local dev box is the same as that in the live server? You might want to double check the web page with the button that does not work properly.
From my experience, this phenomenon happens with the ASP.NET 1.x, are you using this version? So you may consider using your own code to wire up the event handlers in code-behind instead of using the generated code. Another option is to use the inline code to register the event handler like you have tried, and it's also used by default in the ASP.NET 2.0
I'm not sure if it is actually a bug as I didn't see Microsoft claims about it or I just miss that. But they said, you might have the postback event problem, when you run your ASP.NET on multiple load-balanced servers and the .Net framework 1.1 SP1 has not been installed on all servers. Also when I found that VS 2003 sometimes deletes the auto-generated code containing the event handler registration, I managed to put it on my own.
I have made one State Machine workflow, which has got multiple stages, and sub stages which are linked with each other. Now each stage has event driven activity which handles external events. This is working fine when from my UI I invoke each event on different button click. Also I am persisting the state of the workflow in SQL database.
Now my requirement is on one button click, I want to invoke multiple events from multiple stages one by one and in the order I have defined in the workflow. After invoking the first event, when I am trying to invoke the second one, which is in next state, an error is generated.
'Event ConductInitialInterviews on interface type RecruitmentTracker.InterviewProcessService.IInterviewProcessService for instance id 050b6e1d-e0ad-4a29-92a2-76cf54862aeb" cannot be delivered.'
name, address, postal code, country, email, contact number.
My Access database is called vcalendar.mdb. I have a table called users that has the following text fields:
name, address, pcode, country, email, contact.
I need to know how to take the information from the web page and insert it into the database. Believe it or not, I can't seem to find any examples. I've seen a lot that say something like Value, Name, etc. but I haven't found any that show multiple values into an Access database using VisualBasic.
I hope someone can help me out with the backend codes.. thanks in advance.
but i'm not able to create a webform that allows insertion into database still.
i have tried various methods including using a datagrid, gridview, formview, dataview in asp.net. But im pretty confused at using an accessdata source and what not to write in the file.aspx.vb page?
Last Visit: 31-Dec-99 19:00 Last Update: 1-Mar-24 17:22