Solved

converting a vs 2003 ap to vs 2010

Posted on 2013-01-28
7
267 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 33

Expert Comment

by:paulmacd
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 33

Expert Comment

by:paulmacd
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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 33

Accepted Solution

by:
paulmacd 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now