1. Select the text you want to make a superscript.
2. Press CTRL/=
ADDDDDDD
Arithmetic Operators in php
Operator | Description | Example | Result |
---|---|---|---|
+ | Addition | x=2 x+2 | 4 |
- | Subtraction | x=2 5-x | 3 |
* | Multiplication | x=4 x*5 | 20 |
/ | Division | 15/5 5/2 | 3 2.5 |
% | Modulus (division remainder) | 5%2 10%8 10%2 | 1 2 0 |
++ | Increment | x=5 x++ | x=6 |
-- | Decrement | x=5 x-- | x=4 |
MESSAGE BOX YES/NO CONDITION IN ASP.NET (VB CODE)
Dim A As MsgBoxResult
A = MsgBox("DO YOU LOVE ME", MsgBoxStyle.YesNo, "143")
If A = MsgBoxResult.Yes Then
MsgBox("I LOVE YOU")
ElseIf A = MsgBoxResult.No Then
MsgBox("I HATE YOU")
End If
A = MsgBox("DO YOU LOVE ME", MsgBoxStyle.YesNo, "143")
If A = MsgBoxResult.Yes Then
MsgBox("I LOVE YOU")
ElseIf A = MsgBoxResult.No Then
MsgBox("I HATE YOU")
End If
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
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
Subscribe to:
Posts (Atom)