All my questions in this topic related to asp.net 2.0
While working on some old project when i first opened it Visual studio asked me if i want to convert project from asp.net 2.0 to asp.net 3.5. Is it safe to chose yes ?
If i chosen no in the previous question, how can i later still convert it to asp.net 3.5 ? (Visual studio gave this option in the first place, so i guess it is possible to do later)
And the last question. Is is possible to bind GridView to the List object ?
Thanks a lot for the answers.
It’s safe to switch to a 3.5 site as long as you are going to deploy to a server that has 3.5.
2.0 sites can always be changed to 3.5 sites. You can remove the .suo file and reopen the solution, and I believe you will be reasked the question. Otherwise, right-click on the project in the solution explorer and pull up its properties page, then where it says target framework just change it to “Framework 3.5”.
As for a Gridivew, you can bind to a List.
Soming like: