Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: Updating a windows datagrid? Pin
MrJJKoolJ11-Feb-04 5:14
MrJJKoolJ11-Feb-04 5:14 
GeneralRe: Updating a windows datagrid? Pin
Mazdak11-Feb-04 5:23
Mazdak11-Feb-04 5:23 
GeneralRe: Updating a windows datagrid? Pin
MrJJKoolJ11-Feb-04 5:23
MrJJKoolJ11-Feb-04 5:23 
GeneralRe: Updating a windows datagrid? Pin
Mazdak11-Feb-04 5:33
Mazdak11-Feb-04 5:33 
GeneralFind Row in Table and Update DB Pin
MrJJKoolJ10-Feb-04 4:58
MrJJKoolJ10-Feb-04 4:58 
GeneralRe: Find Row in Table and Update DB Pin
Marc Clifton10-Feb-04 8:45
mvaMarc Clifton10-Feb-04 8:45 
GeneralOne more thing... Pin
Marc Clifton10-Feb-04 8:47
mvaMarc Clifton10-Feb-04 8:47 
GeneralRe: Find Row in Table and Update DB[EDITED] Pin
Mazdak10-Feb-04 9:49
Mazdak10-Feb-04 9:49 
MrJJKoolJ wrote:
What do I use in order to find a particular row and be able to update db with row changes?

If you want ONE row you can get it with Find() method of your DataSet, if it could be more than one row use Select() method. FinD method return a DataRow which you can change each column like this:

datarow["columnname"] = value;


and then call the Update() method of DataAdapter. Thats it, you do not need DataView cause it filter your table.

[EDITED]

This is the place of Find and Select methods:

DataSet.Tables[index].Rows.Find()/Select()
[/EDITED]



Mazy

"Improvisation is the touchstone of wit." - Molière

GeneralRe: Find Row in Table and Update DB[EDITED] Pin
MrJJKoolJ10-Feb-04 13:04
MrJJKoolJ10-Feb-04 13:04 
General.NET and "industrial espionage" Pin
Palladino10-Feb-04 4:43
Palladino10-Feb-04 4:43 
GeneralRe: .NET and "industrial espionage" Pin
Marc Clifton10-Feb-04 6:33
mvaMarc Clifton10-Feb-04 6:33 
GeneralRe: .NET and "industrial espionage" Pin
Palladino10-Feb-04 8:06
Palladino10-Feb-04 8:06 
GeneralRe: .NET and "industrial espionage" Pin
Marc Clifton10-Feb-04 8:38
mvaMarc Clifton10-Feb-04 8:38 
GeneralRe: .NET and "industrial espionage" Pin
Palladino11-Feb-04 3:51
Palladino11-Feb-04 3:51 
GeneralRe: .NET and "industrial espionage" Pin
Palladino12-Feb-04 5:42
Palladino12-Feb-04 5:42 
GeneralTesting .NET remote connection Pin
naxos10-Feb-04 3:53
naxos10-Feb-04 3:53 
GeneralRe: Testing .NET remote connection Pin
Marc Clifton10-Feb-04 4:10
mvaMarc Clifton10-Feb-04 4:10 
GeneralCannot abort thread Pin
Mertli Ozgur Nevres10-Feb-04 3:38
Mertli Ozgur Nevres10-Feb-04 3:38 
GeneralRe: Cannot abort thread Pin
Marc Clifton10-Feb-04 3:59
mvaMarc Clifton10-Feb-04 3:59 
GeneralRe: Cannot abort thread Pin
Kentamanos10-Feb-04 6:04
Kentamanos10-Feb-04 6:04 
GeneralRe: Cannot abort thread Pin
Marc Clifton10-Feb-04 6:24
mvaMarc Clifton10-Feb-04 6:24 
GeneralRe: Cannot abort thread Pin
David Stone10-Feb-04 9:06
sitebuilderDavid Stone10-Feb-04 9:06 
GeneralRe: Cannot abort thread Pin
Marc Clifton10-Feb-04 9:38
mvaMarc Clifton10-Feb-04 9:38 
GeneralRe: Cannot abort thread Pin
David Stone10-Feb-04 10:36
sitebuilderDavid Stone10-Feb-04 10:36 
GeneralRe: Cannot abort thread Pin
Marc Clifton10-Feb-04 13:40
mvaMarc Clifton10-Feb-04 13:40 

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.