Hi, i'm wondering if anyone can help me,
i'm using a dataset filled with several rows of information from an sql table - demotable
demotable consists of
demotableid, 1,2,3,4,5
an e.commandargument is getting the row of a gridview fromwhich this table is display.
on e.commandargument (the primary key), i'd like to transfer the contains of the row matching this primary key to a datarow, so that i can perform some operations on the data. I'm using datasets and datarows for this trial, if anyone could give me an answer using these that would be great!, so far i've tried this
dr = ds.Tables("demotable").Rows.Find(e.commandargument )
but it says there is no primary key set.
:-(
vb.net