<% On Error Resume Next Dim Conn, rsRecords, ctr Dim Date, Place, Sat_Morning, Sat_Evening, Init Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open("rohitpm") Set rsRecords = Conn.Execute("Select * from Schedule") ctr=0 Response.Write("
") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") WHILE rsRecords.EOF = FALSE if ctr =0 then Response.Write("") ctr=1 else Response.Write("") ctr=0 end if Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") rsRecords.MoveNext WEND Response.Write("
Date
Place
Morning
Evening
Initiation
"&rsRecords(0)&""&rsRecords(1)&""&rsRecords(2)&""&rsRecords(3)&""&rsRecords(4)&"
") rsRecords.Close Conn.Close %>