Programming Language
Hi, First of all under this section aku nak story sedikit sebanyak about my experiences and knowledge in this arena. Actually deeply interest in programming make me to become who am i now plus ;) the courage, motivate, support from friends and family directly or indirectly contribute towards my success .. but not yet gemilang dan terbilang uhuhuh..
ASP, Visual Basic & Cold fusion are the most and frequent used in my coding, especial HTML,XML,JavaScript and so on. This all language has their own platform and own concept like windows or web based.. For example running an ASP application you are required to install IIS/PWS as web server and Cold Fusion required Coldfusion MX Administrator and i think both web server can support either IIS or Apache.
ASP Basic Code :
Create Object
set conn = server.createobject("ADODB.Connection")
set rs = server.createobject("ADODB.Recordset")
Connection MS Access
conn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("training.mdb")
Query
rs.Open "SELECT * FROM tablename",conn,1,1
conn,1,1 is for open only there is different base on SQL command requested
Query Output
< %=rs("fieldname)% >
Display Output
response.write"## Your Words Here or Variables ##"
Redirect
response.redirect "form.asp"
sat sambung nengok TV
No comments:
Post a Comment