Re: GridView hide datakey
- From: "chris" <chris@xxxxxxxxxxx>
- Date: 7 Jul 2006 22:00:29 -0700
Sean,
Just delete the column and put the field name of your primary key (ie
CustomerID) in the GridView's DataKeyNames property. This can then be
referenced on postback. It also comes thru the GridView.SelectedValue
property when it has been selected.
HTH,
Chris
.
- Prev by Date: Re: Basic databinding question
- Next by Date: Re: Parser error
- Previous by thread: ClientScriptManager.ValidateEvent feature and how to work with it.
- Next by thread: Re: Parser error
- Index(es):
Relevant Pages
|