Click here to Skip to main content
15,881,424 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a Collection of Widgets Pin
PIEBALDconsult16-Dec-09 17:09
mvePIEBALDconsult16-Dec-09 17:09 
AnswerRe: Creating a Collection of Widgets Pin
_Maxxx_16-Dec-09 14:29
professional_Maxxx_16-Dec-09 14:29 
AnswerRe: Creating a Collection of Widgets Pin
BillWoodruff16-Dec-09 15:30
professionalBillWoodruff16-Dec-09 15:30 
GeneralRe: Creating a Collection of Widgets Pin
Subin Mavunkal16-Dec-09 20:23
Subin Mavunkal16-Dec-09 20:23 
GeneralRe: Creating a Collection of Widgets Pin
cron-fed17-Dec-09 7:15
cron-fed17-Dec-09 7:15 
General[SOLVED]Re: Creating a Collection of Widgets Pin
cron-fed17-Dec-09 9:16
cron-fed17-Dec-09 9:16 
AnswerRe: Creating a Collection of Widgets [modified] Pin
BillWoodruff18-Dec-09 13:37
professionalBillWoodruff18-Dec-09 13:37 
QuestionUpdates wrong table in dataset Pin
Star0916-Dec-09 12:50
Star0916-Dec-09 12:50 
Hello,
System.Data.OleDb.OleDbCommandBuilder cb = new System.Data.OleDb.OleDbCommandBuilder(dAdapter);

 if (current_list == "list1")
{
    DataRow row = myset.Tables["list"].NewRow();

    int y;
    y = myset.Tables["list"].Rows.Count;

    row["ID"] = y + 1;
    row["word"] = s; // s is user input
    row["perc"] = 0.5;

     myset.Tables["list"].Rows.Add(row);

    dAdapter.Update(myset, "list");

}

I used break points to confirm that the data is updated here, however, for some reason when I check the database another table is updated instead of "list"

Where could be the problem? I checked the code several times, but I'm not sure Confused | :confused:
AnswerRe: Updates wrong table in dataset Pin
Paulo Zemek17-Dec-09 1:09
mvaPaulo Zemek17-Dec-09 1:09 
QuestionCan't multiply... Pin
o m n i16-Dec-09 10:57
o m n i16-Dec-09 10:57 
AnswerRe: Can't multiply... Pin
Richard MacCutchan16-Dec-09 11:04
mveRichard MacCutchan16-Dec-09 11:04 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 11:06
o m n i16-Dec-09 11:06 
GeneralRe: Can't multiply... Pin
loyal ginger16-Dec-09 11:23
loyal ginger16-Dec-09 11:23 
GeneralRe: Can't multiply... Pin
Richard MacCutchan16-Dec-09 11:43
mveRichard MacCutchan16-Dec-09 11:43 
AnswerRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 11:07
sitebuilderLuc Pattyn16-Dec-09 11:07 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 11:11
o m n i16-Dec-09 11:11 
GeneralRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 11:21
sitebuilderLuc Pattyn16-Dec-09 11:21 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 12:57
o m n i16-Dec-09 12:57 
GeneralRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 13:15
sitebuilderLuc Pattyn16-Dec-09 13:15 
QuestionString Placeholder/Templating Question Pin
Member 158975816-Dec-09 9:32
Member 158975816-Dec-09 9:32 
AnswerRe: String Placeholder/Templating Question Pin
Ian Shlasko16-Dec-09 10:47
Ian Shlasko16-Dec-09 10:47 
AnswerRe: String Placeholder/Templating Question Pin
PIEBALDconsult17-Dec-09 8:11
mvePIEBALDconsult17-Dec-09 8:11 
Questionsimple PAssword Policy Pin
THE SK16-Dec-09 9:16
THE SK16-Dec-09 9:16 
AnswerRe: simple PAssword Policy Pin
Luc Pattyn16-Dec-09 9:40
sitebuilderLuc Pattyn16-Dec-09 9:40 
GeneralRe: simple PAssword Policy Pin
THE SK16-Dec-09 9:55
THE SK16-Dec-09 9:55 

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.