Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET HTML Forms
Hi
 
Now I want to Create UI Like attached Image How to Create same in ASP.Net Website Page with VS2008?
 
I want to use for each logic which get data from access 2003 Database
 
Basically I want to Know how to load Image and Link(Text) From Database.
Basic Sample Code in MVC 2 (ASP.NET)
<ul id="album-list"> 
@foreach (var album in Model.Albums) 
{ 
<li> <a href="@Url.Action("Details", new { id = album.AlbumId })"> 
<img alt="@album.Title" src="@album.AlbumArtUrl" /> 
<span>@album.Title</span> </a> 
</li> 
} 
</ul>
 
http://i1.asp.net/asp.net/images/mvc/msv30/image109.png[^]
Posted 10-Jun-12 2:28am
s1a2b3643
Edited 10-Jun-12 18:59pm
v4
Comments
Stephen Hewison 2 at 10-Jun-12 11:59am
   
That's a bit of a big question. Also there are lots of ways to do that in VS2008. HTML, ASP.Net, Forms, XAML e.t.c. You'll need to make the question a bit narrower.
Stephen Hewison 2 at 10-Jun-12 12:00pm
   
Sorry. Just seen the ASP.Net tag. But nonetheless. Still a big question. Have you actually tried to create anything?
s1a2b3 at 11-Jun-12 0:53am
   
I like to Do same with HTML or ASP.Net
Sandeep Mewara at 10-Jun-12 12:22pm
   
Thats just a list of 4 column images, right?
s1a2b3 at 11-Jun-12 1:01am
   
Nope , Its Album List Generated from MVC Model
Sandeep Mewara at 11-Jun-12 1:47am
   
And I was suppose to guess the pattern too? :doh:
SAKryukov at 10-Jun-12 22:09pm
   
Image is not a UI. You did not explain what behavior do you want. You did not explain what should be your application type: ASP.NET? or something else? There is nothing to discuss here.
--SA
s1a2b3 at 11-Jun-12 0:51am
   
Its ASP.Net Website Page, I want to build same UI with foreach Loop which Get Value from Connected from Access Database.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Its a Simple
 
SOLVED MY SELF
 
Just Put Data source into Webpage and Use Data Row from Db
  Permalink  
Comments
SubaMohan at 20-Aug-12 4:22am
   
HI..I want to do the same. Can you explain me how to do that. Thanks in Advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 13 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100