Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
QuestionVery basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 17:05
wertyou23-Apr-07 17:05 
AnswerRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 17:27
Patrick Etc.23-Apr-07 17:27 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 17:37
wertyou23-Apr-07 17:37 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 17:45
Patrick Etc.23-Apr-07 17:45 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 18:04
wertyou23-Apr-07 18:04 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 18:27
Patrick Etc.23-Apr-07 18:27 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 18:42
wertyou23-Apr-07 18:42 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 18:45
Patrick Etc.23-Apr-07 18:45 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou24-Apr-07 14:53
wertyou24-Apr-07 14:53 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.24-Apr-07 15:09
Patrick Etc.24-Apr-07 15:09 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou24-Apr-07 15:30
wertyou24-Apr-07 15:30 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.24-Apr-07 15:49
Patrick Etc.24-Apr-07 15:49 
QuestionHow to enable internet explorer's "Disable script debugging option" thru code? Pin
engsrini23-Apr-07 16:25
engsrini23-Apr-07 16:25 
AnswerRe: How to enable internet explorer's "Disable script debugging option" thru code? Pin
Christian Graus23-Apr-07 16:41
protectorChristian Graus23-Apr-07 16:41 
GeneralRe: How to enable internet explorer's "Disable script debugging option" thru code? Pin
engsrini23-Apr-07 17:06
engsrini23-Apr-07 17:06 
Questionneed your help about datagridview Pin
phantanagu23-Apr-07 16:05
phantanagu23-Apr-07 16:05 
QuestionAppend WMV Files Pin
Muhammad Chitrali23-Apr-07 11:48
Muhammad Chitrali23-Apr-07 11:48 
AnswerRe: Append WMV Files Pin
Patrick Etc.23-Apr-07 14:40
Patrick Etc.23-Apr-07 14:40 
QuestionProblem with execute Stored Procedure from My app. Pin
hdv21223-Apr-07 11:05
hdv21223-Apr-07 11:05 
hi i have an app that work with Sql server 2005 Database,for insert to it i used Stored Procedure as "sp_AddToPersons" and use this code to insert action :

SqlConnection con = new SqlConnection(Properties.Settings.Default.ExpressDBConnectionString);<br />
            SqlCommand cmdInsert = new SqlCommand();<br />
            cmdInsert.CommandType = CommandType.StoredProcedure;<br />
            cmdInsert.CommandText = "sp_AddToPersons";<br />
            cmdInsert.Connection = con;<br />
<br />
            SqlParameter p1 = new SqlParameter("@personName", this.txt_name.Text);<br />
            SqlParameter p2 = new SqlParameter("@personFamily", this.txt_family.Text);<br />
            SqlParameter p3 = new SqlParameter("@personTel", this.txt_tel.Text);<br />
            SqlParameter p4 = new SqlParameter("@personAddress", this.txt_address.Text);<br />
<br />
            cmdInsert.Parameters.Add(p1);<br />
            cmdInsert.Parameters.Add(p2);<br />
            cmdInsert.Parameters.Add(p3);<br />
            cmdInsert.Parameters.Add(p4);<br />
<br />
            try<br />
            {<br />
                if (con.State == ConnectionState.Closed)<br />
                    con.Open();<br />
<br />
                cmdInsert.ExecuteNonQuery();                <br />
            }<br />
            catch (SqlException se)<br />
            {<br />
                MessageBox.Show(se.ToString());<br />
            }<br />
            finally<br />
            {<br />
                if (con.State == ConnectionState.Open)<br />
                    con.Close();<br />
                cmdInsert.Dispose();<br />
            }


but the table in my database was not update and don't insert to it, how to solve my problem ?
AnswerRe: Problem with execute Stored Procedure from My app. Pin
Colin Angus Mackay23-Apr-07 11:43
Colin Angus Mackay23-Apr-07 11:43 
AnswerRe: Problem with execute Stored Procedure from My app. Pin
Guffa23-Apr-07 13:54
Guffa23-Apr-07 13:54 
QuestionFileSystemWatcher Pin
hamidkhan23-Apr-07 10:41
hamidkhan23-Apr-07 10:41 
AnswerRe: FileSystemWatcher Pin
Dave Kreskowiak23-Apr-07 15:22
mveDave Kreskowiak23-Apr-07 15:22 
AnswerRe: FileSystemWatcher Pin
Keshav V. Kamat23-Apr-07 23:46
Keshav V. Kamat23-Apr-07 23:46 
QuestionRe: FileSystemWatcher Pin
hamidkhan24-Apr-07 1:13
hamidkhan24-Apr-07 1:13 

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.