navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Displaying of Images from Database

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> Displaying of Images from Database
Page: [1]
 
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.

(in reply to abdulsamikhan)
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.

(in reply to rdouglass)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Displaying of Images from Database - 9/18/2008 6:48:55   
I think you need to do some swift learning if your job depends on this. Have your company just switched over? Shouldn't they be sending you on a training course?

Take a look at these and see if they'll help. R Douglas can assist with quick queries but I suspect he's too busy to be able to work in depth with your site.

http://www.webassist.com/professional/products/productdetails.asp?PID=126

http://social.expression.microsoft.com/forums/en-US/web/thread/33422ec8-2b1c-447b-9315-519b6be94da9



_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to abdulsamikhan)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> Displaying of Images from Database
Page: [1]
Jump to: 1





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