Re: [ADVANCED-DOTNET] command object

2003-06-18 Thread Richard Blewett
olved his problem. Regards Richard Blewett DevelopMentor -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Ferguson Sent: 17 June 2003 14:06 To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] command object What is the

Re: [ADVANCED-DOTNET] command object

2003-06-17 Thread Jeff Ferguson
What is the exact text of the exception that you catch when you execute the delete operation? Peer code review time: > connectionString = "Provider=SQLOLEDB;Data > Source=Ravi;Initial Catalog=Master;" + > "Integrated Security=SSPI;"; >} > >OleDbConnection connection = new OleDbC

Re: [ADVANCED-DOTNET] command object

2003-06-17 Thread Frans Bouma
I'd suggest you should use SQLDMO for database management like this. You can use SQLDMO straight from .NET and it has handy methods for dropping/creating/attaching etc databases and other sql server maintainance tasks. FB > I am working on c# I need a help on Command obect. > I am creating one d

[ADVANCED-DOTNET] command object

2003-06-17 Thread ravi shankar
I am working on c# I need a help on Command obect. I am creating one database ,adding a table adding a record and I am trying to delete the database .Its always telling that connection is opened. I can give you the code pls tell me any wrong. I dont know how to destroy Command object completely. I