User Profile

Collapse

Profile Sidebar

Collapse
happyworld
happyworld
Last Activity: Nov 15 '07, 01:16 AM
Joined: Oct 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • happyworld
    replied to How to load a treeview from a dataset
    in .NET
    Poor me that no one seem willing to help.
    However, I have searched web and found one that is really helpful to me. This may helpful to other biginners, too.
    http://www.wwwcoder.co m/main/parentid/261/site/1700/68/default.aspx
    See more | Go to post

    Leave a comment:


  • happyworld
    started a topic How to load a treeview from a dataset
    in .NET

    How to load a treeview from a dataset

    I am quite new to VB.net
    I design my form with a treeview and some textboxes
    I have a dataset from the table like that:

    Company_id---Companyname---parent_id---Parentname
    Com1----------Name 1---------null----------null
    com2----------name 2---------com1----------name 1
    com3----------name3----------com1----------name1
    com4----------name4----------null----------null
    com5----------name5----------com4----------name4...
    See more | Go to post

  • The exception was:"Cast from type 'datarowview' to 'String' is not valid"
    That is because Me.ListBox1.Sel ectedValue does not return a string value.

    In my Form_load sub I assigned: Me.ListBox1.Dis playMember = "TEN_DVIDCH INH"
    Me.ListBox1.Val ueMember = "MA_DVIDCHI NH"

    So I desire to get data based on the selected valuemember.
    See more | Go to post

    Leave a comment:


  • happyworld
    started a topic my difficulty dealing with Listbox in VB.net
    in .NET

    my difficulty dealing with Listbox in VB.net

    I am new to VB.net.
    I want to display information in some textboxes correspondent to selected item in the listbox. Therefore I have a Sub SelectedIndexCh anged as follows:

    Private Sub ListBox1_Select edIndexChanged( ByVal sender As Object, ByVal e As System.EventArg s) Handles ListBox1.Select edIndexChanged
    oraconn.Connect ionString = "data source= &db ;uid= &user; pwd = &psd ; unicode=yes"
    Dim...
    See more | Go to post
No activity results to display
Show More
Working...