check out this code sample at ASPNet101.com:http://www.aspnet101.com/aspnet101/a...px?code=gvfull...
Quite fascinating!
However the GridView in the sample has to be supplemented with so much
code (in an effort to override its normal behaviour) that it becomes
questionable as to whether the use of such control is worth it. You
might as well construct an ordinary table adding rows and cells whilst
iterating through a database table. That way you can do exactly what
you like and have complete control over all events with behaviours,
binding expressions and procedures of unlimited complexity.
Quite fascinating!
However the GridView in the sample has to be supplemented with so much
code (in an effort to override its normal behaviour) that it becomes
questionable as to whether the use of such control is worth it. You
might as well construct an ordinary table adding rows and cells whilst
iterating through a database table. That way you can do exactly what
you like and have complete control over all events with behaviours,
binding expressions and procedures of unlimited complexity.
Comment