<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Þar sem ég var að henda upp gestabók fyrir síðuna
mína um daginn datt mér í hug að láta ykkur njóta þess líka. Ég ákvað
því að henda saman smá grein um það hvernig gestabókin er unnin.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Ég nota Access gagnagrunn til að geyma gögnin á
netinu. Gestabókin er tvískipt, ein síða þar sem notandinn skráir sig í
gestabókina og önnur sem birtir lista yfir alla sem hafa skráð sig í gestabókina.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Til að geta opnað fyrir tengingu við gagnagrunna
í gegnum netið þarf að setja þessar tvær línur efst í skrána.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>&lt;%@ Import Namespace=&quot;System.Data&quot;
%&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;
mso-ansi-language:IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>&lt;%@ Import
Namespace=&quot;System.Data.OleDB&quot; %&gt;</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Ég ætla að byrja á því að fjalla um síðuna
þar sem notandir skráir sig í gestabókina. Þessi kóði keyrist þegar ýtt
er á “Send” hnappinn. Fyrst er tengingu við gagnagrunninn komið á og síðan
er því sem er í forminu fleygt inní grunninn með “INSERT INTO”
skipuninni.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>sub OnBtnSendClicked (s As Object, e As EventArgs)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim strConn as string = &quot;Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=&qu ot; &amp; <span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>server.mappath(&quot;guestbook.mdb&quot ;) &amp; &quot;;&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim MySQL as string = &quot;INSERT INTO Guestbook (Name, EMail, URL,
Comment) <span style=“mso-tab-count:3”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
</span>VALUES ('&quot; &amp; txtName.Text &amp; &quot;','&quot; &amp;
txtEMail.Text &amp; &quot;','&quot; &amp; <span style=“mso-tab-count:3”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>txtURL.Text &amp; &quot;','&quot; &amp; txtComment.Text &amp;
&quot;')&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim MyConn as New OleDBConnection (strConn)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim cmd as New OleDBCommand (MySQL, MyConn)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>MyConn.Open ()<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>cmd.ExecuteNonQuery ()<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>MyConn.Close ()<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Response.Redirect (&quot;guestlog.aspx&quot;)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>end sub<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Þessi kóði keyrist þegar ýtt er á “Clear”
hnappinn, hann sér um að frumstilla formið.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>sub OnBtnClearClicked (s As Object, e As EventArgs)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>txtName.Text = &quot;&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>txtEMail.Text = &quot;yourname@somebody.com&quot;<o:p>
</o:p>
</span> </p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>txtURL.Text = &quot;http://&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>txtComment.Text = &quot;&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>end sub<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span lang=“EN-US” style=“font-size:9.0pt;font-family:&quot;Courier New&quot;”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span lang=“EN-US” style=“font-size:9.0pt;font-family:&quot;Courier New&quot;”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Hérna er síðan kóðinn fyrir formið sjálft. Ég
nota absolute staðsetningar, en það er sjálfsögðu ekki nauðsynlegt.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;form
id=&quot;For m1&quot; method=&quot;post&quot; runat=&quot;server&quot;&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:label
id=&quo t;Label5&quot; runat=&quot;server&quot; font-names=&quot;Tahoma&quot;
font-size=&quot;X-Large& quot; style=&quot;LEFT: 54px; POSITION: absolute; TOP:
24px&quot;&gt;My ASP.NET Guestbook&lt;/asp:label&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:textbox
id=&q uot;txtName&quot; runat=&quot;server&quot; font-size=&quot;X-Small&quot;
font-names=&quot;Tahoma& quot; width=&quot;174px&quot; height=&quot;24px&quot;
tabindex=&quot;1&quot; style=&quot;LEFT: 136px; POSITION: absolute; TOP:
114px&quot;&gt;&lt;/asp:textbox&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:label
id=&quo t;Label1&quot; runat=&quot;server&quot; font-names=&quot;Tahoma&quot;
font-size=&quot;X-Small& quot; style=&quot;LEFT: 54px; POSITION: absolute; TOP:
119px&quot;&gt;Name:&lt;/asp:label&gt;<o:p>
</o: p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:textbox
id=&q uot;txtEMail&quot; runat=&quot;server&quot; font-size=&quot;X-Small&quot;
font-names=&quot;Tahoma& quot; width=&quot;174&quot; height=&quot;24&quot;
tabindex=&quot;2&quot; style=&quot;LEFT: 134px; POSITION: absolute; TOP:
155px&quot;&gt;yourname@somebody.com&lt;/asp:text box&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:label
id=&quo t;Label2&quot; runat=&quot;server&quot; font-size=&quot;X-Small&quot;
font-names=&quot;Tahoma& quot; style=&quot;LEFT: 54px; POSITION: absolute; TOP:
159px&quot;&gt;E-mail:&lt;/asp:label&gt;<o:p>
</ o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:textbox
id=&q uot;txtURL&quot; runat=&quot;server&quot; font-names=&quot;Tahoma&quot;
font-size=&quot;X-Small& quot; width=&quot;174px&quot; height=&quot;24px&quot;
tabindex=&quot;3&quot; style=&quot;LEFT: 135px; POSITION: absolute; TOP:
194px&quot;&gt;http://&lt;/asp:textbox&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:label
id=&quo t;Label3&quot; runat=&quot;server&quot; font-size=&quot;X-Small&quot;
font-names=&quot;Tahoma& quot; style=&quot;LEFT: 54px; POSITION: absolute; TOP:
199px&quot;&gt;Webpage:&lt;/asp:label&gt;<o:p>
< /o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:label
id=&quo t;Label4&quot; runat=&quot;server&quot; font-size=&quot;X-Small&quot;
font-names=&quot;Tahoma& quot; style=&quot;LEFT: 55px; POSITION: absolute; TOP:
234px&quot;&gt;Comment:&lt;/asp:label&gt;<o:p>
< /o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:textbox
id=&q uot;txtComment&quot; runat=&quot;server&quot; font-names=&quot;Tahoma&quot;
width=&quot;179px&quot; height=&quot;81px&quot; textmode=&quot;MultiLine&quot;
tabindex=&quot;4&quot; style=&quot;LEFT: 134px; POSITION: absolute; TOP:
234px&quot; maxlength=&quot;250&quot;&gt;&lt;/asp:textbox&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:button
id=&qu ot;btnSend&quot; onclick=&quot;OnBtnSendClicked&quot;
runat=&quot;serve r&quot; font-names=&quot;Tahoma&quot; text=&quot;Send&quot;
backcolor=&quot;Navy&quot; tabindex=&quot;5&quot; font-size=&quot;X-Small&quot;
forecolor=&quot;White&qu ot; style=&quot;LEFT: 212px; POSITION: absolute; TOP:
328px&quot;&gt;&lt;/asp:button&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”>&lt;asp:button
id=&qu ot;btnClear&quot; onclick=&quot;OnBtnClearClicked&quot;
runat=&quot;serv er&quot; text=&quot;Clear&quot; backcolor=&quot;Navy&quot;
tabindex=&quot;6&quot; font-names=&quot;Tahoma&quot;
font-size=&quot;X-Small& quot; forecolor=&quot;White&quot; style=&quot;LEFT:
267px; POSITION: absolute; TOP: 328px&quot;&gt;&lt;/asp:button&gt;&lt;/form&gt;<o:p>
< /o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;mso-ansi-language:IS”><o:p>
&nbsp;</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Þá er það síðan sem birtir allt draslið. Hún
verður einsog hin fyrri að innihalda þessar tvær línur efst:<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>&lt;%@ Import Namespace=&quot;System.Data&quot;
%&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;
mso-ansi-language:IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>&lt;%@ Import
Namespace=&quot;System.Data.OleDB&quot; %&gt;</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Þetta er kóðinn sem les úr skránni. Hann er nánast
einsog hinn fyrri nema að því leyti að núna er “SELECT” skipunin notuð
til að nálgast gögnin. Ég nota Repeater stýringuna sem fylgir með Visual
Studio .NET til að forma gögnin á einfaldan hátt.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>Sub Page_Load (Source As Object, E as EventArgs)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim strConn as string = &quot;Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=&qu ot; &amp; server.mappath(&quot;guestbook.mdb&quot;) &amp;
&quot;;&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim MySQL as string = &quot;SELECT Name, EMail, URL, Comment FROM
Guestbook&quot;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim MyConn as New OleDBConnection (strConn)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>Dim Cmd as New OleDBCommand (MySQL, MyConn)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>MyConn.Open ()<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>rptGuestbook.DataSource =
Cmd.ExecuteReader(System.Data.CommandBehavior.CloseC onnection)<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span>rptGuestbook.DataBind()<o:p>
</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>End Sub<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Hérna er svo kóðinn sem birtir allt draslið.
Hyperlink stýringin býr til, einsog nafnið gefur til kynna, tengil á síðuna
sem notandi gaf upp í innsláttarforminu.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;asp:Repeater ID=</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>&quot;rptGuestbook&quot;</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:IS”>
Runat=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;
mso-ansi-language:IS;mso-fareas t-language:IS”>&quot;Server&quot;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;HeaderTemplate&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“mso-tab-count: 1; font-size: 9.0pt; font-family: Courier New; color: black; mso-ansi-language: IS; mso-fareast-language: IS”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;table border=</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>0</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;
mso-ansi-language:IS;mso-fare ast-language:IS”> cellpadding=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>5</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:IS”>
cellspacing=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”>0</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”> width=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>50%</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:#0000C0;mso-ansi-language:IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/HeaderTemplate&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;ItemTemplate&gt;</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;tr bgcolor=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>RGB(51,102,204)</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:#0000C0;mso-ansi-language:IS;mso-fare ast-language:IS”> height=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>25</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:IS”>&gt;&lt;td
colspan=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”>&quot;2&quot;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&gt;&lt;font face=</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>Tahoma</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:#0000C0;mso-ansi-language:IS;mso-fare ast-language:IS”> size=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>4</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:maroon;mso-ansi-language:
IS;mso-farea st-language:IS”>&lt;%# Container.DataItem (&quot;Name&quot;) %&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;</ span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;tr&gt;&lt;td width=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>20%</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:IS”>&gt;&lt;b&gt;&lt;font
face=</span><spa n style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;
mso-ansi-language:IS;mso-fareas t-language:IS”>Tahoma</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”> size=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>2</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;
mso-ansi-language:IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>E-mail:</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;</s pan><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”> <o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;td&gt;&lt;font face=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>Tahoma</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”> size=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”>2</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:maroon;mso-ansi-language:IS;mso-fareast -language:IS”>&lt;%#
Container.DataItem (&quot;EMail&quot;) %&gt;</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&lt;/td&gt;&lt;/tr&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;tr&gt;&lt;td width=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>20%</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:IS”>&gt;&lt;b&gt;&lt;font
face=</span><spa n style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;
mso-ansi-language:IS;mso-fareas t-language:IS”>Tahoma</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”> size=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>2</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;
mso-ansi-language:IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>Website:</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&lt;/td&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”> <o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;td&gt;&lt;font face=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>Tahoma</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”> size=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”>2</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&gt;&lt;asp:hyperlink id=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>&quot;HyperLink&quot;</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”> runat=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”>&quot;server&quot;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>font-names=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>&quot;Tahoma&quot;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:#0000C0;mso-ansi-language:IS;mso-fare ast-language:IS”> ont-size=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>&quot;X-Small&quot; </span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>avigateurl=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:maroon;mso-ansi-language:IS;mso-farea st-language:IS”>&lt;%#
Container.DataItem (&quot;URL&quot;) %&gt;</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:maroon;mso-ansi-language:IS;mso-farea st-language:IS”>&lt;%#
Container.DataItem URL&quot;) %&gt;</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&lt;/asp:hyperlink&gt;&lt;/font&gt;&l t;/td&gt;&lt;/tr&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><span style=“mso-tab-count:4”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;
</span><o:p>
</o:p>
</span></p>
< p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;tr&gt;</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;td width=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>20%</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:#0000C0;mso-ansi-language:IS;mso-fare ast-language:IS”>&gt;&lt;b&gt;&lt;font
face=</span><s pan style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;
mso-ansi-language:IS;mso-fareas t-language:IS”>Tahoma</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”> size=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>2</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;
mso-ansi-language:IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>Comment:</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&lt;/td&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”> <o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;td&gt;&lt;font face=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”>Tahoma</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”> size=</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”>2</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&gt;</span><span style=“font-size:9.0pt;font-family:
&quot;Courier New&quot;;color:maroon;mso-ansi-language:IS;mso-fareast -language:IS”>&lt;%#
Container.DataItem (&quot;Comment&quot;) %&gt;</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:IS;mso-fareas t-language:
IS”>&lt;/td&gt;&lt;/tr&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;
color:black;mso-ansi-language:IS;mso-fareas t-language:IS”><span style=“mso-tab-count:2”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o: p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/ItemTemplate&gt;</span><span style=“font-size:
9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><span style=“mso-tab-count:2”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</sp an><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;SeparatorTemplate&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“mso-tab-count: 1; font-size: 9.0pt; font-family: Courier New; color: black; mso-ansi-language: IS; mso-fareast-language: IS”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;tr height=</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”>25</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;
mso-ansi-language:IS;mso-fare ast-language:IS”>&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;< /span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/SeparatorTemplate&gt;</span><spa n style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><span style=“mso-tab-count:1”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
</span><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;FooterTemplate&gt;</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:
IS;mso-fareas t-language:IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“mso-tab-count: 1; font-size: 9.0pt; font-family: Courier New; color: black; mso-ansi-language: IS; mso-fareast-language: IS”>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/table&gt;</span><span style=“font-size:9.0pt;
font-family:&quot;Courier New&quot;;color:black;mso-ansi-language:IS;mso-fareast- language:
IS”><o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/FooterTemplate&gt;<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>&lt;/asp:Repeater&gt;<o:p>
</o:p>
< /span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>Ég hef að sleppt öllu HTML dóti úr þessu, til
að greinin færi ekki alveg úr böndunum. Fólki mun eflaust þykja nóg um
hvort sem er.<o:p>
</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”><o:p>
&nbsp;</o:p>
</span></p>
<p class=“MsoNormal” style=“mso-layout-grid-align: none; text-autospace: none; margin-top: 0; margin-bottom: 0”><span style=“font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#0000C0;mso-ansi-language:
IS;mso-fare ast-language:IS”>En allavega, ég vona að þetta hafi hjálpað
einhverjum. Ef þið hafið einhverjar ábendingar endilega látið mig vita !!<o:p>
</o:p>
</span></p