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. problem displaying..

problem displaying..

Scheduled Pinned Locked Moved ASP.NET
helpcssdatabasedesignquestion
6 Posts 3 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.
  • C Offline
    C Offline
    chubbie
    wrote on last edited by
    #1

    hi there.. need some help from you people.. here's the situation: default.aspx : i dragged and dropped a grid view into the UI. at the top right-hand corner, there is a small arrow. i clicked on that.. and select my datasource, database, table etc.. my data are then displayed at the table. i saved this aspx. and right-clicked to view at browser. but somehow my gridview didnt appear in the browser..? why is this so..? do i need to include any codes..? thanks for your help.. -DarkangeL-

    M I 2 Replies Last reply
    0
    • C chubbie

      hi there.. need some help from you people.. here's the situation: default.aspx : i dragged and dropped a grid view into the UI. at the top right-hand corner, there is a small arrow. i clicked on that.. and select my datasource, database, table etc.. my data are then displayed at the table. i saved this aspx. and right-clicked to view at browser. but somehow my gridview didnt appear in the browser..? why is this so..? do i need to include any codes..? thanks for your help.. -DarkangeL-

      M Offline
      M Offline
      mr_debasishdas
      wrote on last edited by
      #2

      Hi, This is a sugestion only, Please try bind your grid in the code behind file with a data source. bind the datasource with dataset, the dataset must be populated before that. You may be getting problem as no data in your datasource, then it wont show any thing. Another thing I will suggest that please check that whether u r able to debug your asp.net page or not?? Some times what happens if you are not able to debg the page i mean if starting without debuging then it fails to compile properly the page and may not be able to show the server controls. Ok by the way the small arrow you are talking about is that: this icon represents that the control is a server control. :) DD --------------------------------------------------------------------------- Debasish Das(MBA), is a hardcore software solution provider, working in ESSPL (INDIA). Got 5 years of experience on various client server technologies like Visual Basic,.NET framework, Power Builder, Message Queue Server. And also posses sound knowledge in Quality Processes applied to software engineering. Quite often travels overseas to provide solutions to some fortune 100 clients. He can be reached with mr_debasishdas@hotmail.com or debasishd@esspl.com

      C 1 Reply Last reply
      0
      • M mr_debasishdas

        Hi, This is a sugestion only, Please try bind your grid in the code behind file with a data source. bind the datasource with dataset, the dataset must be populated before that. You may be getting problem as no data in your datasource, then it wont show any thing. Another thing I will suggest that please check that whether u r able to debug your asp.net page or not?? Some times what happens if you are not able to debg the page i mean if starting without debuging then it fails to compile properly the page and may not be able to show the server controls. Ok by the way the small arrow you are talking about is that: this icon represents that the control is a server control. :) DD --------------------------------------------------------------------------- Debasish Das(MBA), is a hardcore software solution provider, working in ESSPL (INDIA). Got 5 years of experience on various client server technologies like Visual Basic,.NET framework, Power Builder, Message Queue Server. And also posses sound knowledge in Quality Processes applied to software engineering. Quite often travels overseas to provide solutions to some fortune 100 clients. He can be reached with mr_debasishdas@hotmail.com or debasishd@esspl.com

        C Offline
        C Offline
        chubbie
        wrote on last edited by
        #3

        hmm. do you mind simplifing your explanations? i'm quite lost at the moment.. toO many doubts.. and this is one of them.. thanks and sorry.. -DarkangeL-

        M 1 Reply Last reply
        0
        • C chubbie

          hmm. do you mind simplifing your explanations? i'm quite lost at the moment.. toO many doubts.. and this is one of them.. thanks and sorry.. -DarkangeL-

          M Offline
          M Offline
          mr_debasishdas
          wrote on last edited by
          #4

          I was talking that, Once you got the grid on your asp.net page then goto the code behind page. There create a dataset(any book ok asp.netcan help you for dataset). After creatting dataset. use the code in pageload or where ever you want. as Grid1.datasource=datasetname. This will solve your problem. DD

          C 1 Reply Last reply
          0
          • C chubbie

            hi there.. need some help from you people.. here's the situation: default.aspx : i dragged and dropped a grid view into the UI. at the top right-hand corner, there is a small arrow. i clicked on that.. and select my datasource, database, table etc.. my data are then displayed at the table. i saved this aspx. and right-clicked to view at browser. but somehow my gridview didnt appear in the browser..? why is this so..? do i need to include any codes..? thanks for your help.. -DarkangeL-

            I Offline
            I Offline
            Ista
            wrote on last edited by
            #5

            have you tried click on run instead? 1 line of code equals many bugs. So don't write any!!

            1 Reply Last reply
            0
            • M mr_debasishdas

              I was talking that, Once you got the grid on your asp.net page then goto the code behind page. There create a dataset(any book ok asp.netcan help you for dataset). After creatting dataset. use the code in pageload or where ever you want. as Grid1.datasource=datasetname. This will solve your problem. DD

              C Offline
              C Offline
              chubbie
              wrote on last edited by
              #6

              hmm.. i'll try.. thanks for your help.. if still cant run, i'll ask for your help again.. thanks.. -DarkangeL-

              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