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

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.