Oh wow. That definitely solved my problem. Thank you so much. I've never utilized the DataKeyField property before.
Thanks again! --- Karthick Kumar <[EMAIL PROTECTED]> wrote: > Use the DataKeyField property in your Data Grid to > get the UID (hopefully > you are getting it in your select query from the > DB). Also, don't forget to > bind your Data Grid in the code, once the editing is > done. > > Also, follow this link to get more info on Editing > Data Grids: > http://url123.com/nhkwp > > Hth, > Karthick > > > -----Original Message----- > From: sas0riza [mailto:[EMAIL PROTECTED] > Sent: 01 October 2004 02:32 > To: [EMAIL PROTECTED] > Subject: [AspNetAnyQuestionIsOk] Datagrid Edit > > > I have a search form, where user enters in last name > and first name. > The record is then returned to the datagrid. > > When the user actually EDITS the last name and/or > first name, and > then hit UPDATE, the updated row does not get > returned to the > datagrid because the function is still passing in > the old parameters > (whatever was originally entered into last > name/first name). > > I would like to obtain the UID of whatever row the > user clicks EDIT > on, and use that as my parameter in my functions. > > How should I go about it? > > Thanks. > > > > > > Yahoo! Groups Links > > > > > > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
