plz help me
Reply
![]() |
|
From:
![]() Aspraj1
|
hi, suresh,
you can bind the list box dim sqlcmd as new sqlcmd dim sda as new sqldataadapter dim ds as new dataset dim lst as listbox dim sqlcon as new sqlcoonnection sqlcon.connectionstring="""" string ..." sqlcon.open()
with sqlmd .commandtext=" querY" .command type= command.text connection=sqlcon end with sda.selectcommand=sqlcmd sda.fill(ds,"rajat") lst.datasource=ds lst.displaymember=ds.table(0).columns("name").caption lst.valuemember=ds.table(0).columns(i"d").capation sda=nothing ds=nothing sqlcmd =nothing close_con()
it will help u rajat
_________________________________________________________________ Get yourself a brand new Mobile. http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-378?ck=BuyNewMobile Find,Compare & BUY IT NOW on eBay.in!
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|