Description of the Article
A Simple program to show connecting to an oracle database.
Source Code:
/***********************************************************************/
//Program Name : ADO Connection to Oracle
//Description: A Sample program to connect to the oracle database
//Created _disibledevent=
ADODataSetCommand(strSQL,strConn);
myCommand.FillDataSet(ds,"Buyer");
Console.WriteLine(ds.XML);
}
catch(ADOException e)
{
Console.WriteLine("Exception Occured :
{0}",e.Errors[0].Message);
}
}
}
最新评论