Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 sql server

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-09-06 : 07:27:52
mohomed writes "how to get the all the values of a column of a table to populate in combobox which should be coonected to sql server"

AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2005-09-06 : 08:48:37
in SQL....generate and execuate a "select cola from yourtable" style query
in vb/asp...after the sql executes, invoke a "while not recordset.eof" style loop and process each record and add inot the combobox.

but...firstly buy a book or attend classes on programming with vb/asp + sql. you seem to be trying to run before you can walk. learn how to interact with sql, learn how to use vb/asp....and then proceed to the next step of putting them together.
Go to Top of Page
   

- Advertisement -