What Is The Procedure Followed To Add Attributes In <tr> Tag?
Answer»
To add the ATTRIBUTE to <tr> tag fist DataGridItem object is being intitialized.
DataGridItem represents the row in the DataGrid control and it HELPS in adding the attribute to the tag.
The DataGridItemEventArgs object is used to get the DataGridItem object that is passed into the event HANDLER.
The AttributeCollection.Add method is used for DataGridItem object to add the attribute to the <tr> tag that stores the COLLECTION of the collection of the GridItem.
The addition of the attribute to the tag allows it to be represented in the web page or site according to the requirements.