ASP .Net 2.0 Update a record in data grid without displaying the ID field

Soldato
Joined
31 May 2006
Posts
4,239
Location
127.0.0.1
Hi all

Using VS2005 to create a VB .Net ASP .Net page. I have a grid view with a datasource which has an update query of:

Code:
update mytable set firstname=@firstname where id=@id

I dont want to display the field 'id' to the user. But when I hide it the update doesn't work. Is it possible to hide the 'id' field and still keep the update functionality?

Thanks in advance
 
Back
Top Bottom