Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 22:46
Andrei Straut18-Sep-12 22:46 
GeneralRe: How to upload an image to "google search by image" Pin
hosseinDolat19-Sep-12 0:41
hosseinDolat19-Sep-12 0:41 
GeneralRe: How to upload an image to "google search by image" Pin
Richard MacCutchan19-Sep-12 1:08
mveRichard MacCutchan19-Sep-12 1:08 
AnswerRe: How to upload an image to "google search by image" Pin
Eddy Vluggen18-Sep-12 22:28
professionalEddy Vluggen18-Sep-12 22:28 
GeneralRe: How to upload an image to "google search by image" Pin
hosseinDolat19-Sep-12 0:48
hosseinDolat19-Sep-12 0:48 
AnswerRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 22:43
Andrei Straut18-Sep-12 22:43 
AnswerRe: How to upload an image to "google search by image" Pin
Pete O'Hanlon19-Sep-12 4:46
mvePete O'Hanlon19-Sep-12 4:46 
QuestionC# Update SQL Database Pin
Mallbrig18-Sep-12 15:07
Mallbrig18-Sep-12 15:07 
Hello, I am converting a program from using comma delimited files to a compact database in 2010 Visual C#. I am a complete newbie in the Database arena but with the help of some of the examples on here and other sites I have gotten a basic start. The examples I found on some sites pointed me into setting up a dataset binding and updating the tables. This works with loading the files into my form but I am having trouble getting it back and staying saved. Below is my code so far. The form text will update the datagridview but after I close the program it will only show the previous data before I updated it. I know I am missing something. Any help is greatly appreciated.

Thanks!

C#
if (contactedtype == "update")
                {
                    DataRow[] customerRow =
                    fabCatDBDataSet.Tables["contactlist"].Select("contactID = '" + contactedcontactID + "'");
                    //put textboxes to table
                    customerRow[0]["title"] = contactedtitle;
                    customerRow[0]["firstname"] = contactedfirst;
                    customerRow[0]["lastname"] = contactedlast;
                    customerRow[0]["jobtitle"] = contactedjob;
                    customerRow[0]["phone"] = contactedtele;
                    customerRow[0]["fax"] = contactedfax;
                    customerRow[0]["cell"] = contactedcell;
                    customerRow[0]["email"] = contactedemail;
                    customerRow[0]["notes"] = contactednotes;
                    customerRow[0]["contactID"] = contactedcontactID;
                    customerRow[0]["clientlistID"] = contactedclientID;
                    //update and save
                    this.Validate();
                    this.contactlistBindingSource.EndEdit();
                    this.tableAdapterManager.UpdateAll(this.fabCatDBDataSet);
                }

AnswerRe: C# Update SQL Database Pin
PIEBALDconsult19-Sep-12 3:19
mvePIEBALDconsult19-Sep-12 3:19 
QuestionC# Side Scroller Development Pin
Paepay18-Sep-12 13:40
Paepay18-Sep-12 13:40 
AnswerRe: C# Side Scroller Development Pin
Ingo18-Sep-12 21:41
Ingo18-Sep-12 21:41 
Questionc# console programming Pin
Member 943884818-Sep-12 3:06
Member 943884818-Sep-12 3:06 
AnswerRe: c# console programming Pin
fjdiewornncalwe18-Sep-12 3:24
professionalfjdiewornncalwe18-Sep-12 3:24 
AnswerRe: c# console programming Pin
Shameel18-Sep-12 3:25
professionalShameel18-Sep-12 3:25 
AnswerRe: c# console programming Pin
Pete O'Hanlon18-Sep-12 3:42
mvePete O'Hanlon18-Sep-12 3:42 
AnswerRe: c# console programming Pin
BobJanova18-Sep-12 6:16
BobJanova18-Sep-12 6:16 
AnswerRe: c# console programming Pin
Paul Conrad18-Sep-12 6:27
professionalPaul Conrad18-Sep-12 6:27 
QuestionRe: c# console programming Pin
PIEBALDconsult18-Sep-12 8:56
mvePIEBALDconsult18-Sep-12 8:56 
AnswerRe: c# console programming Pin
Pete O'Hanlon18-Sep-12 9:48
mvePete O'Hanlon18-Sep-12 9:48 
GeneralRe: c# console programming Pin
PIEBALDconsult18-Sep-12 10:08
mvePIEBALDconsult18-Sep-12 10:08 
GeneralRe: c# console programming Pin
Pete O'Hanlon18-Sep-12 10:12
mvePete O'Hanlon18-Sep-12 10:12 
GeneralRe: c# console programming Pin
Member 943884820-Sep-12 0:04
Member 943884820-Sep-12 0:04 
GeneralRe: c# console programming Pin
Pete O'Hanlon20-Sep-12 0:16
mvePete O'Hanlon20-Sep-12 0:16 
GeneralRe: c# console programming Pin
Member 943884820-Sep-12 8:46
Member 943884820-Sep-12 8:46 
GeneralRe: c# console programming Pin
Pete O'Hanlon20-Sep-12 9:08
mvePete O'Hanlon20-Sep-12 9:08 

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.