Solved

converting a vs 2003 ap to vs 2010

Posted on 2013-01-28
7
270 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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