Click here to Skip to main content
15,879,239 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error starting window service Pin
PIEBALDconsult25-Jun-09 4:23
mvePIEBALDconsult25-Jun-09 4:23 
QuestionHow to have a FileSystemWatcher fire only 1 change event? Pin
Super Lloyd23-Jun-09 20:56
Super Lloyd23-Jun-09 20:56 
AnswerRe: How to have a FileSystemWatcher fire only 1 change event? Pin
Super Lloyd23-Jun-09 21:14
Super Lloyd23-Jun-09 21:14 
AnswerRe: How to have a FileSystemWatcher fire only 1 change event? Pin
Luc Pattyn23-Jun-09 21:16
sitebuilderLuc Pattyn23-Jun-09 21:16 
GeneralRe: How to have a FileSystemWatcher fire only 1 change event? Pin
Super Lloyd23-Jun-09 21:25
Super Lloyd23-Jun-09 21:25 
QuestionError In Connection Pin
rhtbhegade23-Jun-09 20:40
rhtbhegade23-Jun-09 20:40 
AnswerRe: Error In Connection Pin
padmanabhan N23-Jun-09 20:56
padmanabhan N23-Jun-09 20:56 
GeneralRe: Error In Connection Pin
rhtbhegade23-Jun-09 21:00
rhtbhegade23-Jun-09 21:00 
The Code Is


this.sqlConnection1.Open();
               if (sqlCommand1.Parameters.Count == 0)
               {
                   this.sqlCommand1.CommandText = "INSERT INTO tblImgData(ID," +
                                  " Name,Picture) values(@ID,@Name,@Picture)";
                   this.sqlCommand1.Parameters.Add("@ID",
                                    System.Data.SqlDbType.Int, 4);
                   this.sqlCommand1.Parameters.Add("@Name",
                                    System.Data.SqlDbType.VarChar, 50);
                   this.sqlCommand1.Parameters.Add("@Picture",
                                    System.Data.SqlDbType.Image);
               }

               this.sqlCommand1.Parameters["@ID"].Value = this.editID.Text;
               this.sqlCommand1.Parameters["@Name"].Value = this.editName.Text;
               this.sqlCommand1.Parameters["@Picture"].Value = this.m_barrImg;

               int iresult = this.sqlCommand1.ExecuteNonQuery();
               MessageBox.Show(Convert.ToString(iresult));

GeneralRe: Error In Connection Pin
Philip.F23-Jun-09 21:29
Philip.F23-Jun-09 21:29 
GeneralRe: Error In Connection Pin
rhtbhegade23-Jun-09 22:55
rhtbhegade23-Jun-09 22:55 
QuestionHow to get active window event Pin
Jacobb Michael23-Jun-09 19:37
Jacobb Michael23-Jun-09 19:37 
AnswerRe: How to get active window event Pin
Anubhava Dimri23-Jun-09 19:50
Anubhava Dimri23-Jun-09 19:50 
GeneralRe: How to get active window event Pin
Jacobb Michael24-Jun-09 1:18
Jacobb Michael24-Jun-09 1:18 
AnswerRe: How to get active window event Pin
Anubhava Dimri24-Jun-09 2:11
Anubhava Dimri24-Jun-09 2:11 
GeneralRe: How to get active window event Pin
Jacobb Michael24-Jun-09 2:18
Jacobb Michael24-Jun-09 2:18 
GeneralRe: How to get active window event Pin
Anubhava Dimri24-Jun-09 2:32
Anubhava Dimri24-Jun-09 2:32 
QuestionIs there any learning docs for begines? Pin
behesht23-Jun-09 19:01
behesht23-Jun-09 19:01 
AnswerRe: Is there any learning docs for begines? Pin
behesht23-Jun-09 19:22
behesht23-Jun-09 19:22 
GeneralRe: Is there any learning docs for begines? Pin
Anubhava Dimri23-Jun-09 19:42
Anubhava Dimri23-Jun-09 19:42 
AnswerRe: Is there any learning docs for begines? Pin
JollyMansArt23-Jun-09 19:29
JollyMansArt23-Jun-09 19:29 
QuestionXMODEM File Transfer Pin
Sifar - 023-Jun-09 18:41
Sifar - 023-Jun-09 18:41 
AnswerRe: XMODEM File Transfer Pin
Philip.F23-Jun-09 21:33
Philip.F23-Jun-09 21:33 
QuestionXML -- Call me stupid -- LOL [modified] Pin
JollyMansArt23-Jun-09 16:40
JollyMansArt23-Jun-09 16:40 
AnswerRe: XML -- Call me stupid -- LOL Pin
N a v a n e e t h23-Jun-09 18:13
N a v a n e e t h23-Jun-09 18:13 
QuestionRe: XML -- Call me stupid -- LOL [modified] Pin
JollyMansArt23-Jun-09 19:04
JollyMansArt23-Jun-09 19:04 

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.