Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. class problem

class problem

Scheduled Pinned Locked Moved ASP.NET
helpsysadmintutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Miss Maheshwari
    wrote on last edited by
    #1

    i made a class to export gridview to excel.....its working fine on local server...but when i upload this class on server it is giving this error...

    The name 'GridViewExportUtil' does not exist in the current context

    please tell me how to use this class..

    E 1 Reply Last reply
    0
    • M Miss Maheshwari

      i made a class to export gridview to excel.....its working fine on local server...but when i upload this class on server it is giving this error...

      The name 'GridViewExportUtil' does not exist in the current context

      please tell me how to use this class..

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      I might be wrong but is the class stored in the correct folder, i.e. app_code folder?

      We are not a Code Charity

      M 1 Reply Last reply
      0
      • E eyeseetee

        I might be wrong but is the class stored in the correct folder, i.e. app_code folder?

        We are not a Code Charity

        M Offline
        M Offline
        Miss Maheshwari
        wrote on last edited by
        #3

        yeah i put my class in App_Code folder....should i make dll for my class...i didn't make that....please help me

        E 1 Reply Last reply
        0
        • M Miss Maheshwari

          yeah i put my class in App_Code folder....should i make dll for my class...i didn't make that....please help me

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          It depends how your website functions. Have you previously copied a dll across? I know that if you write the c# in visual studio and then upload dll then the most updated pages of code must be in that dll To answer your question then yes put it in the dll

          We are not a Code Charity

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups