Results 1 to 9 of 9

Thread: Fast Q : help please

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Location
    y
    Posts
    141

    Unhappy

    I have this code

    "<td>" & objRS("Scale") & "&nbsp;</td>" & _
    "<td>" & objRs("Attribute Comments") & "&nbsp;</td>" & _
    "<td>" & objRs("Low Limit") & "&nbsp;</td>" & _
    "<td>" & objRs("Up Limit") & "&nbsp;</td>" & _
    "</tr>"

    I want to constant for every column

    Any help
    Thanks

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    I dont understand. Please explain.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Location
    y
    Posts
    141

    Wink hi cander

    Hi
    I want to control of the column width
    Thanks
    efrat

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    response.write "<td width='" & widthvariable & "'>"

    Is that what you mean??
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Location
    y
    Posts
    141

    Wink Let me check

    Im checking.....efrat in process..

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Location
    y
    Posts
    141

    Wink

    "<td>" & objRS("Scale") & " </td>" & _
    "<td>" & objRs("Attribute Comments") & " </td>" & _
    "<td>" & objRs("Low Limit") & " </td>" & _
    "<td>" & objRs("Up Limit") & " </td>" & _
    "</tr>"

    If this is my code how do i use it like lets try" scale "
    Thanks

  7. #7
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    response.write "<td width='" & widthvariable & "'>" & objRS("Scale") & " </td>"
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Location
    y
    Posts
    141
    that what i did but have error

    "<td>" & objRs("Entity") & "&nbsp;</td>" & _
    "<td>" & objRs("Attribute Name") & "&nbsp;</td>" & _
    "<td><input type='text' size='10' value='" & objRs("Value") & "'></td>" & _
    "<td width='" & widthvariable & "'>" & objRS("Scale") & " </td>" & _
    "<td>" & objRs("Attribute Comments") & "&nbsp;</td>" & _
    "<td>" & objRs("Low Limit") & "&nbsp;</td>" & _
    "<td>" & objRs("Up Limit") & "&nbsp;</td>" & _
    "</tr>"
    objrs.movenext

  9. #9
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    You have to actually have a variable named 'widthvariable' that contains an integer that relates to how wide you want the TD to be. Or instead of 'widthvariable' you can do say,

    Code:
    "<td width=200>" & objRS("Scale") & "</td>"
    as for your code you posted, you have double quotes and single quotes mixed and mis-matched.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width