Click here to Skip to main content
15,846,976 members
Home / Discussions / C#
   

C#

 
QuestionC# ATTNDACE Pin
villanueva bryan17-Mar-20 13:01
villanueva bryan17-Mar-20 13:01 
AnswerRe: C# ATTNDACE Pin
OriginalGriff17-Mar-20 13:33
mveOriginalGriff17-Mar-20 13:33 
Questionproblem to retrieve an info in a sql request / problème pour recéper une info dans une requête sql Pin
ago248616-Mar-20 7:53
ago248616-Mar-20 7:53 
AnswerRe: problem to retrieve an info in a sql request / problème pour recéper une info dans une requête sql Pin
OriginalGriff16-Mar-20 7:59
mveOriginalGriff16-Mar-20 7:59 
GeneralRe: problem to retrieve an info in a sql request / problème pour recéper une info dans une requête sql Pin
ago248616-Mar-20 8:08
ago248616-Mar-20 8:08 
GeneralRe: problem to retrieve an info in a sql request / problème pour recéper une info dans une requête sql Pin
OriginalGriff16-Mar-20 8:10
mveOriginalGriff16-Mar-20 8:10 
GeneralRe: problem to retrieve an info in a sql request / problème pour recéper une info dans une requête sql Pin
ago248616-Mar-20 8:10
ago248616-Mar-20 8:10 
Generalrecording problem Pin
ago248617-Mar-20 1:47
ago248617-Mar-20 1:47 
hello sir all my apologies for the delay ... i was putting my code clean as you advised me. I have an error like microsoft jet engine


try
                        {
                            setConnection();
                            sql_con.Open();
                            using (sql_cmd = sql_con.CreateCommand())
                            {
                                string txtQuery = "INSERT INTO Detail_temp (ref_det, qute_det, Designation, Prix_unitaire_HT, Prix_total_HT) VALUES (@ref_det,@qute_det,@Designation,@Prix_unitaire_HT,@Prix_total_HT)";
                                sql_cmd.Parameters.AddWithValue("@ref_det", TxtRefProduit.Text);
                                sql_cmd.Parameters.AddWithValue("@qute_det", TxtQteCmd.Text);
                                sql_cmd.Parameters.AddWithValue("@Designation", TxtDesignation.Text);
                                sql_cmd.Parameters.AddWithValue("@Prix_unitaire_HT", TxtPrixUnitaire.Text);
                                sql_cmd.Parameters.AddWithValue("@Prix_total_HT", total);
                                sql_cmd = new OleDbCommand(txtQuery, sql_con);
                                sql_cmd.ExecuteNonQuery();
                                //ExecuteQuery(txtQuery);
                            }
                        }
                        catch(OleDbException ex)
                        {
                            MessageBox.Show(ex.Source);
                        }

GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 2:24
mveOriginalGriff17-Mar-20 2:24 
GeneralRe: recording problem Pin
ago248617-Mar-20 3:07
ago248617-Mar-20 3:07 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 3:13
mveOriginalGriff17-Mar-20 3:13 
GeneralRe: recording problem Pin
ago248617-Mar-20 3:21
ago248617-Mar-20 3:21 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 3:34
mveOriginalGriff17-Mar-20 3:34 
GeneralRe: recording problem Pin
ago248617-Mar-20 3:40
ago248617-Mar-20 3:40 
GeneralRe: recording problem Pin
ago248617-Mar-20 3:43
ago248617-Mar-20 3:43 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 3:51
mveOriginalGriff17-Mar-20 3:51 
GeneralRe: recording problem Pin
ago248617-Mar-20 4:02
ago248617-Mar-20 4:02 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 4:17
mveOriginalGriff17-Mar-20 4:17 
GeneralRe: recording problem Pin
ago248617-Mar-20 4:24
ago248617-Mar-20 4:24 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 4:38
mveOriginalGriff17-Mar-20 4:38 
GeneralRe: recording problem Pin
ago248617-Mar-20 4:52
ago248617-Mar-20 4:52 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 5:08
mveOriginalGriff17-Mar-20 5:08 
GeneralRe: recording problem Pin
ago248617-Mar-20 5:28
ago248617-Mar-20 5:28 
GeneralRe: recording problem Pin
OriginalGriff17-Mar-20 5:31
mveOriginalGriff17-Mar-20 5:31 
GeneralRe: recording problem Pin
ago248617-Mar-20 5:39
ago248617-Mar-20 5:39 

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.