Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I am looking a code for multi level adding treeview using Vb.NET for Winforms.... i am not sure my approach is good or not, but i am stuck on 2nd level..... what shall i do i don't know any body can help me my project is pending due to this.. on next stage we we disscuss drag and drop..... some code not there for more understanding...
My Data Looks like.....
ID Name PID LEVEL
1 Root1 1 0
2 Root2 2 0
101 Root 1 Child 1 1 1
102 Root 1 Child 2 1 1
201 Root 2 Child 1 2 1
10101 Root 1 Child 1 Child 1 101 2
10102 Root 1 Child 1 Child 2 101 2
Dim DT As New DataTable("HRV")
Dim DC As DataColumn
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
I think you just need to order your data source on level, and just create the nodes within a loop - no need for a case statement. Level 0 will not have a parent, otherwise, PID should be the parent node.
You can try Solution Explorer for access the form.
Secondly may be your form.resx file contants are missing or deleted.
If you are saying about Forms Group Box then you can select the Object from Property window and set it's property for visible and location and Size also.
i am using .net 2005.i do my project in vb.net windows application.The lot of billnos are saved in sql server 2000 database.
billno 1,2,3,4 are saved in sql server 2000 database.
i want to display billnos like 1,2,3,4 from SQL 2000 server database in horizontally in section2(Page Header) or section3(Details) of crystalreports for visual studio.net.
In my project output,
if i keep billno field in section2(Page Header) means,in output, only one billno '1' is coming,billno 2,3,4 is not coming.
like that if i keep billno in section3(Details)means,in output,billno 1,2,3,4 is coming in vertical.but i want to display in horizontal.
so,i want to display billnos 1,2,3,4 from SQL 2000 server database in horizontally in section2(Page Header) or section3(Details) of crystalreports for visual studio.net.
how to do this?.
where i keep this billno in section2(Page Header) or section3(Details).
thanks in advance.
Last Visit: 31-Dec-99 18:00 Last Update: 9-May-21 20:09