 |
| Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 10th, 2010, 07:54 AM
|
|
Authorized User
|
|
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
|
|
Display Images Horizontally in Gridview
Hi,
I have over 300 Images in my web site.
I want to show all this images in a gridview horizontally.
I know i can do it with DataList control easily by - RepeatDirection="Horizontal", but DataList don't support Paging, thats why i want it on Gridview, but I am not able to display the images horizontally.
How to do this.
Please help.
Thank you....!!
|
|

March 10th, 2010, 09:55 AM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
|
|

March 11th, 2010, 01:15 AM
|
|
Authorized User
|
|
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Lee Dumond
|
I am using asp.net 2.0, there's no Listview control in it.
Any other solution please
Thanx for all help.
"Peace comes from within, Don't seek it without"
|
|

March 15th, 2010, 05:24 PM
|
|
Registered User
|
|
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How to display images in GridView using ASP.NET 3.5
Hello!
It is urgent! I have to hand in my project due to this Friday. I am still struggling to put images in GridView. Can you help me? Must I also use C# to write codes??
Thanks!
Natalie
|
|

March 15th, 2010, 05:47 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
Did you see the article from Scott Guthrie I posted about DataList paging? If you are using 2.0, you could use a DataList, and the article talks about how to do the paging with it.
|
|

March 15th, 2010, 06:30 PM
|
|
Registered User
|
|
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No I didnt see it. I will search it, thanks!
No, I am using ASP.NET 3.5. I may not use DataList to display images. Must display images in GRIDVIEW! Do you know ASP.NET 3.5 well?
|
|

March 15th, 2010, 06:54 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
If you are using 3.5, then I'd use a ListView. That is assuming you need to have complete control over the layout of the photos.
If you need to use a GridView, that should not be a problem, as long as you're okay with displaying the images in vertical columns.
|
|

March 15th, 2010, 06:58 PM
|
|
Registered User
|
|
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well according to the assignment instrutions i have to use GridView to display images. But I dont know HOW??? Must I write codes in C#? Any tips?
|
|

March 15th, 2010, 07:03 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
You can write such a program in any supported .NET language. What language have you been using up until now?
|
|
 |