Set ReadOnly is True For Other columns 2009/12/27 Charles A. Lopez <[email protected]>
> How would you do it with One Column? > > 2009/12/22 Ana <[email protected]> > > Hi, >> >> I have a GridView with seven columns of data and in the eighth column >> I have two linkButtons: EditButton and DeleteButton. The GridView is >> being bound in the code behind. >> >> When I click on EditButton, the row [corresponding to the row in which >> the button I clicked is] is supposed to change to edit mode. I'm >> having a hard time trying to do this. My last try was using this code: >> >> Protected Sub EditButton_Click(ByVal sender As Object, ByVal e As >> System.EventArgs) >> Dim row As GridViewRow = sender.parent.parent >> row.RowState = DataControlRowState.Edit >> BindMyGridView() >> End Sub >> >> But nothing happens. ANy suggestions of how to achieve my goal? >> >> Thanks, >> >> Ana >> > > > > -- > Charles A. Lopez > [email protected] > > Registered Microsoft Partner > > New York City, NY > > I'm running on Windows 7 Build 7100 > > Quality Software Works > -- Regards ******************* *C.Arun Kumar * *******************
