i have 2 forms, one is Named With territory, where the territory description is given, and other form is Heirarchy, whre the tree will b shown,
when any one writes the description in territory, and presses update button, the Node should b created in heirachy...
can u help me plz...?

Jaseem, we can not keep on showing you all the code. You have to start showing some effort from your side.

What code do you have so far?

Show the code that you are working on or just pay for the code you want ?

Coding is not a free service.

How much you can pay for the service ?

sorry i can't give u, becoz still i m student, not in a position to pay anyone..and also i dont have credit card...

Then you need to work on your own assignment. Students are supposed to do that. I also did that in those days.

Show some effort to get any soft of here form our exports.

Option Explicit
Private con As New ADODB.Connection
Public rs As New ADODB.Recordset
Private Sub Datacon()
If con.State = 1 Then con.Close
con.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=ISIS_157;Data Source=JASEEMAHMED"
con.Open
End Sub

Private Sub Form_Load()
Dim nodx As Node
Call Datacon
Set rs = New ADODB.Recordset
rs.Open "SELECT * From CC_ATTRIBUTE_TYPE_ID", con, adOpenStatic, adLockOptimistic
'Do While Not rs.EOF = True
TreeView1.Checkboxes = True
Set nodx = TreeView1.Nodes.Add(, , "Attributeid", rs.Fields(0))
Set nodx = TreeView1.Nodes.Add("Attributeid", tvwChild, "Child1", rs.Fields(1))
rs.MoveNext
rs.Update
rs.Close
con.Close
End Sub

this tree is showing the fields because i wrote there feilds(0) and (1)
how can i add records in this tree???

This article has been dead for over six months. Start a new discussion instead.