Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

converting a vs 2003 ap to vs 2010

Posted on 2013-01-28
7
Medium Priority
?
291 Views
Last Modified: 2013-01-30
i have a datagrid control which i was expecting to run into problems with when i converted to 2010.

i created a 2010 solution and did an add existing web site to pull in the 2003 ap.  I was expecting the conversion wizard to come up but it didn't.  It came in without errors just a bunch of warnings.  So the ap runs fine...datagrid shows and everything.

So i'm wondering if there is a setting somewhere...maybe its my web.config? that is allowing this control to work.  I don't see the datagrid control in my toolbox, but if i view in design pane the control shows up fine.  

thanks
0
Comment
Question by:Fraser_Admin
  • 3
  • 2
  • 2
7 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 38828265
No.  For an ASP.Net app, unless you changed the underlying .NET Framework, there's no coversion necessary.
0
 

Author Comment

by:Fraser_Admin
ID: 38828280
where do i change the underlying framework.  i want to use 4.0 not the one that is commonly used with vs 2003.

if i right click on the web site and choose property pages the framework here shows as 4?
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 38828342
Yes, in the Property Pages for the web site, in the "Build" section, set the Target Framework to whatever you want to use.
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38830559
0
 

Author Comment

by:Fraser_Admin
ID: 38830656
I thought other aps I converted to .NET 3.5 chocked with datagrid.  Was it not allowed in 3.5 but now allowed in 4?  Funny I don't see it under the toolbox??
0
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 2000 total points
ID: 38830984
The <asp:datagrid> doesn't show up in the default toolbox, but it's still a valid control.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38832028
And it exists in 3.5 as well. I think its the DataGrid in winforms that was replaced by DataGridView.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question