Advertisement
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: |
<%
'On error resume next
Dim GRID
set objConnection=Server.CreateObject("ADODB.Connection")
objConnection.ConnectionTimeout = 15
objConnection.CommandTimeout = 10
objConnection.Mode = 3 'adModeReadWrite
if objConnection.state = 0 then
objConnection.Open Application("DB_Connection_ConnectionString")
end If
strGridSQL = "SELECT SYS_GRID.G_NUMBER AS GRIDNUM, SYS_GRID.G_NAME AS GRIDNAME " & _
"FROM SYS_GRID;"
set objRSGRID=Server.CreateObject("ADODB.RecordSet")
objRSGRID.Open strGridSQL,objConnection,3,3
Do Until objRSGRID.eof
for GRID = 1 to 20
if GRID = objRSGRID("GRIDNUM") then
GRIDNUMBER" & GRID & " = objRSGRID("GRIDNAME")
end if
next
Loop
objRSGRID.Close
Set objRSGRID = Nothing
Response.Write("<table border= width= cellspacing=0 cellpadding=0 "& VBCrLF)
response.write("<tr><td width='80' align='center' style='border: 1px ridge #800000' bgcolor='#000000'>" & "<b> <font face='Verdana' style='font-size: 65%' " & _
"color='#FFFF00'>Locations</font></b></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER1 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER2 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER3 & "</font></td><td width='48'align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER4 & "</font></td><td width='48'align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER5 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER6 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER7 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER8 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER9 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER10 & "</font></td><td width='48'align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER11 & "</font></td><td width='48' align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER12 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER13 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER14 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER15 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER16 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER17 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER18 & "</font></td><td align='center' style='border: 1px ridge #800000' bgcolor='#000000'><font face='Verdana' style='font-size: 55%' " & _
"color='#FFFF00'>" & GRIDNUMBER19 & "</font></td></tr>" & "</td></tr>" )
bkgcolor="bgcolor=#cccccc"
%>
|
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
|
Loading Advertisement... |
| Open Discussion |