Groups | Blog | Home
all groups > asp.net datagrid control > october 2003 >

asp.net datagrid control : How can I do this?!?!?!?!


coyotes1 NO[at]SPAM yahoo.com
10/30/2003 5:40:12 AM
I have a datagrid that will page with one record at a time. Instead of
showing the record and all the fields that go with it. How can I put a
user control in its place (ie an ascx file)??????

This way I can page like one would in an access database. I read the
article @ microsoft about something similar but it was too dificult to
understand (the code was very hard to follow because it was everywhere
and the download, I could never get to work).

No third party software. I would like to do this on my own. But I dont
know how. So please someone help me.


Alvin Bruney
11/27/2003 11:08:37 AM
I didn't really understand what you were saying so if you would be more
specific I would follow up. Off the top of my head, one quick fix is to set
the row count to 1 and turn on paging, that will get you the same effect.
You can use the itemdatabound event handlers to remove the columns that you
are not interested in.

--
Regards,
Alvin Bruney
Got Tidbits? Get it here
www.networkip.net/tidbits
[quoted text, click to view]

AddThis Social Bookmark Button