|
| |
|
|
abdulsamikhan
Posts: 105 Joined: 12/23/2003 From: Pakistan Status: offline
|
Displaying of Images from Database - 9/14/2008 8:26:20
Dear All, I have been using FrontPage 2003 for a long time, and I have built/developed many websites using FrontPage and Access Database combination. And whenever, I have stuck somewhere, the professionals from this forum helped me always. especially the Spooky. Now once again, I am stuck in between FrontPage 2003 and Expression Web 2 and ASP.NET 2.0: I don't have any idea to developing a dynamic website like: http://www.dabclub.com/wallpapers which I have developed using FrontPage2003 and Access Database. I am unable to do work like DRW on using ASP.NET in GridView or etc... What should I do? Waiting for your responses. Sami
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: Displaying of Images from Database - 9/14/2008 14:21:40
ASP.NET has many more ways to display database data besides just GridView. IMO GridView is fairly rigid but you *can* do more stuff within it if you use the Template features. It definitely takes more of a knack tho because many times you have to address items in a specific row and stuff like that. If you're comfortable looking at a line like this: Protected Sub gvComments_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gvComments.RowDataBound then I can suggest you look at how to address each row in a GridView using Subs like the above. However if that looks totally out in "left field", you may find better luck using the Repeater item instead of the GridView. Inside "Repeaters" you can do things that might make more sense like: <asp:HyperLink ID="imgServiceTypeLogo" runat="server" Text='<%# Eval("ServiceType") %>' ImageUrl='<%# Eval("FilePath") & Eval("FileName") %>' NavigateUrl='<%# "~/companies-" & Replace(Trim(CountyName), " ", "_") & "-" & Session("tempCountyIsNew") & "-" & Replace(Trim(Eval("ServiceType")), " ", "_") & "-" & Eval("ServiceTypeID") & ".aspx"%>' /> Hope it helps. Disclaimer: I dont use EW but I use Visual Studio and don't really know if Repeaters are available to you.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
abdulsamikhan
Posts: 105 Joined: 12/23/2003 From: Pakistan Status: offline
|
RE: Displaying of Images from Database - 9/18/2008 5:18:43
Thanks rdouglass for your prompt response. Actually, what i want is to have a complete control over the database output, like I have in FrontPage 2003 using DRW and its Contents. I can retrieve images from access database using DRW of FrontPage 2003 and assign them hyperlink according to dynamic parameters, but I have no idea of ASP.NET and Expression Web. If I will not use the Expression Web then I may be kicked off of my office. I have attached my website compressed in RAR, it is built using DRW fronpage 2003 and Microsoft Access 2003. Please check it and tell me the exact alternate solution in Expression Web 2 using ASP.NET and Access. Waiting for your response. I have compressed the website in rar format, but I don't know, how to send it you? Thanks.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|