Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
vb .net
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
msali36
New Member
Join Date:
Sep 2007
Posts:
13
#1
vb .net
Sep 17 '07, 02:03 PM
hi,
i just want to know how we can create label at run time
Plater
Recognized Expert
Expert
Join Date:
Apr 2007
Posts:
7872
#2
Sep 17 '07, 03:25 PM
The same way the designer does it.
Look at designer code to see how.
For a quick example:
Code:
Label mylabel= new Label(); mylabel.Name="mylabel"; this.Controls.Add(mylabel);
Comment
Post
Cancel
msali36
New Member
Join Date:
Sep 2007
Posts:
13
#3
Sep 18 '07, 11:24 AM
thanks for let me know...
could you plz also guide me how we can represent the database table from database in the form of hirarcy in vb.net
for example
table records
Parent Child
----------- A
A
Comment
Post
Cancel
msali36
New Member
Join Date:
Sep 2007
Posts:
13
#4
Sep 18 '07, 11:33 AM
thanks for let me know...
could you plz also guide me how we can represent the database table from database in the form of hirarcy in vb.net
for example
table records
Parent Child
----------- Root
Root A
Root B
A A1
A A2
B B1
B B2
in Vb.net it should look like this
Root
/ \
/ \
A B
/ \ / \
/ \ / \
A1 A2 B1 B2
Comment
Post
Cancel
Plater
Recognized Expert
Expert
Join Date:
Apr 2007
Posts:
7872
#5
Sep 18 '07, 12:35 PM
Try a treeview or something like that.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment