Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
QuestionFocus on Child Form Pin
idreesbadshah25-Feb-07 23:51
idreesbadshah25-Feb-07 23:51 
AnswerRe: Focus on Child Form Pin
Jakub Mller25-Feb-07 23:53
Jakub Mller25-Feb-07 23:53 
GeneralRe: Focus on Child Form Pin
idreesbadshah25-Feb-07 23:59
idreesbadshah25-Feb-07 23:59 
GeneralRe: Focus on Child Form Pin
idreesbadshah26-Feb-07 0:03
idreesbadshah26-Feb-07 0:03 
Questionhow to make a dll COM visible? Pin
kzoly25-Feb-07 23:48
kzoly25-Feb-07 23:48 
AnswerRe: how to make a dll COM visible? Pin
Jakub Mller25-Feb-07 23:55
Jakub Mller25-Feb-07 23:55 
GeneralRe: how to make a dll COM visible? Pin
kzoly25-Feb-07 23:58
kzoly25-Feb-07 23:58 
GeneralRe: how to make a dll COM visible? Pin
Jakub Mller26-Feb-07 0:02
Jakub Mller26-Feb-07 0:02 
GeneralRe: how to make a dll COM visible? Pin
kzoly26-Feb-07 0:07
kzoly26-Feb-07 0:07 
Questionplease check the code.. there's an error in adding a record in the database... Pin
icesha25-Feb-07 23:42
icesha25-Feb-07 23:42 
OleDbConnection connect=new OleDbConnection();
connect.ConnectionString="Provider=DB2OLEDB; initial catalog=SAMPLE;integrated security=SSPI,user id=db2admin;password=eugene09";
connect.Open();
OleDbCommand cmd_save =new OleDbCommand("INSERT INTO test(name,year,course)"+"VALUES("+"'"+textBox1.Text+"'"+","+"'"+textBox2.Text+"'"+","+"'"+textBox3.Text+"'"+")",connect);
int intRow=cmd_save.ExecuteNonQuery();

if(intRow>0)
{
MessageBox.Show("Record added");

}
connect.Close();

this is a program i created adding a record in the database but their is no error but an exception, saying " DB2OLEDB is not existing in the local machine."

i think the problem is in the insert command. thanks for all the help!
AnswerRe: please check the code.. there's an error in adding a record in the database... Pin
Colin Angus Mackay25-Feb-07 23:50
Colin Angus Mackay25-Feb-07 23:50 
QuestionSimple Alarm in c# Pin
iamdking25-Feb-07 23:42
iamdking25-Feb-07 23:42 
AnswerRe: Simple Alarm in c# Pin
Colin Angus Mackay25-Feb-07 23:48
Colin Angus Mackay25-Feb-07 23:48 
GeneralRe: Simple Alarm in c# Pin
iamdking25-Feb-07 23:59
iamdking25-Feb-07 23:59 
GeneralRe: Simple Alarm in c# Pin
Colin Angus Mackay26-Feb-07 0:31
Colin Angus Mackay26-Feb-07 0:31 
QuestionBiztalk Pin
Chandana Subasinghe25-Feb-07 23:27
Chandana Subasinghe25-Feb-07 23:27 
AnswerRe: string[][] to string[] Pin
Christian Graus25-Feb-07 23:15
protectorChristian Graus25-Feb-07 23:15 
GeneralRe: string[][] to string[] Pin
Pete O'Hanlon26-Feb-07 1:53
mvePete O'Hanlon26-Feb-07 1:53 
QuestionVs2005 ToolBox incremental search/filter Pin
delta7x25-Feb-07 22:22
delta7x25-Feb-07 22:22 
Questionlocalization dll destination Pin
remi145625-Feb-07 21:53
remi145625-Feb-07 21:53 
AnswerRe: localization dll destination Pin
Stefan Troschuetz25-Feb-07 22:08
Stefan Troschuetz25-Feb-07 22:08 
QuestionRe: localization dll destination Pin
remi145625-Feb-07 23:21
remi145625-Feb-07 23:21 
AnswerRe: localization dll destination Pin
Stefan Troschuetz26-Feb-07 1:23
Stefan Troschuetz26-Feb-07 1:23 
Question[ANN] VTD-XML 2.0 Pin
Jimmy Zhang25-Feb-07 21:39
Jimmy Zhang25-Feb-07 21:39 
QuestionCurrentCell of DataGrid questions Pin
MachineMonk25-Feb-07 21:36
MachineMonk25-Feb-07 21:36 

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.