Click here to Skip to main content
15,921,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionneed help from all of you... Pin
n_c_s4-Jan-06 1:34
n_c_s4-Jan-06 1:34 
AnswerRe: need help from all of you... Pin
Christian Graus4-Jan-06 10:40
protectorChristian Graus4-Jan-06 10:40 
GeneralRe: need help from all of you... Pin
n_c_s6-Jan-06 3:38
n_c_s6-Jan-06 3:38 
GeneralRe: need help from all of you... Pin
Christian Graus8-Jan-06 9:42
protectorChristian Graus8-Jan-06 9:42 
Questionwhats the code for this in .net? Pin
Mridang Agarwalla4-Jan-06 0:37
Mridang Agarwalla4-Jan-06 0:37 
AnswerRe: whats the code for this in .net? Pin
J4amieC4-Jan-06 2:35
J4amieC4-Jan-06 2:35 
Questiontreeview(binarytree) Pin
mamatharaghu4-Jan-06 0:36
mamatharaghu4-Jan-06 0:36 
AnswerRe: treeview(binarytree) Pin
Paritos4-Jan-06 1:02
Paritos4-Jan-06 1:02 
HI,

I AM CREATING A PARENT NODE THEN CHILD FROM DATABASE.
FOR THAT I HAVE USED 2 DATASET AND 2 SQL STATEMENTS.Big Grin | :-D


'***************Adding Root Node**********************
TreeView1.Nodes.Add("PARENT")

'*********************End*****************************

'***************Adding Child Node*********************
For i = 0 To ds1.Tables(0).Rows.Count - 1
Dim ndNodes As TreeNodeCollection, ndNode As TreeNode
ndNodes = Me.TreeView1.Nodes
For Each ndNode In ndNodes
ndNode.Nodes.Add("" & ds1.Tables(0).Rows(i)(0) & " " & ds1.Tables(0).Rows(i)(1) & "")
Next
'******************End*****************************
'***************Adding Sub Child Node**************
Dim temp1 As String = ds1.Tables(0).Rows(i)(0)
Dim sql2 As String = "SELECT a,b,c FROM xyz"
adpt2 = New OleDbDataAdapter(sql2, conn)
adpt2.Fill(ds2, "TPSAT")
For j = 0 To ds2.Tables(0).Rows.Count - 1
Dim ndNodes1 As TreeNodeCollection
ndNodes1 = Me.TreeView1.Nodes(0).Nodes
ndNode = Me.TreeView1.Nodes(0).LastNode
ndNode.Nodes.Add("" & ds2.Tables(0).Rows(j)(0) & " " & ds2.Tables(0).Rows(j)(1) & "")
'***************************************end*****************************************************************

Paritosh
GeneralRe: treeview(binarytree) Pin
mamatharaghu4-Jan-06 1:41
mamatharaghu4-Jan-06 1:41 
GeneralRe: treeview(binarytree) Pin
J4amieC4-Jan-06 2:48
J4amieC4-Jan-06 2:48 
GeneralRe: treeview(binarytree) Pin
mamatharaghu4-Jan-06 18:18
mamatharaghu4-Jan-06 18:18 
GeneralRe: treeview(binarytree) Pin
J4amieC4-Jan-06 21:58
J4amieC4-Jan-06 21:58 
GeneralRe: treeview(binarytree) Pin
mamatharaghu5-Jan-06 18:28
mamatharaghu5-Jan-06 18:28 
QuestionFinding the creator/author name of a folder Pin
Kavitha Sathishkumar3-Jan-06 22:52
Kavitha Sathishkumar3-Jan-06 22:52 
AnswerRe: Finding the creator/author name of a folder Pin
Kamalatharsan6-Jan-06 21:27
Kamalatharsan6-Jan-06 21:27 
Questioncoping images from webpage using vb.net Pin
uktrips0073-Jan-06 22:23
uktrips0073-Jan-06 22:23 
QuestionKnow of an organization chart/organogram that takes xml and draws the structure? Pin
QuintesV3-Jan-06 21:27
QuintesV3-Jan-06 21:27 
AnswerRe: Know of an organization chart/organogram that takes xml and draws the structure? Pin
QuintesV3-Jan-06 21:29
QuintesV3-Jan-06 21:29 
QuestionVB ActiveX Control Pin
GayathriNaveen3-Jan-06 19:10
GayathriNaveen3-Jan-06 19:10 
QuestionLinking database over FTP Pin
Roshan Sumbaly3-Jan-06 18:04
Roshan Sumbaly3-Jan-06 18:04 
AnswerRe: Linking database over FTP Pin
Dave Kreskowiak4-Jan-06 5:53
mveDave Kreskowiak4-Jan-06 5:53 
QuestionIntranet Application Pin
Aanchal Naidu3-Jan-06 17:45
Aanchal Naidu3-Jan-06 17:45 
AnswerRe: Intranet Application Pin
Dave Kreskowiak4-Jan-06 5:51
mveDave Kreskowiak4-Jan-06 5:51 
Questiontcplistener (VB.NET) Pin
curseddagger3-Jan-06 17:23
curseddagger3-Jan-06 17:23 
AnswerRe: tcplistener (VB.NET) Pin
Dave Kreskowiak4-Jan-06 5:44
mveDave Kreskowiak4-Jan-06 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.