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. General Programming
  3. .NET (Core and Framework)
  4. Need A Help Of Nested Grid View

Need A Help Of Nested Grid View

Scheduled Pinned Locked Moved .NET (Core and Framework)
cssbusinesshelp
8 Posts 6 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
    meetnneel
    wrote on last edited by
    #1

    Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.

    L S P R 4 Replies Last reply
    0
    • M meetnneel

      Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Did the answer in the thread below not help, or did I misinterpret your question?

      Bastard Programmer from Hell :suss:

      M 1 Reply Last reply
      0
      • L Lost User

        Did the answer in the thread below not help, or did I misinterpret your question?

        Bastard Programmer from Hell :suss:

        M Offline
        M Offline
        meetnneel
        wrote on last edited by
        #3

        No It Was Help-Full But It Was Related Using By DataSourse, & I Need Answer Related With Using Business Logic (a multiple classes). & Database Was DB2.

        L 1 Reply Last reply
        0
        • M meetnneel

          No It Was Help-Full But It Was Related Using By DataSourse, & I Need Answer Related With Using Business Logic (a multiple classes). & Database Was DB2.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Aight, good luck in finding one :)

          Bastard Programmer from Hell :suss:

          1 Reply Last reply
          0
          • M meetnneel

            Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.

            S Offline
            S Offline
            shankysharma86
            wrote on last edited by
            #5

            hi , You can use along with and kindly search on google "item template with gridviews". You will get you solution there. You have to do this coding on .aspx->Source file.

            modified on Friday, June 3, 2011 4:19 PM

            P 1 Reply Last reply
            0
            • S shankysharma86

              hi , You can use along with and kindly search on google "item template with gridviews". You will get you solution there. You have to do this coding on .aspx->Source file.

              modified on Friday, June 3, 2011 4:19 PM

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              Please edit your answer. You've borked the forums.

              Forgive your enemies - it messes with their heads

              My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

              1 Reply Last reply
              0
              • M meetnneel

                Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.

                P Offline
                P Offline
                Prasanta_Prince
                wrote on last edited by
                #7

                Gridview inside Gridview in asp.net C#[^] Hope this can help you.

                1 Reply Last reply
                0
                • M meetnneel

                  Hay Guys, I'm working on one live project which is web based application. And We Are Using Business Logic Using Multiple Class & Fatch The Record In Front End From Back-End DB2. Now I Need To display Multiple Records. In One Gridview, I Need To To Display One More Gridview Control By MasterGrid Reff. Through Identification By Unique Key. Using Business Logic(Classes) Thank You For Consideration.

                  R Offline
                  R Offline
                  robertalis
                  wrote on last edited by
                  #8

                  Hello I am not much experienced but I can give you an overview

                  Protected Sub grdMaster_RowDataBound(ByVal sender As Object, _
                  ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) _
                  Handles grdMaster.RowDataBound
                  Dim objListItem As DataControlRowState
                  objListItem = e.Row.RowState
                  Dim intMAsterID1 As Integer
                  If e.Row.RowType = DataControlRowType.DataRow Then
                  Dim grd As GridView
                  If objListItem = 5 Then
                  grd = CType(e.Row.FindControl("grdChildGridEdit"), GridView)
                  MasterTableID = Convert.ToInt32(CType(e.Row.DataItem, _
                  DataRowView).Row.ItemArray(0).ToString())
                  intMAsterID1 = MasterTableID
                  ElseIf objListItem = DataControlRowState.Normal Or _
                  objListItem = DataControlRowState.Alternate Then
                  grd = CType(e.Row.FindControl("grdChildGridNormal"), GridView)
                  intMAsterID1 = Convert.ToInt32(CType(e.Row.DataItem, _
                  DataRowView).Row.ItemArray(0).ToString())
                  Dim lnkButtton As LinkButton
                  lnkButtton = CType(e.Row.FindControl("Edit"), LinkButton)
                  If lnkButtton IsNot Nothing Then
                  lnkButtton.CommandName = "Edit Master"
                  lnkButtton.CommandArgument = intMAsterID1.ToString
                  End If
                  ElseIf objListItem = DataControlRowState.Edit Then
                  grd = CType(e.Row.FindControl("grdChildGridEdit"), GridView)
                  MasterTableID = Convert.ToInt32(CType(e.Row.DataItem, _
                  DataRowView).Row.ItemArray(0).ToString())
                  intMAsterID1 = MasterTableID
                  End If
                  If grd IsNot Nothing Then
                  grd.DataSourceID = ""
                  grd.DataSource = ChildDataSource
                  ChildDataSource.SelectParameters(_
                  "MasterTableID").DefaultValue = intMAsterID1
                  ChildDataSource.Select()
                  grd.DataBind()
                  End If
                  End If
                  End Sub

                  visit here to solve your .net grid related problem http://www.dapfor.com/Help/NetGrid/Index.aspx[^]

                  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