Click here to Skip to main content
16,013,747 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Redrawing dynamically added controls Pin
whaletail10010-Jul-02 13:15
whaletail10010-Jul-02 13:15 
GeneralRe: Redrawing dynamically added controls Pin
Not Active10-Jul-02 15:28
mentorNot Active10-Jul-02 15:28 
GeneralRe: Redrawing dynamically added controls Pin
Chris Rickard11-Jul-02 9:18
Chris Rickard11-Jul-02 9:18 
GeneralRe: Redrawing dynamically added controls Pin
whaletail10014-Jul-02 7:12
whaletail10014-Jul-02 7:12 
Generalfields number Pin
karanba10-Jul-02 6:11
karanba10-Jul-02 6:11 
GeneralRe: fields number Pin
Richard Deeming10-Jul-02 23:59
mveRichard Deeming10-Jul-02 23:59 
GeneralRe: fields number Pin
karanba11-Jul-02 0:36
karanba11-Jul-02 0:36 
GeneralRe: fields number Pin
Richard Deeming11-Jul-02 6:11
mveRichard Deeming11-Jul-02 6:11 
Function ColumnsInTable(Connection, TableName)
Dim rst
On Error Resume Next
    Set rst = Connection.Execute("SELECT TOP 1 * FROM [" & TableName & "]")
    If rst Is Nothing Then
        ColumnsInTable = -1
    Else
        ColumnsInTable = rst.Fields.Count
        rst.Close
        Set rst = Nothing
    End If
End Function

Dim Connection
    Set Connection = Server.CreateObject("ADODB.Connection")
    Connection.Open "Your connection string here"

Dim iColumns
    iColumns = ColumnsInTable(Connection, "Your table name here")

    Response.Write "Table contains <b>" & iColumns & "</b> columns."

    Connection.Close
    Set Connection = Nothing

Questionany1 know about exchange server 2000? Pin
Mustafai9-Jul-02 23:21
Mustafai9-Jul-02 23:21 
GeneralHome Page in full screen Pin
Hitu9-Jul-02 21:32
Hitu9-Jul-02 21:32 
GeneralRe: Home Page in full screen Pin
SimonS9-Jul-02 22:02
SimonS9-Jul-02 22:02 
GeneralRe: Home Page in full screen Pin
Hitu10-Jul-02 18:09
Hitu10-Jul-02 18:09 
QuestionTurn off the spinning Windows logo on the top right hand corner IE browser? Pin
Bala Ganesh9-Jul-02 20:12
Bala Ganesh9-Jul-02 20:12 
AnswerRe: Turn off the spinning Windows logo on the top right hand corner IE browser? Pin
Not Active10-Jul-02 4:15
mentorNot Active10-Jul-02 4:15 
GeneralRe: Turn off the spinning Windows logo on the top right hand corner IE browser? Pin
Roger Wright10-Jul-02 11:45
professionalRoger Wright10-Jul-02 11:45 
GeneralRe: Turn off the spinning Windows logo on the top right hand corner IE browser? Pin
Nick Parker10-Jul-02 13:01
protectorNick Parker10-Jul-02 13:01 
GeneralRe: Turn off the spinning Windows logo on the top right hand corner IE browser? Pin
Roger Wright10-Jul-02 14:27
professionalRoger Wright10-Jul-02 14:27 
Questioncodepage? Pin
zhoujun9-Jul-02 14:42
zhoujun9-Jul-02 14:42 
AnswerRe: codepage? Pin
Thesisus9-Jul-02 14:50
Thesisus9-Jul-02 14:50 
GeneralRe: codepage? Pin
zhoujun9-Jul-02 23:12
zhoujun9-Jul-02 23:12 
GeneralHelp Needed with this variable Pin
Pradhip9-Jul-02 12:35
Pradhip9-Jul-02 12:35 
GeneralRe: Help Needed with this variable Pin
Richard Deeming10-Jul-02 1:13
mveRichard Deeming10-Jul-02 1:13 
GeneralNew to ASP.NET /ASP Pin
thina9-Jul-02 10:49
thina9-Jul-02 10:49 
GeneralRe: New to ASP.NET /ASP Pin
Andy Smith9-Jul-02 11:35
Andy Smith9-Jul-02 11:35 
GeneralRe: New to ASP.NET /ASP Pin
thina9-Jul-02 12:19
thina9-Jul-02 12:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.