Hi,
I am making the leap from VS2003 to 2005. In the 03 version, I could open a
connection to a SQL 2000 database and drag a stored procedure to the form
designer and I would have created for me a sqlcommand and sqlconnection
object. In VS2005, when I drop a stored procedure onto the designer, I get a
drag-drop cursor, but no object appears on Mouse-Up. What I now have to do
is add a SQLCommand object from the toolbar, drop this onto the designer, set
its connection, indicate that it is a stored procedure. After all of this, I
am able to use a VERY SMALL drop down to choose which stored procedure or
function to use. After choosing my sproc, the parameters collection is NOT
populated. To get that to happen, I have to rename the sproc with the prefix
dbo. I am then asked to regenerate the parameters, which works.
I can't imagine that this behavior of the IDE is by design. Have I got
something in my environment that is not right? When I originally installed
VS2005, I had the release version of SQL Server 2005 on the box. I then
uninstalled SQL 2005, and installed SQL 2000 in its place. Could this be the
problem?
Thanks.

Signature
John
"Gary Chang[MSFT]" - 09 May 2006 07:12 GMT
Hi John,
Thank you posting!
>I can't imagine that this behavior of the IDE is by design.
>Have I got something in my environment that is not right?
You still can drag-drop SQL SP object in Visual Studio 2005 IDE, but unlike
VS2003, you need to create a dataset at first, then drag-drop a SP object
into its corresponding dataset's designer. You cannot add it to the Winform
designer directly. This new feature is by design in VS2005.
Thanks for your understanding.
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.