/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
Tabel baggrund
Fra : Keld Fuglsang


Dato : 15-04-01 15:47

Hej

hvordan får jeg en tabel til at hente baggrundsfarven fra en Database. Evt.
eksempler på ASP scriptet og tabellen.

Mvh
Kenneth Fuglsang
kenneth-fuglsang@pc.dk



 
 
Martin Askhøj (15-04-2001)
Kommentar
Fra : Martin Askhøj


Dato : 15-04-01 16:00

"Keld Fuglsang" <keld-fuglsang@mail.dk> wrote in message
news:9bcc4t$jkr$1@news.inet.tele.dk...
> Hej
>
> hvordan får jeg en tabel til at hente baggrundsfarven fra en Database.
Evt.
> eksempler på ASP scriptet og tabellen.
>
> Mvh
> Kenneth Fuglsang
> kenneth-fuglsang@pc.dk

Hej Kenneth

Nu ved jeg ikke hvor meget ASP du kan men det kunne lave således:

Lav et recordset (RS) hvor du henter farven

<table bgcolor="<%=RS("baggrundsfarve")%>">
<tr>
<td></td>
<td></td>
</tr>
</table>

/Martin Askhøj
- www.muzzle.dk





Keld Fuglsang (15-04-2001)
Kommentar
Fra : Keld Fuglsang


Dato : 15-04-01 21:42

Hej

men det skulle gerne laves sådan at de forskellige td's i html skal hente
hver sin baggrundsfarve

Database design :
Bord Navn Email Bgcolor
1 123 123@ #123456
2 123 123@ #234567
3 -||- -||- -||-
4 -||- -||- -||-

Mvh
Kenneth Fuglsang
kenneth-fuglsang@pc.dk

"Martin Askhøj" <martin@askhoej.dk> wrote in message
news:9bcd84$2128$1@news.cybercity.dk...
> "Keld Fuglsang" <keld-fuglsang@mail.dk> wrote in message
> news:9bcc4t$jkr$1@news.inet.tele.dk...
> > Hej
> >
> > hvordan får jeg en tabel til at hente baggrundsfarven fra en Database.
> Evt.
> > eksempler på ASP scriptet og tabellen.
> >
> > Mvh
> > Kenneth Fuglsang
> > kenneth-fuglsang@pc.dk
>
> Hej Kenneth
>
> Nu ved jeg ikke hvor meget ASP du kan men det kunne lave således:
>
> Lav et recordset (RS) hvor du henter farven
>
> <table bgcolor="<%=RS("baggrundsfarve")%>">
> <tr>
> <td></td>
> <td></td>
> </tr>
> </table>
>
> /Martin Askhøj
> - www.muzzle.dk
>
>
>
>



Thygesen (16-04-2001)
Kommentar
Fra : Thygesen


Dato : 16-04-01 00:56

> men det skulle gerne laves sådan at de forskellige td's i html skal hente
> hver sin baggrundsfarve
>
> Database design :
> Bord Navn Email Bgcolor
> 1 123 123@ #123456
> 2 123 123@ #234567
> 3 -||- -||- -||-
> 4 -||- -||- -||-


Så kan du bare bruge følgende:

<table>
<% While Not RS.EOF %>
<tr>
<td bgcolor=<%RS("bgcolor")%>>
Navn
</td>
<td bgcolor=<%RS("bgcolor")%>>
Email
</td>
</tr>
<% RS.MoveNext
Wend %>


Mvh. Christoffer Thygesen

homepage: http://cht.dk
e-mail: cht@cht.dk





Keld Fuglsang (16-04-2001)
Kommentar
Fra : Keld Fuglsang


Dato : 16-04-01 08:57

Hej
nu ser min ASP side således ud, men det virker stadigvæk ikke.
<html>
<head>
<title>The Complex</title>
</head>
<body>
<%
'Opret database forbindelse
Set Conn = server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)};"
DSN = DSN & "DBQ=" & Server.MapPath ("borde.mdb")
Conn.Open DSN

strSQL = "Select * from borde"
Set rs = Conn.Execute(strSQL)

Do
Response.Write rs("Navn")

rs.MoveNext
Loop While Not rs.EOF

%>
<table>
<% While Not RS.EOF %>
<tr>
<td bgcolor=<%RS("bgcolor")%>>
Navn
</td>
<td bgcolor=<%RS("bgcolor")%>>
Email
</td>
</tr>
<% RS.MoveNext
Wend %>

