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

Gridview problem

Scheduled Pinned Locked Moved ASP.NET
9 Posts 5 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.
  • S Offline
    S Offline
    saravanan05
    wrote on last edited by
    #1

    hi i ma new in gridview i have gridview,the gridviwe contain below code <asp:TemplateField HeaderText="Question"> <ItemStyle /> <ItemTemplate> asp:Label ID="Qid" runat="server" Text='<%# Eval("QID") %>'></asp:Label> <a href="FlashQuestion.aspx?mode=showEditForm&id=<%# Eval("QID") %>"><%#Eval("Question")%></a> </ItemTemplate> </asp:TemplateField> here id bind in label..how can i get id in codebehind rgs sara Known Is Drop.Unknown Is Ocean

    S K C 3 Replies Last reply
    0
    • S saravanan05

      hi i ma new in gridview i have gridview,the gridviwe contain below code <asp:TemplateField HeaderText="Question"> <ItemStyle /> <ItemTemplate> asp:Label ID="Qid" runat="server" Text='<%# Eval("QID") %>'></asp:Label> <a href="FlashQuestion.aspx?mode=showEditForm&id=<%# Eval("QID") %>"><%#Eval("Question")%></a> </ItemTemplate> </asp:TemplateField> here id bind in label..how can i get id in codebehind rgs sara Known Is Drop.Unknown Is Ocean

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      just read some books and practice it first.

      Sathesh. Blessed is the season which engages the whole world in a conspiracy of love.

      1 Reply Last reply
      0
      • S saravanan05

        hi i ma new in gridview i have gridview,the gridviwe contain below code <asp:TemplateField HeaderText="Question"> <ItemStyle /> <ItemTemplate> asp:Label ID="Qid" runat="server" Text='<%# Eval("QID") %>'></asp:Label> <a href="FlashQuestion.aspx?mode=showEditForm&id=<%# Eval("QID") %>"><%#Eval("Question")%></a> </ItemTemplate> </asp:TemplateField> here id bind in label..how can i get id in codebehind rgs sara Known Is Drop.Unknown Is Ocean

        K Offline
        K Offline
        keyur satyadev
        wrote on last edited by
        #3

        send the code in proper way. i am not getting your code? Ignore html tag in question.

        S 1 Reply Last reply
        0
        • K keyur satyadev

          send the code in proper way. i am not getting your code? Ignore html tag in question.

          S Offline
          S Offline
          saravanan05
          wrote on last edited by
          #4

          hi i ma new in gridview i have gridview,the gridviwe contain below code

          K 1 Reply Last reply
          0
          • S saravanan05

            hi i ma new in gridview i have gridview,the gridviwe contain below code

            K Offline
            K Offline
            keyur satyadev
            wrote on last edited by
            #5

            why should you need the id. if u want to access the label u can access the label by its ID. tell me perfectly what u want to do?

            S 1 Reply Last reply
            0
            • K keyur satyadev

              why should you need the id. if u want to access the label u can access the label by its ID. tell me perfectly what u want to do?

              S Offline
              S Offline
              saravanan05
              wrote on last edited by
              #6

              hi i want delete particular id data

              Known Is Drop.Unknown Is Ocean

              K 1 Reply Last reply
              0
              • S saravanan05

                hi i want delete particular id data

                Known Is Drop.Unknown Is Ocean

                K Offline
                K Offline
                keyur satyadev
                wrote on last edited by
                #7

                place on delete link in gridview and bind data with it. use follwing code when user click on delete particular row be delete. use "e.commandargument" to get the id in code file. regards keyur satyadev

                1 Reply Last reply
                0
                • S saravanan05

                  hi i ma new in gridview i have gridview,the gridviwe contain below code <asp:TemplateField HeaderText="Question"> <ItemStyle /> <ItemTemplate> asp:Label ID="Qid" runat="server" Text='<%# Eval("QID") %>'></asp:Label> <a href="FlashQuestion.aspx?mode=showEditForm&id=<%# Eval("QID") %>"><%#Eval("Question")%></a> </ItemTemplate> </asp:TemplateField> here id bind in label..how can i get id in codebehind rgs sara Known Is Drop.Unknown Is Ocean

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #8

                  saravanan05 wrote:

                  i ma new in gridview

                  saravanan05 wrote:

                  the gridviwe contain below code

                  You appear to be new to using computers in general. I suggest you contact your client, tell them you are a liar and a thief, refund their deposit, buy an ASP.NET book and work through it and then STILL realise you're not fit for taking on contract work, but merely for being a junior employee. If you're a junior employee now, talk to your supervisor and ask them to give you jobs you can do, and resources with which to do them. This place is becoming an advertisement for all that's stupid about outsourcing. Every time I come here, I feel a burst of job security.

                  Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                  Y 1 Reply Last reply
                  0
                  • C Christian Graus

                    saravanan05 wrote:

                    i ma new in gridview

                    saravanan05 wrote:

                    the gridviwe contain below code

                    You appear to be new to using computers in general. I suggest you contact your client, tell them you are a liar and a thief, refund their deposit, buy an ASP.NET book and work through it and then STILL realise you're not fit for taking on contract work, but merely for being a junior employee. If you're a junior employee now, talk to your supervisor and ask them to give you jobs you can do, and resources with which to do them. This place is becoming an advertisement for all that's stupid about outsourcing. Every time I come here, I feel a burst of job security.

                    Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                    Y Offline
                    Y Offline
                    Yusuf
                    wrote on last edited by
                    #9

                    Christian Graus wrote:

                    Every time I come here, I feel a burst of job security.

                    It is shame what companies are doing nowadays. I have experienced it first hand and we have seen the quality of the outsourced job. X| :| :mad:

                    Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

                    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