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
User Profile
Collapse
-
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... -
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.Leave a comment:
-
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...
No activity results to display
Show More
Leave a comment: