Gridview rowupdating commandname www eroprofiledating com
The above piece of code will also do the same as label in Item Template and Textbox in the Edit Item Template.By default all the boundfields will be trasferred as Textboxes in Edit Mode.
Suppose if we are trying to hide primary key of our table, there is actually no need to hide. In the above Snippet you are seeing a label in Item Template that means whenever we are showing Grid View to the user Label will be visible to the user.
Now let’s start with putting the Grid View on page. Data Key Names="Auto ID" Auto Generate Edit Button="True" On Row Editing="Edit Record" On Row Canceling Edit="Cancel Record" On Row Updating="Update Record" Cell Padding="4" Header Style-Horizontal Align="left" On Row Deleting="Delete Record" Row Style-Vertical Align="Top" Fore Color="#333333" Grid Lines="None" In the above code, I have kept Auto Generate Columns as false so that Grid View will not render all the fields of the data source automatically.
I have specified Data Key Names as Auto ID, the primary key of the database table.
All was workin fine b4 I added the Update Panel and Content Template.
The Script Manager is in the Master Page Please help me....