Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2003, 04:05 AM
Authorized User
 
Join Date: Dec 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default generate checkbox

hi again,

how can i generate a checkbox in vb.net.
 i'm using do while loop

__________________
Suzila
 
Old December 9th, 2003, 03:53 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

you have to ask this question in vb.net sessions
but for your question you can add controls at run time using
for example to form :


        For i = 0 To 4
            textArr(i) = New TextBox()
            textArr(i).Text = "TextNo" & CStr(i)
            textArr(i).Top = i * 30 + 10
            textArr(i).Left = 10
            textArr(i).Width = 100
            Me.Controls.Add(textArr(i))
            textArr(i).Show()
        Next


Ahmed Ali
Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to generate in HTML lily611 C# 1 July 29th, 2013 05:44 AM
generate index rshan XSLT 1 May 23rd, 2007 01:14 AM
checkbox checked by default by html:checkbox sachin.tathod Struts 3 December 4th, 2006 03:41 PM
How Generate Paper ? aunjizaza Visual Basic 2005 Basics 0 August 25th, 2006 04:03 PM
generate table Patrick19 C# 1 March 12th, 2005 08:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.