G
Guest
I'm using ASP.NET 2.0, C#, SQL Server 2005, and databound controls like the
DataList and the GridView. Right now I'm using SqlDataSource as part of very
quick and dirty site; I'm not looking to tier things.
I want the topmost/first data element in a particular control to NOT be
displayed. This should be possible by either telling the renderer to hide
the first element programmatically, or by deleting it from the data store
that it has grabbed. I suppose I could also write a stored procedure to only
return the data I wanted, or accomplish this through programming, but I am
curious about what solutions are possible that a) are as easy as possible,
and b) still permit me to databound controls declaratively.
Any suggestions on how I could do this?
Thank you,
Ken Fine
DataList and the GridView. Right now I'm using SqlDataSource as part of very
quick and dirty site; I'm not looking to tier things.
I want the topmost/first data element in a particular control to NOT be
displayed. This should be possible by either telling the renderer to hide
the first element programmatically, or by deleting it from the data store
that it has grabbed. I suppose I could also write a stored procedure to only
return the data I wanted, or accomplish this through programming, but I am
curious about what solutions are possible that a) are as easy as possible,
and b) still permit me to databound controls declaratively.
Any suggestions on how I could do this?
Thank you,
Ken Fine