Live Chat Icon For mobile
Live Chat Icon

How to add an attribute to the Table generated by the DataGrid

Platform: ASP.NET| Category: DataGrid

VB.NET


’Bind DataGrid
DataGrid1.Attributes.Add ('Description', 'This table displays Product Description' )

C#


//Bind DataGrid 
DataGrid1.Attributes.Add ('Description', 'This table displays Product Description' ); 

Note : By doing a ViewSource you can find the Attribute Description for the Table that displays the DataGrid data

Share with

Share on twitter
Share on facebook
Share on linkedin