Groups | Blog | Home
all groups > asp.net webcontrols > april 2004 >

asp.net webcontrols : Change Format


Ken Cox [Microsoft MVP]
4/1/2004 9:03:12 PM
Are the fields identical from one datasource to the other? If not, you might
be better off to have two grids, one for each datasource. You could hide the
one you don't want.

[quoted text, click to view]
Bonj
4/2/2004 12:29:54 AM
Hi
I have a datagrid control that I want to be able to change the source SQL
statement for, I presume I can do this by setting the datasource property
and calling DataBind(). But how can I change the data formatting expression
property of a bound column at runtime, from within the C# code of my aspx
page?
I'm quite inexperienced with this so bear with me.

Thanks

AddThis Social Bookmark Button