Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > How can I do this?!?!?!?!

Reply
Thread Tools

How can I do this?!?!?!?!

 
 
pietaster
Guest
Posts: n/a
 
      10-30-2003
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.


thanks
 
Reply With Quote
 
 
 
 
Alvin Bruney
Guest
Posts: n/a
 
      11-27-2003
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
"pietaster" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> 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.
>
>
> thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Can Groovy be used in an applet and/or can it generate the Java bytecodes that then can be used in an applet? Casey Hawthorne Java 1 03-18-2009 12:56 AM
Word Docs Won't Open, Can't Be E-Mailed, Can't Be Deleted, Can't Be Copied, Etc. Martin Computer Support 16 02-24-2009 07:35 PM
Wireless can get internet but can't see network -- can when wired 02befree Computer Support 0 12-24-2007 09:10 PM
SOLVED - can't open file in windows media player / WMP. But can in VLC - video LAN .. Now can in WMP jameshanley39@yahoo.co.uk Computer Information 2 09-19-2007 02:53 AM



Advertisments