Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all.
i have seen seen people for binding data to gridview use either tag or datasource.
i want know if there are any Differences.
are there? and what are they?
Thanks

What I have tried:

Google search
.tag .datasource gridview
Posted
Updated 2-Jan-17 5:33am

Binding of a WHOLE control is ONLY via datasource possible: How to: Bind Data to the Windows Forms DataGridView Control[^]

Apart of binding, every cell / row / element of this control CAN have a tag.
This is the possibility to STORE in this one element some information like e.g. string or integer.
 
Share this answer
 
v4
The Tag property is just there to store a single piece of data, like a value or an object. It's never used to bind a grid to data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900