Page 2 of 8 FirstFirst 12345 ... LastLast
Results 11 to 20 of 79
  1. #11

    bai, any specific code that simply creates what i need?....


    sample:
    naa kay datagridview...den naay mga columns

    Col1, Col2, Col3
    Row 1 column 1 = combo box(item 1,item2,item3) -->on change display a message
    Row 1 column 2 = button--->on click display a message
    Row 1 column 3 = textbox -->on click of the button dispay value of textbox

    Row 2 column 1 = combo box(item 1,item2,item3) -->on change display a message
    Row 2 column 2 = button--->on click display a message
    Row 2 column 3 = textbox -->on click of the button dispay value of textbox
    ....... so on and so fort

    mao ra na bai. tabang

  2. #12
    Quote Originally Posted by pitbull147 View Post
    bai, any specific code that simply creates what i need?....


    sample:
    naa kay datagridview...den naay mga columns

    Col1, Col2, Col3
    Row 1 column 1 = combo box(item 1,item2,item3) -->on change display a message
    Row 1 column 2 = button--->on click display a message
    Row 1 column 3 = textbox -->on click of the button dispay value of textbox

    Row 2 column 1 = combo box(item 1,item2,item3) -->on change display a message
    Row 2 column 2 = button--->on click display a message
    Row 2 column 3 = textbox -->on click of the button dispay value of textbox
    ....... so on and so fort

    mao ra na bai. tabang
    where will you display a message? ganahan raka ini hilabot sa mga objects sulod sa combo box mu initiate sya ug event?

  3. #13
    Quote Originally Posted by bryanarzaga View Post
    you mean a tree view?
    sort of ingon ana bt combination of tree view and datagrid...

    same ani nga nga link DataGrid - Master/Child/Slave Details in VB.NET - Expand/Collapse Rows (Master/Detail View) - ProgTalk

    bt its implemented on asp.net

    dont know how to make it in vb

    thanks bro...

  4. #14
    Quote Originally Posted by pitbull147 View Post
    bai, any specific code that simply creates what i need?....


    sample:
    naa kay datagridview...den naay mga columns

    Col1, Col2, Col3
    Row 1 column 1 = combo box(item 1,item2,item3) -->on change display a message
    Row 1 column 2 = button--->on click display a message
    Row 1 column 3 = textbox -->on click of the button dispay value of textbox

    Row 2 column 1 = combo box(item 1,item2,item3) -->on change display a message
    Row 2 column 2 = button--->on click display a message
    Row 2 column 3 = textbox -->on click of the button dispay value of textbox
    ....... so on and so fort

    mao ra na bai. tabang
    try ds link bro....
    vb.net datagrid .net datagridview, .NET 2005 datagrid vb.net c# combobox datetime numeric

  5. #15
    Quote Originally Posted by ingkiang View Post
    sort of ingon ana bt combination of tree view and datagrid...

    same ani nga nga link DataGrid - Master/Child/Slave Details in VB.NET - Expand/Collapse Rows (Master/Detail View) - ProgTalk

    bt its implemented on asp.net

    dont know how to make it in vb

    thanks bro...
    i see but thats asp.net vb it would be ok to use some of the codes, just not the ones that are used for the web. but the logic is pretty much there pwede ra nimu magamit,

  6. #16
    thanks bro...

  7. #17
    bro dont understand much d logic...

    correct me if im wrong bro ha?

    the image below is just composed of table? and the 1st column is composed of buttons?



    then the second image below where the datagrid comes in? the blue colored table?
    or pwede rani xa nga table tanan?



    then naa p d i ko prob bro, this part here..it uses javascript...
    how will i do it in vb.net to colapse/uncolapse data?

    Code:
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) 
             Handles MyBase.Load
    
            'Clear the contents of the Label
            Me.LabelPostBack.Text = ""
     
            If Not Page.IsPostBack Then
                'Bind Master Details
                BindData()
            Else
                For i As Integer = 0 To Me.DataGrid1.Items.Count - 1
                    'After Postback ID's get lost. Javascript will not work without it,
                    'so we must set them back.
                    Me.DataGrid1.Items(i).Cells(0).ID = "CellInfo" + i.ToString()
                Next
     
                'If it is a postback that is not from the grid, we have to expand the rows
                'the user had expanded before. We have to check first who called this postback
                'by checking the Event Target. The reason we check this, is because we don't 
                'need
                'to expand if it is changing the page of the datagrid, or sorting, etc...
                If Request("__EVENTTARGET") Is Nothing Then
                    Return
                Else
                    Dim strEventTarget As String = Request("__EVENTTARGET").ToString().ToLower()
     
                    'datagrid1 is the name of the grid. If you modify the grid name,
                    'make sure to modify this if statement.
                    If strEventTarget.IndexOf("datagrid1") = -1 Then
                        If Not Page.IsStartupScriptRegistered("ShowDataJS") Then
                            Page.RegisterStartupScript("ShowDataJS", 
                               "<script>ShowExpandedDivInfo('" +
    Me.txtExpandedDivs.ClientID + "','" +
    Me.DataGrid1.ClientID + "');</script>")
     
                        End If
                    End If
     
                End If
            End If
        End Sub

  8. #18
    its a datagrid within a datagrid,

    dli man ka maka gamit ug javascript sa app, machine mana so pwede ra nimu ma execute, ang naka nindot pud sa app kai walay refresh2x lol

  9. #19
    Quote Originally Posted by bryanarzaga View Post
    its a datagrid within a datagrid,

    dli man ka maka gamit ug javascript sa app, machine mana so pwede ra nimu ma execute, ang naka nindot pud sa app kai walay refresh2x lol
    so table, inside the table is datagrid and inside the datagrid is datagrid?

    how bout il just use table nlang kaha? no datagrid?

  10. #20
    actually the example up there is just a datagrid and there is another datagrid inside it, ill have to code that to see if i can get a work around going

  11.    Advertisement

Page 2 of 8 FirstFirst 12345 ... LastLast

Similar Threads

 
  1. how to populate datagrid in vb.net?
    By mcapon in forum Programming
    Replies: 0
    Last Post: 01-07-2011, 12:41 AM
  2. Problem with VB.Net SQL Server
    By boloygabs in forum Programming
    Replies: 11
    Last Post: 09-22-2010, 02:03 AM
  3. Replies: 6
    Last Post: 06-26-2006, 10:33 AM
  4. Replies: 10
    Last Post: 12-20-2005, 08:53 AM
  5. Replies: 0
    Last Post: 12-05-2005, 05:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top