Click here to Skip to main content
15,904,652 members
Home / Discussions / C#
   

C#

 
QuestionAssignment Problem Pin
eyalle16-Dec-09 20:44
eyalle16-Dec-09 20:44 
AnswerRe: Assignment Problem Pin
eyalle16-Dec-09 22:17
eyalle16-Dec-09 22:17 
QuestionHow to separate word tables for differnet files Pin
@nisha 2n16-Dec-09 19:46
@nisha 2n16-Dec-09 19:46 
AnswerRe: How to separate word tables for differnet files Pin
Abhinav S16-Dec-09 21:53
Abhinav S16-Dec-09 21:53 
QuestionOn A Positive Note... Pin
Roger Wright16-Dec-09 19:22
professionalRoger Wright16-Dec-09 19:22 
AnswerRe: On A Positive Note... Pin
dan!sh 16-Dec-09 20:36
professional dan!sh 16-Dec-09 20:36 
AnswerRe: On A Positive Note... Pin
Rob Philpott16-Dec-09 23:03
Rob Philpott16-Dec-09 23:03 
AnswerRe: On A Positive Note... Pin
PIEBALDconsult17-Dec-09 5:10
mvePIEBALDconsult17-Dec-09 5:10 
Questionreport viewer Pin
ali- kanju216-Dec-09 19:22
ali- kanju216-Dec-09 19:22 
AnswerRe: report viewer Pin
ali- kanju216-Dec-09 20:22
ali- kanju216-Dec-09 20:22 
QuestionNNTP Coding Question... Pin
Member 259847816-Dec-09 17:41
Member 259847816-Dec-09 17:41 
AnswerRe: NNTP Coding Question... Pin
Migounette17-Dec-09 4:00
Migounette17-Dec-09 4:00 
QuestionCreating a Collection of Widgets Pin
cron-fed16-Dec-09 13:51
cron-fed16-Dec-09 13:51 
AnswerRe: Creating a Collection of Widgets Pin
PIEBALDconsult16-Dec-09 13:56
mvePIEBALDconsult16-Dec-09 13:56 
GeneralRe: Creating a Collection of Widgets Pin
cron-fed16-Dec-09 14:26
cron-fed16-Dec-09 14:26 
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
Paulo 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 

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.