Click here to Skip to main content
15,180,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 23:46
MemberAndrei Straut18-Sep-12 23:46 
GeneralRe: How to upload an image to "google search by image" Pin
hosseinDolat19-Sep-12 1:41
MemberhosseinDolat19-Sep-12 1:41 
GeneralRe: How to upload an image to "google search by image" Pin
Richard MacCutchan19-Sep-12 2:08
mveRichard MacCutchan19-Sep-12 2:08 
AnswerRe: How to upload an image to "google search by image" Pin
Eddy Vluggen18-Sep-12 23:28
professionalEddy Vluggen18-Sep-12 23:28 
GeneralRe: How to upload an image to "google search by image" Pin
hosseinDolat19-Sep-12 1:48
MemberhosseinDolat19-Sep-12 1:48 
AnswerRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 23:43
MemberAndrei Straut18-Sep-12 23:43 
AnswerRe: How to upload an image to "google search by image" Pin
Pete O'Hanlon19-Sep-12 5:46
mvaPete O'Hanlon19-Sep-12 5:46 
QuestionC# Update SQL Database Pin
Mallbrig18-Sep-12 16:07
MemberMallbrig18-Sep-12 16: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 4:19
professionalPIEBALDconsult19-Sep-12 4:19 
QuestionC# Side Scroller Development Pin
Paepay18-Sep-12 14:40
MemberPaepay18-Sep-12 14:40 
AnswerRe: C# Side Scroller Development Pin
Ingo18-Sep-12 22:41
MemberIngo18-Sep-12 22:41 
Questionc# console programming Pin
Member 943884818-Sep-12 4:06
MemberMember 943884818-Sep-12 4:06 
AnswerRe: c# console programming Pin
fjdiewornncalwe18-Sep-12 4:24
professionalfjdiewornncalwe18-Sep-12 4:24 
AnswerRe: c# console programming Pin
Shameel18-Sep-12 4:25
professionalShameel18-Sep-12 4:25 
AnswerRe: c# console programming Pin
Pete O'Hanlon18-Sep-12 4:42
mvaPete O'Hanlon18-Sep-12 4:42 
AnswerRe: c# console programming Pin
BobJanova18-Sep-12 7:16
MemberBobJanova18-Sep-12 7:16 
AnswerRe: c# console programming Pin
Paul Conrad18-Sep-12 7:27
professionalPaul Conrad18-Sep-12 7:27 
QuestionRe: c# console programming Pin
PIEBALDconsult18-Sep-12 9:56
professionalPIEBALDconsult18-Sep-12 9:56 
AnswerRe: c# console programming Pin
Pete O'Hanlon18-Sep-12 10:48
mvaPete O'Hanlon18-Sep-12 10:48 
GeneralRe: c# console programming Pin
PIEBALDconsult18-Sep-12 11:08
professionalPIEBALDconsult18-Sep-12 11:08 
GeneralRe: c# console programming Pin
Pete O'Hanlon18-Sep-12 11:12
mvaPete O'Hanlon18-Sep-12 11:12 
GeneralRe: c# console programming Pin
Member 943884820-Sep-12 1:04
MemberMember 943884820-Sep-12 1:04 
GeneralRe: c# console programming Pin
Pete O'Hanlon20-Sep-12 1:16
mvaPete O'Hanlon20-Sep-12 1:16 
GeneralRe: c# console programming Pin
Member 943884820-Sep-12 9:46
MemberMember 943884820-Sep-12 9:46 
GeneralRe: c# console programming Pin
Pete O'Hanlon20-Sep-12 10:08
mvaPete O'Hanlon20-Sep-12 10: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.