Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
QuestionIDENT_CURRENT Pin
devvvy12-Apr-10 22:47
devvvy12-Apr-10 22:47 
AnswerRe: IDENT_CURRENT Pin
Pete O'Hanlon12-Apr-10 23:01
mvePete O'Hanlon12-Apr-10 23:01 
AnswerRe: IDENT_CURRENT Pin
Tim Yen13-Apr-10 3:04
Tim Yen13-Apr-10 3:04 
AnswerRe: IDENT_CURRENT Pin
PIEBALDconsult13-Apr-10 4:09
mvePIEBALDconsult13-Apr-10 4:09 
QuestionShow image on upload [modified] Pin
DX Roster12-Apr-10 21:53
DX Roster12-Apr-10 21:53 
AnswerRe: Show image on upload Pin
Gaurav Dudeja India13-Apr-10 1:23
Gaurav Dudeja India13-Apr-10 1:23 
GeneralRe: Show image on upload Pin
DX Roster13-Apr-10 4:21
DX Roster13-Apr-10 4:21 
QuestionODBC Connection Problem Pin
mjawadkhatri12-Apr-10 21:08
mjawadkhatri12-Apr-10 21:08 
Hi.
I try to connect sql server 2005 through OBDC connection bt i face a error please give me some solution, i face this error

ERROR [08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
ERROR [01000] [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).

my Coding is

OdbcConnection conn = new OdbcConnection("Driver={SQL Server};Server=test;UID=sa;PWD=java;");// test is my ODBC connection name
string query = "INSERT INTO test VALUES ('" + textBox1.Text + "','" + textBox2.Text + "')";
OdbcCommand cmd = new OdbcCommand(query, conn);
try
{
conn.Open();
cmd.ExecuteNonQuery();
MessageBox.Show("Record Inserted.");
}
finally
{
conn.Close();
}
AnswerRe: ODBC Connection Problem Pin
Abhinav S12-Apr-10 21:43
Abhinav S12-Apr-10 21:43 
GeneralRe: ODBC Connection Problem Pin
mjawadkhatri12-Apr-10 21:53
mjawadkhatri12-Apr-10 21:53 
GeneralRe: ODBC Connection Problem Pin
BoomRShine13-Apr-10 5:58
BoomRShine13-Apr-10 5:58 
AnswerRe: ODBC Connection Problem Pin
Rajesh Anuhya12-Apr-10 21:59
professionalRajesh Anuhya12-Apr-10 21:59 
AnswerRe: ODBC Connection Problem Pin
Som Shekhar12-Apr-10 22:52
Som Shekhar12-Apr-10 22:52 
AnswerRe: ODBC Connection Problem Pin
Morgs Morgan13-Apr-10 4:35
Morgs Morgan13-Apr-10 4:35 
AnswerRe: ODBC Connection Problem Pin
yu-jian15-Apr-10 6:41
yu-jian15-Apr-10 6:41 
Questionoledbdatareader Pin
sachees12312-Apr-10 20:40
sachees12312-Apr-10 20:40 
AnswerRe: oledbdatareader Pin
Abhinav S12-Apr-10 21:08
Abhinav S12-Apr-10 21:08 
GeneralRe: oledbdatareader Pin
sachees12312-Apr-10 21:34
sachees12312-Apr-10 21:34 
QuestionStack Trace incorrect in release mode Pin
KaurGurpreet12-Apr-10 20:22
KaurGurpreet12-Apr-10 20:22 
AnswerRe: Stack Trace incorrect in release mode Pin
Martin Jarvis12-Apr-10 20:54
Martin Jarvis12-Apr-10 20:54 
GeneralRe: Stack Trace incorrect in release mode Pin
KaurGurpreet12-Apr-10 21:02
KaurGurpreet12-Apr-10 21:02 
GeneralRe: Stack Trace incorrect in release mode Pin
Martin Jarvis12-Apr-10 21:06
Martin Jarvis12-Apr-10 21:06 
GeneralRe: Stack Trace incorrect in release mode Pin
KaurGurpreet12-Apr-10 21:26
KaurGurpreet12-Apr-10 21:26 
GeneralRe: Stack Trace incorrect in release mode Pin
KaurGurpreet12-Apr-10 22:50
KaurGurpreet12-Apr-10 22:50 
GeneralRe: Stack Trace incorrect in release mode Pin
Martin Jarvis12-Apr-10 22:58
Martin Jarvis12-Apr-10 22:58 

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.