Link to home
Start Free TrialLog in
Avatar of Fraser_Admin
Fraser_AdminFlag for Canada

asked on

converting a vs 2003 ap to vs 2010

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
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

No.  For an ASP.Net app, unless you changed the underlying .NET Framework, there's no coversion necessary.
Avatar of Fraser_Admin

ASKER

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?
Yes, in the Property Pages for the web site, in the "Build" section, set the Target Framework to whatever you want to use.
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??
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And it exists in 3.5 as well. I think its the DataGrid in winforms that was replaced by DataGridView.