TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vanstadenj
NA
3
0
Dynamic controls
Oct 26 2004 7:23 AM
Hello ya'll Im creating a checkbox dynamically then I stick it on a panel. I give each one a unique id example: "chkLONDON" Dim oObjCheckBox As CheckBox = New CheckBox() oObjCheckBox.ID = "chk" + CType(dsCustomer.Tables(0).Rows(iCount).Item("LocName"), String) oObjCheckBox.Text = CType(dsCustomer.Tables(0).Rows(iCount).Item("LocName"), String) pnlLocs.Controls.Add(oObjCheckBox) My problem now is, how do I see if that value is checked or not from my code. When I push my submit button I want to check if its cheked or not. I tried the following but it didn't work. Dim oObjCheckBox As CheckBox = New CheckBox() oObjCheckBox.ID = "chkLONDON" If (oObjCheckBox.Checked) Then 'do some stuff Else Hope this makes sense thnx
Reply
Answers (
1
)
How hide one directory??????
problem with Math.Cos(bouble a)