Click here to Skip to main content
15,913,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to select all table names Pin
cellardoor071610-Jun-06 0:49
cellardoor071610-Jun-06 0:49 
GeneralRe: how to select all table names Pin
albCode10-Jun-06 0:52
albCode10-Jun-06 0:52 
QuestioncomboBox Pin
andrei_dalcu10-Jun-06 0:02
andrei_dalcu10-Jun-06 0:02 
AnswerRe: comboBox Pin
albCode10-Jun-06 0:14
albCode10-Jun-06 0:14 
AnswerRe: comboBox Pin
Nafiseh Salmani10-Jun-06 22:49
Nafiseh Salmani10-Jun-06 22:49 
QuestionOpen/Save word documen in the server Pin
Member 22716559-Jun-06 22:08
Member 22716559-Jun-06 22:08 
AnswerRe: Open/Save word documen in the server Pin
Guffa9-Jun-06 23:22
Guffa9-Jun-06 23:22 
Questionradio button in windows form..urgt plzz.. Pin
r_e_h_a_n9-Jun-06 20:09
r_e_h_a_n9-Jun-06 20:09 
i made a form of student registration. here i create two radio buttons against gender (Male,Female), and create database connectivity of these two buttons, now when i click on radio button for male or female it gives me error that "number of query values and destination fields are not the same". how the entries of radio button goes in databse plz tell me. i'm so worried following is my code which use for database connectivity of radio buttons.
------------------------------------------------------------------------
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\C#Projects\\practice1\\db1.mdb;Persist Security Info=False");//("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\C#Projects\\practice1\\SMSDB.mdb;Persist Security Info=False");
con.Open();
string idata = "insert into db1 values('"+txtID.Text+"','"+rbmale.Text+"','"+rbfemale.Text+"')";
OleDbTransaction tx = con.BeginTransaction();
tx.Commit();
OleDbCommand cmd = new OleDbCommand(idata,con);
cmd.ExecuteNonQuery();
con.Close();
-------------------------------------------------------------------------

m.reehanmunir
AnswerRe: radio button in windows form..urgt plzz.. Pin
Christian Graus9-Jun-06 20:36
protectorChristian Graus9-Jun-06 20:36 
AnswerRe: radio button in windows form..urgt plzz.. Pin
malikjhangirahmed@hotmail.com10-Jun-06 8:53
malikjhangirahmed@hotmail.com10-Jun-06 8:53 
QuestionSmall Question about Remoting Pin
Alexandr Sergeevich Ilyin9-Jun-06 19:49
Alexandr Sergeevich Ilyin9-Jun-06 19:49 
QuestionIssue with ClickOnce and publishing to a http site Pin
Raffi Basmajian9-Jun-06 19:18
Raffi Basmajian9-Jun-06 19:18 
AnswerRe: Issue with ClickOnce and publishing to a http site Pin
g00fyman10-Jun-06 15:19
g00fyman10-Jun-06 15:19 
GeneralRe: Issue with ClickOnce and publishing to a http site Pin
Raffi Basmajian10-Jun-06 16:31
Raffi Basmajian10-Jun-06 16:31 
QuestionInserting BLOB into MySQL using ODBC in C# Pin
nagramana9-Jun-06 19:15
nagramana9-Jun-06 19:15 
Questionsolution tree access + custom project [modified] Pin
g00fyman9-Jun-06 17:03
g00fyman9-Jun-06 17:03 
AnswerRe: solution tree access + custom project Pin
Ed.Poore10-Jun-06 3:32
Ed.Poore10-Jun-06 3:32 
GeneralRe: solution tree access + custom project Pin
g00fyman10-Jun-06 15:17
g00fyman10-Jun-06 15:17 
GeneralRe: solution tree access + custom project Pin
Ed.Poore10-Jun-06 20:59
Ed.Poore10-Jun-06 20:59 
QuestionSwitch algorithm Pin
S.M.9-Jun-06 14:15
S.M.9-Jun-06 14:15 
QuestionDatabase without Server with C# Pin
error14089-Jun-06 12:03
error14089-Jun-06 12:03 
AnswerRe: Database without Server with C# Pin
Ravi Bhavnani9-Jun-06 12:12
professionalRavi Bhavnani9-Jun-06 12:12 
GeneralRe: Database without Server with C# Pin
error14089-Jun-06 12:17
error14089-Jun-06 12:17 
GeneralRe: Database without Server with C# Pin
Luis Alonso Ramos9-Jun-06 12:39
Luis Alonso Ramos9-Jun-06 12:39 
AnswerRe: Database without Server with C# Pin
Joshua Quick9-Jun-06 12:43
Joshua Quick9-Jun-06 12:43 

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.