<%
Conn.Close
Set Conn = Nothing
%>
</body>
</html>

"Thygesen" <thyge@get2net.dk> wrote in message
news:3ada2ae1@news.carlbro.dk...
> > men det skulle gerne laves sådan at de forskellige td's i html skal
hente
> > hver sin baggrundsfarve
> >
> > Database design :
> > Bord Navn Email Bgcolor
> > 1 123 123@ #123456
> > 2 123 123@ #234567
> > 3 -||- -||- -||-
> > 4 -||- -||- -||-
>
>
> Så kan du bare bruge følgende:
>
> <table>
> <% While Not RS.EOF %>
> <tr>
> <td bgcolor=<%RS("bgcolor")%>>
> Navn
> </td>
> <td bgcolor=<%RS("bgcolor")%>>
> Email
> </td>
> </tr>
> <% RS.MoveNext
> Wend %>
>
>
> Mvh. Christoffer Thygesen
>
> homepage: http://cht.dk
> e-mail: cht@cht.dk
>
>
>
>



Thygesen (16-04-2001)
Kommentar
Fra : Thygesen


Dato : 16-04-01 11:34


"Keld Fuglsang" <keld-fuglsang@mail.dk> skrev i en meddelelse
news:9be8hj$p56$1@news.inet.tele.dk...
> Hej
> nu ser min ASP side således ud, men det virker stadigvæk ikke.
>
> <<kode>>
>

Din kode så heller ikke helt rigtig ud, her har du hvordan jeg ville lave
det:

<html>
<head>
<title>The Complex</title>
</head>
<body>

<%
Set RS = Server.CreateObject("ADODB.Recordset")
strQ = "Select * FROM borde"
dbsettings = "DBQ="& Server.MapPath("borde.mdb") & ";Driver={Microsoft
Access Driver (*.mdb)}; PWD="
strConn = dbsettings
RS.Open strQ, strConn

response.write "<table>"

While Not RS.EOF

response.write "<tr>" &_
"<td bgcolor=" & RS("bgcolor") & ">" & rs("Navn") & "</td>" &_
"<td bgcolor=" & RS("bgcolor") & ">" & rs("Email") & "</td>" &_
"</tr>"

RS.MoveNext
Wend

RS.Close
Set RS = Nothing

response.write "</table>"
%>

</body>
</html>

Du kan også se koden på følgende side:
http://hjem.get2net.dk/thyge/scource/borde.asp


Mvh. Christoffer Thygesen

homepage: http://cht.dk
e-mail: cht@cht.dk



Keld Fuglsang (16-04-2001)
Kommentar
Fra : Keld Fuglsang


Dato : 16-04-01 12:19

Tak !

"Thygesen" <thyge@get2net.dk> wrote in message
news:3adac05e@news.carlbro.dk...
>
> "Keld Fuglsang" <keld-fuglsang@mail.dk> skrev i en meddelelse
> news:9be8hj$p56$1@news.inet.tele.dk...
> > Hej
> > nu ser min ASP side således ud, men det virker stadigvæk ikke.
> >
> > <<kode>>
> >
>
> Din kode så heller ikke helt rigtig ud, her har du hvordan jeg ville lave
> det:
>
> <html>
> <head>
> <title>The Complex</title>
> </head>
> <body>
>
> <%
> Set RS = Server.CreateObject("ADODB.Recordset")
> strQ = "Select * FROM borde"
> dbsettings = "DBQ="& Server.MapPath("borde.mdb") & ";Driver={Microsoft
> Access Driver (*.mdb)}; PWD="
> strConn = dbsettings
> RS.Open strQ, strConn
>
> response.write "<table>"
>
> While Not RS.EOF
>
> response.write "<tr>" &_
> "<td bgcolor=" & RS("bgcolor") & ">" & rs("Navn") & "</td>" &_
> "<td bgcolor=" & RS("bgcolor") & ">" & rs("Email") & "</td>" &_
> "</tr>"
>
> RS.MoveNext
> Wend
>
> RS.Close
> Set RS = Nothing
>
> response.write "</table>"
> %>
>
> </body>
> </html>
>
> Du kan også se koden på følgende side:
> http://hjem.get2net.dk/thyge/scource/borde.asp
>
>
> Mvh. Christoffer Thygesen
>
> homepage: http://cht.dk
> e-mail: cht@cht.dk
>
>



