Server side code of the content page

Last post 03-03-2006 8:29 AM by jra2002. 2 replies.

Sort Posts:

  • Server side code of the content page

    03-02-2006, 3:44 PM
    • Participant
      872 point Participant
    • jra2002
    • Member since 12-13-2002, 9:03 AM
    • Posts 250
    On the content page, I have two grids,buttons
     
    Server side code  for the grid and button, do I need to write on the same side
    where my html code is there under <script runat="server"> tag
     
    Please let me know
  • Re: Server side code of the content page

    03-02-2006, 3:53 PM
    • All-Star
      32,472 point All-Star
    • augustwind
    • Member since 07-21-2002, 11:16 PM
    • Garland, TX
    • Posts 4,546
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs

    If I understand you correctly, yes -

    If you have a content page with Script tags - you would create the server side code for the buttons/grids inside the script tags of that content page

    David Wier
    MCP/ASPInsider
    ASPNet101.com - where to look first!
    Replace It! - the newest from August Wind - search/replace in multiple files
    Control Grouper - easily control properties for multiple controls with one control!
    Calendar Express - The Best HTML Calendar Generator on the web!
    (Please 'Mark as Answer' when it applies)
  • Re: Server side code of the content page

    03-03-2006, 8:29 AM
    • Participant
      872 point Participant
    • jra2002
    • Member since 12-13-2002, 9:03 AM
    • Posts 250

    I have some imports statements how to take care of it

    When I am trying to put inside the server tag, I am getting error

    Imports System.Data

    Imports System.Data.OracleClient

    Declarations of the variables

    Dim dtbCustomersFrom As DataTable

    Dim dtbCustomersTo As DataTable

    gives the error in Server tag in the HTML code

Page 1 of 1 (3 items)