Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gridview Edit Question

Status
Not open for further replies.

arbytech

MIS
Feb 10, 2004
92
US
Hello everyone,

Is there a way to have the edit function of a GridView on an aspx page only allow the user to edit certain cells of the selected row?

I currently have the GridView setup and it returns the data from the database (MySQL) and I have setup the autogenerateeditbutton. However when you click on Edit for a row every cell becomes editable and I would just like to have two of the cells editable with the rest staying put displaying their regular data.

Thanks - Randy
 
Nevermind I figured it out. I just used the ReadOnly property on the BoundFields I didn't want to edit.

Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top