Click here to Skip to main content
16,008,010 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to raise sql messages in c# Pin
Not Active19-Jul-05 5:57
mentorNot Active19-Jul-05 5:57 
GeneralExcel automation Pin
Christer Claesson19-Jul-05 4:37
Christer Claesson19-Jul-05 4:37 
GeneralProblem with a dynamically loaded DLL Pin
chrismetcalf19-Jul-05 4:00
chrismetcalf19-Jul-05 4:00 
GeneralCOM Events with C# Pin
skai00719-Jul-05 3:31
skai00719-Jul-05 3:31 
GeneralControl Level Transparency Pin
Jaswinder Singh Kohli19-Jul-05 3:12
sussJaswinder Singh Kohli19-Jul-05 3:12 
GeneralRe: Control Level Transparency Pin
Roger Alsing19-Jul-05 3:35
Roger Alsing19-Jul-05 3:35 
GeneralUpdate Row Pin
zaboboa19-Jul-05 2:53
zaboboa19-Jul-05 2:53 
GeneralRe: Update Row Pin
Luis Alonso Ramos19-Jul-05 17:38
Luis Alonso Ramos19-Jul-05 17:38 
zaboboa wrote:
How can I insert it back into a dataset,

You don't.

What you get is a reference to a DataRow object. This same reference is contained in the Rows collection of the DataTable in the DataSet.

So, effectively, there's only one row object, and if you modify it somewhere, everybody who has a reference to that particular object will see the changes. In this case, since the DataTable (DataSets don't contain rows) has a reference to the same row you have, it will see the changes. You get the actual row, not a copy of it.

I hope this helps.

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

Generalcreating transparent window problem Pin
Member 161799919-Jul-05 2:42
Member 161799919-Jul-05 2:42 
GeneralRe: creating transparent window problem Pin
User 665819-Jul-05 4:40
User 665819-Jul-05 4:40 
GeneralRe: creating transparent window problem Pin
Member 161799919-Jul-05 4:47
Member 161799919-Jul-05 4:47 
GeneralThreads Pin
deeps2619-Jul-05 2:39
deeps2619-Jul-05 2:39 
GeneralRe: Threads Pin
maheswara19-Jul-05 2:57
maheswara19-Jul-05 2:57 
GeneralRe: Threads Pin
S. Senthil Kumar19-Jul-05 7:01
S. Senthil Kumar19-Jul-05 7:01 
Questionfill listview in different class and file? Pin
oleman10819-Jul-05 2:18
oleman10819-Jul-05 2:18 
GeneralComboBox Event Pin
zaboboa19-Jul-05 2:03
zaboboa19-Jul-05 2:03 
GeneralRe: ComboBox Event Pin
maheswara19-Jul-05 2:38
maheswara19-Jul-05 2:38 
QuestionComplete this program-- New bie to FileStream ? Pin
cyberiafreak19-Jul-05 1:29
cyberiafreak19-Jul-05 1:29 
AnswerRe: Complete this program-- New bie to FileStream ? Pin
Dan Neely19-Jul-05 2:10
Dan Neely19-Jul-05 2:10 
AnswerRe: Complete this program-- New bie to FileStream ? Pin
maheswara19-Jul-05 2:14
maheswara19-Jul-05 2:14 
GeneralRe: Complete this program-- New bie to FileStream ? Pin
Anonymous20-Jul-05 21:01
Anonymous20-Jul-05 21:01 
GeneralI have duplicate items in combobox and I don't wont that Pin
mcatanoiu19-Jul-05 1:14
mcatanoiu19-Jul-05 1:14 
GeneralDynamic population of treenode Pin
Member 211897919-Jul-05 1:00
Member 211897919-Jul-05 1:00 
GeneralPropertyGrid & UITypeEditor - PLS HELP Pin
deepakpesit18-Jul-05 23:05
deepakpesit18-Jul-05 23:05 
GeneralRe: PropertyGrid & UITypeEditor - PLS HELP Pin
leppie18-Jul-05 23:54
leppie18-Jul-05 23:54 

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.