Last post Nov 11, 2007 06:54 AM by Ado San
Nov 10, 2007 04:32 PM|Ado San|LINK
I wrote an application in VS.Net 2002 I think.
Anyhow, before I finished it our company movbed on to VS 2005. Trying to update it has turned out to be fun ( Not !)
In the past I used the following code to allow the user to search for an item using a text seaarch box , this was connected to an SQL query which worked well.
MasterGrid.SelectedIndex = 0
myDA.SelectCommand = myCommand
MasterGrid.DataSource = myDS
However , this does not work in VS 2005. Can someone please tell me what I need to allow a user to search. I have the following but it does not work
MasterGrid.DataSource = ds
Any help to fix the problem will be greatly received.
Nov 10, 2007 08:13 PM|albertpascual|LINK
Instead of converting the file, what you should do is opening the project with VS2005, is going to ask you if you want to convert the code to 2.0 so then everything will work after the convertion.
Hope this helps
Nov 11, 2007 06:54 AM|Ado San|LINK
OK, I'll give it a go - I'll let you know if I have a problem.