Else if in php



<?php


if($a > $b):

echo $a." is greater than ".$b;

elseif($a == $b):

echo $a." equals ".$b;

else:

echo $a." is neither greater than or equal to ".$b;

endif;


?>

How to remove borders Around Image Links

<A HREF="http://icelabsolutions.com/"><IMG SRC="web.gif"BORDER=0 HEIGHT=33 WIDTH=82 ALT="Idocs Guide to HTML"></A>

How to remove underlines from links

Methodes for removeing underlines from links


1)add this in stylesheet style="text-decoration:none"


2) <a href="http://www.icelabsolutions.com" style="text-decoration:none">The Web Design </a>

Read data from acess in vb.net

Imports System.Data

Public Class Form1
Dim DB As New DB_PROCESSOR

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click



Try
Dim MyConnection As System.Data.OleDb.OleDbConnection
Dim DtSet As System.Data.DataSet
Dim MyCommand As System.Data.OleDb.OleDbDataAdapter
MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;Data Source='c:\a.xls';Extended Properties=Excel 8.0;")
MyCommand = New System.Data.OleDb.OleDbDataAdapter("select * from [anu$]", MyConnection)
MyCommand.TableMappings.Add("Table", "TestTable")
DtSet = New System.Data.DataSet
MyCommand.Fill(DtSet)
Dim dt1 As DataTable = DtSet.Tables(0)
Dim i, j As Integer
j = dt1.Rows.Count

DataGridView1.DataSource = DtSet.Tables(0)
MyConnection.Close()
Catch ex As Exception
'MsgBox(ex.ToString)
End Try
End Sub
End Class