Keld Fuglsang (16-04-2001)
Kommentar
Fra : Keld Fuglsang


Dato : 16-04-01 12:29

Hej

men min tabel skulle gerne se således ud i HTML

<html>
<head>
<title>The Complex</title>
<link rel="stylesheet" type="text/css"
href="../style/undersider/bordreservation.css">
<script language="JavaScript">
<!-- // Begin hiding from old browsers

// (Rightclick:) This section disables right click in MSIE and Netscape
function right(evnt) {
if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
if (evnt.which >= 2){
alert("Denne funktion er slået fra af The Complex Crew");
return false;
}
}
else
if (event.button>=2)
alert("Denne funktion er slået fra af The Complex Crew");
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// (Resize:) End rightclick disable section

// End hiding -->
</script>
</head>
<body>
<center><h2>Her kan du betille pladser til det næste party som vi
holder.</h3>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">1</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">13</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">25</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">37</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">49</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">61</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">73</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">85</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">97</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">109</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">2</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">14</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">26</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">38</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">50</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">62</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">74</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">86</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">98</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">110</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">3</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">15</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">27</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">39</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">51</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">63</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">75</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">87</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">99</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">111</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">4</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">16</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">28</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">40</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">52</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">64</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">76</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">88</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">100</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">112</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">5</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">17</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">29</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">41</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">53</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">65</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">77</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">89</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">101</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">113</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">6</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">18</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">30</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">42</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">54</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">66</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">78</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">90</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">102</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">114</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">7</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">19</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">31</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">43</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">55</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">67</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">79</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">91</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">103</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">115</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">8</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">20</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">32</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">44</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">56</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">68</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">80</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">92</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">104</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">116</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">9</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">21</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">33</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">45</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">57</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">69</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">81</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">93</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">105</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">117</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">10</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">22</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">34</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">46</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">58</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">70</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">82</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">94</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">106</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">118</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">11</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">23</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">35</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">47</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">59</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">71</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">83</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">95</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">107</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">119</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">12</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">24</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">36</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">48</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">60</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">72</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">84</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">96</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">108</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">120</A>
</td>
</tr>
</table>
<ul>
<center><li>Grøn viser at pladsen er ledig.</li>
<center><li>Rød viser at pladsen er reserveret.</li>
</ul>
</body>
</html>

"Keld Fuglsang" <keld-fuglsang@mail.dk> wrote in message
news:9bekc3$a9l$1@news.inet.tele.dk...
> Tak !
>
> "Thygesen" <thyge@get2net.dk> wrote in message
> news:3adac05e@news.carlbro.dk...
> >
> > "Keld Fuglsang" <keld-fuglsang@mail.dk> skrev i en meddelelse
> > news:9be8hj$p56$1@news.inet.tele.dk...
> > > Hej
> > > nu ser min ASP side således ud, men det virker stadigvæk ikke.
> > >
> > > <<kode>>
> > >
> >
> > Din kode så heller ikke helt rigtig ud, her har du hvordan jeg ville
lave
> > det:
> >
> > <html>
> > <head>
> > <title>The Complex</title>
> > </head>
> > <body>
> >
> > <%
> > Set RS = Server.CreateObject("ADODB.Recordset")
> > strQ = "Select * FROM borde"
> > dbsettings = "DBQ="& Server.MapPath("borde.mdb") & ";Driver={Microsoft
> > Access Driver (*.mdb)}; PWD="
> > strConn = dbsettings
> > RS.Open strQ, strConn
> >
> > response.write "<table>"
> >
> > While Not RS.EOF
> >
> > response.write "<tr>" &_
> > "<td bgcolor=" & RS("bgcolor") & ">" & rs("Navn") & "</td>" &_
> > "<td bgcolor=" & RS("bgcolor") & ">" & rs("Email") & "</td>" &_
> > "</tr>"
> >
> > RS.MoveNext
> > Wend
> >
> > RS.Close
> > Set RS = Nothing
> >
> > response.write "</table>"
> > %>
> >
> > </body>
> > </html>
> >
> > Du kan også se koden på følgende side:
> > http://hjem.get2net.dk/thyge/scource/borde.asp
> >
> >
> > Mvh. Christoffer Thygesen
> >
> > homepage: http://cht.dk
> > e-mail: cht@cht.dk
> >
> >
>
>



Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408868
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste