Click here to Skip to main content
15,887,434 members
Home / Discussions / C#
   

C#

 
QuestionEnable/Disable rows in CheckedListBox Pin
spelltwister11-Sep-08 6:48
spelltwister11-Sep-08 6:48 
AnswerRe: Enable/Disable rows in CheckedListBox Pin
Dave Sexton11-Sep-08 7:25
Dave Sexton11-Sep-08 7:25 
GeneralRe: Enable/Disable rows in CheckedListBox Pin
spelltwister12-Sep-08 16:23
spelltwister12-Sep-08 16:23 
GeneralRe: Enable/Disable rows in CheckedListBox Pin
Dave Sexton13-Sep-08 3:45
Dave Sexton13-Sep-08 3:45 
QuestionAuto-update Manager Pin
spelltwister11-Sep-08 6:46
spelltwister11-Sep-08 6:46 
AnswerRe: Auto-update Manager Pin
Dave Sexton11-Sep-08 7:27
Dave Sexton11-Sep-08 7:27 
GeneralRe: Auto-update Manager Pin
spelltwister12-Sep-08 16:24
spelltwister12-Sep-08 16:24 
QuestionError Connecting To Oracle Database Pin
Kevin Marois11-Sep-08 6:42
professionalKevin Marois11-Sep-08 6:42 
I have the following code:
string sProvider = "msdaora";
string sServer	 = "CIS-SERVER";
string sDatabase = "ORA92SID";
string sUserName = "kevin";
string sPassword = "abcdefg";

string sConnStr = 
    "Provider = " + sProvider +
    ";Data Source =" + sDatabase +
    ";User Id =" + sUserName +
    ";Password =" + sPassword + ";";

OleDbConnection oConn = new OleDbConnection();
oConn.ConnectionString = sConnStr;

try
{
	oConn.Open();
}
catch (OleDbException e)
{
	Console.WriteLine(e.Message);
}


I am getting the error "ORA-12154: TNS:could not resolve service name".

I'm new to Oracle so I don't know what this means. I don't think there's an Oracle provider for .Net installed on this PC, so I'm guessing I'll have to use the default MS provider 'msdaora'.

Of course, I could be totally lost here too.

Everything makes sense in someone's mind

AnswerRe: Error Connecting To Oracle Database Pin
Mbah Dhaim11-Sep-08 6:59
Mbah Dhaim11-Sep-08 6:59 
AnswerRe: Error Connecting To Oracle Database Pin
Wendelius11-Sep-08 8:38
mentorWendelius11-Sep-08 8:38 
QuestionHow to search data on DataGridView? Pin
nhatvhm11-Sep-08 5:54
nhatvhm11-Sep-08 5:54 
QuestionRe: How to search data on DataGridView? Pin
Dave Sexton11-Sep-08 7:32
Dave Sexton11-Sep-08 7:32 
QuestionTTS [modified] Pin
kemalsirin11-Sep-08 4:38
kemalsirin11-Sep-08 4:38 
QuestionRe: TTS Pin
led mike11-Sep-08 4:42
led mike11-Sep-08 4:42 
QuestionHow can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:30
Mohammad Dayyan11-Sep-08 4:30 
AnswerRe: How can we get ImageFormat of an image ? Pin
Ennis Ray Lynch, Jr.11-Sep-08 4:38
Ennis Ray Lynch, Jr.11-Sep-08 4:38 
AnswerRe: How can we get ImageFormat of an image ? Pin
Manas Bhardwaj11-Sep-08 4:38
professionalManas Bhardwaj11-Sep-08 4:38 
GeneralRe: How can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:59
Mohammad Dayyan11-Sep-08 4:59 
GeneralRe: How can we get ImageFormat of an image ? [modified] Pin
Ennis Ray Lynch, Jr.11-Sep-08 5:12
Ennis Ray Lynch, Jr.11-Sep-08 5:12 
GeneralRe: How can we get ImageFormat of an image ? Pin
Manas Bhardwaj11-Sep-08 22:19
professionalManas Bhardwaj11-Sep-08 22:19 
Generallmao Pin
Ennis Ray Lynch, Jr.11-Sep-08 23:05
Ennis Ray Lynch, Jr.11-Sep-08 23:05 
AnswerRe: How can we get ImageFormat of an image ? Pin
led mike11-Sep-08 4:39
led mike11-Sep-08 4:39 
GeneralRe: How can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:48
Mohammad Dayyan11-Sep-08 4:48 
QuestionSmtpClient.Send Pin
Dewald11-Sep-08 4:25
Dewald11-Sep-08 4:25 
AnswerRe: SmtpClient.Send Pin
Manas Bhardwaj11-Sep-08 4:42
professionalManas Bhardwaj11-Sep-08 4:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.