Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
QuestionAssign Color to text in Rich Textbox Pin
Sajjad Leo16-Mar-09 1:58
Sajjad Leo16-Mar-09 1:58 
AnswerRe: Assign Color to text in Rich Textbox Pin
Blue_Boy16-Mar-09 2:08
Blue_Boy16-Mar-09 2:08 
AnswerRe: Assign Color to text in Rich Textbox Pin
AB777116-Mar-09 2:10
AB777116-Mar-09 2:10 
Questionhow to Merge two datatables in a dataset Pin
Nitin K16-Mar-09 1:40
Nitin K16-Mar-09 1:40 
AnswerRe: how to Merge two datatables in a dataset Pin
Russell Jones16-Mar-09 1:42
Russell Jones16-Mar-09 1:42 
GeneralRe: how to Merge two datatables in a dataset Pin
Nitin K16-Mar-09 1:51
Nitin K16-Mar-09 1:51 
GeneralRe: how to Merge two datatables in a dataset Pin
Russell Jones16-Mar-09 1:56
Russell Jones16-Mar-09 1:56 
QuestionAny idea why this error appears (SEH Exception) Pin
Matjaz-xyz16-Mar-09 1:31
Matjaz-xyz16-Mar-09 1:31 
I get http://www.postimage.org/image.php?v=Pq1N1qmr[^] <- this error on one of the computers.

Dont know why.

this is the code:

try
            {
                label12.ForeColor = Color.Black;
                string dbConnComm = "INSERT INTO Vnosi ([Dostava],[Skatla],[Barkoda],[Oznaka],[Skener],[Operater],[Datum],[PosnetkiV3],[PosnetkiM3],[Opombe]) VALUES ("
                + cmbDostava.Text + ", "
                + cmbSkatla.Text + ", '"
                + cmbBarkoda.Text + "', '"
                + cmbEnota.Text + "', '"
                + cmbSkener.Text + "', '"
                + cmbOperater.Text + "', '"
                + cmbDatum.Text + "', "
                + txtVA3.Text + ", "
                + txtMA3.Text + ", '"
                + txtOpombe.Text + "')";


                SqlConnection dbConn = new SqlConnection(sqlConnection);
                dbConn.Open();

                SqlCommand dbComm = new SqlCommand(dbConnComm, dbConn);
                dbComm.ExecuteNonQuery();
                dbConn.Close();
                label12.Text = "Uspešno vnešeno";
            }
            catch(Exception ex)
            {
                label12.ForeColor = Color.Red;
                label12.Text = "Napaka pri vnosu";

                MessageBox.Show("Napaka: " + ex.ToString());
            }


PC has framework 2.0 and 1.1
AnswerRe: Any idea why this error appears (SEH Exception) Pin
Michael Bookatz16-Mar-09 1:38
Michael Bookatz16-Mar-09 1:38 
AnswerRe: Any idea why this error appears (SEH Exception) Pin
Giorgi Dalakishvili16-Mar-09 2:29
mentorGiorgi Dalakishvili16-Mar-09 2:29 
GeneralRe: Any idea why this error appears (SEH Exception) Pin
Matjaz-xyz17-Mar-09 3:35
Matjaz-xyz17-Mar-09 3:35 
QuestionApplication.Idle Event Pin
saksp16-Mar-09 0:02
saksp16-Mar-09 0:02 
AnswerRe: Application.Idle Event Pin
DaveyM6916-Mar-09 0:20
professionalDaveyM6916-Mar-09 0:20 
AnswerRe: Application.Idle Event Pin
#realJSOP16-Mar-09 2:34
mve#realJSOP16-Mar-09 2:34 
QuestionTransparent through the label Pin
CodingLover15-Mar-09 23:00
CodingLover15-Mar-09 23:00 
AnswerRe: Transparent through the label Pin
Christian Graus15-Mar-09 23:22
protectorChristian Graus15-Mar-09 23:22 
AnswerRe: Transparent through the label Pin
Wael Dalloul15-Mar-09 23:23
Wael Dalloul15-Mar-09 23:23 
AnswerRe: Transparent through the label Pin
Michael Bookatz15-Mar-09 23:41
Michael Bookatz15-Mar-09 23:41 
Questionhandle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole15-Mar-09 22:53
sonukadole15-Mar-09 22:53 
AnswerRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon15-Mar-09 23:11
mvePete O'Hanlon15-Mar-09 23:11 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole15-Mar-09 23:15
sonukadole15-Mar-09 23:15 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon15-Mar-09 23:26
mvePete O'Hanlon15-Mar-09 23:26 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole16-Mar-09 0:09
sonukadole16-Mar-09 0:09 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon16-Mar-09 2:47
mvePete O'Hanlon16-Mar-09 2:47 
QuestionPreserving row pointer across an database update via a datatable Pin
jrgrobinson15-Mar-09 22:29
jrgrobinson15-Mar-09 22:29 

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.