Updating a row in a gridview chique kleding dames online dating

Rated 4.44/5 based on 883 customer reviews

Additionally in the edit mode the Grid View expands horizontally disturbing the page layout.

updating a row in a gridview-40

updating a row in a gridview-32

That’s why I have placed different templates like Item Template (for normal view) and Edit Item Template (for edit view).For Page Name and Page Description field I want them to appear in the Text Box in edit view, so I have specified text property of Text Box as the field value in Edit Item Template and for Active field, I want it to appear as the Drop Down List so I have specified the Selected Value property as the value of the Active field.You may notice that the last column of the Grid View is a Delete column that let user delete the record from database, so I have placed Delete link button inside the tag and have specified on Click property as Java Script confirm return value, so that when user clicks on it he/she sees a confirmation box whether he/she really wants to delete the record.This way you save screen space otherwise occupied by Edit, Update and Cancel column.In order to implement this trick you need to understand how the Grid View control updates its data.

Leave a Reply