Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,064 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,776 people online right now. Registration is fast and FREE... Join Now!




chinging the box name throw loop

 
Reply to this topicStart new topic

chinging the box name throw loop

a_a_s
6 Mar, 2008 - 04:03 AM
Post #1

D.I.C Head
**

Joined: 20 Feb, 2008
Posts: 67

CODE

dim i as integer
i=1
Do Until i = 47


            InsertCommand1.Parameters.AddWithValue("?", Trim(Form1.ComboBox&"i".Text))
          
    Loop

how can i change the box name from 1 to 47 in the loop
User is offlineProfile CardPM
+Quote Post

bhandari
RE: Chinging The Box Name Throw Loop
6 Mar, 2008 - 04:27 AM
Post #2

D.I.C Addict
Group Icon

Joined: 31 Jan, 2008
Posts: 747


Dream Kudos: 900
My Contributions
code.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:48PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month