Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > ExecuteWithResultsAndMessages using SQLDMO

Reply
Thread Tools

ExecuteWithResultsAndMessages using SQLDMO

 
 
alam_nadeem alam_nadeem is offline
Junior Member
Join Date: Aug 2007
Posts: 1
 
      08-29-2007
Hi Everybody,

I am trying to get Message back when using ExecuteWithResultsAndMessages method of SQLDMO but it is returning null.I donot know why it is coming null. Someone please help. It is required urgently.Thanks in advance

code is given below

SQLDMO.SQLServer oServer = new SQLDMO.SQLServerClass();
oServer.Connect("DATABASE-SERVER\\SQL2005","sa","abcd");
string result1=string.Empty;
oServer.ExecuteWithResultsAndMessages(line,line.Le ngth,out result1);
MessageBox.show(result1);

---Nadeem
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DispatchWithEvents not working for SQLDMO.Backup Chandra Python 0 09-28-2005 07:43 AM
Error page using the Application_Error void dosnt work when using DIV for a please wait message s_erez@hotmail.com ASP .Net 2 12-24-2004 12:11 PM
no code in webform using vs.net, but in webform using notepad timmso ASP .Net 1 12-12-2003 04:30 PM
Using GetOleDbSchemaTable to get SQL Server Field Description - using pete ASP .Net 1 08-29-2003 10:50 AM
Re: MVP? Index error on nested element using System.xml but NOT using msxml??? William F. Robertson, Jr. ASP .Net 1 06-25-2003 08:08 PM



Advertisments