Upgrade vs 2003 project to vs 2005 project

A

Aijun

Hi!

I have just upgraded my vs 2003 project to vs 2005 project for my web
application project. However, there are fews things that I need your help to
ensure that I have done things correctly and there are questions that need
your help. They are all related to my button event in the development
environment.

1. When I double clicked my button, it does not link to my exisiting event.
My solution here is in my event property, I link the button click event to
the exiting event call.
Question 1: Is that the right way to fix the button click event?

I also changed private to protected for the button event (for
example, protected void Button1_Click). Is that right? If I did not do so, my
web solution has run time error.

Question 2: Do I have changed all the button click event from
private to protected in Vs 2005?

2. When I double click my button, it goes to my code behind as I expected.
But instead of positioning the cursor in the first line of the code of the
button event, the cursor is pointing at the last line of the code - at }.
Question 3. Why that is the case? How can I make the correction so
that when I double click my button, it will goes to the first line of the
code of that event?

Thank you.

Aijun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top