Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 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 February 12th, 2007, 06:55 AM
Authorized User
 
Join Date: Oct 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to VBM2
Default .NET Equivilent to ItemData(NewIndex) = ???

Hi all,

Very quick question.

What is the VB2005 equivilent to the VB6 list and combo box line of code:

Control.ItemData(Control.NewIndex) = RecordSet("IdFieldName")

Cheers,

VBM2

P.s... this is because I hate using databound... :-D
__________________
Kind regards,

Craig
 
Old February 19th, 2007, 08:14 AM
Authorized User
 
Join Date: Oct 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to VBM2
Default

Been a week now...

So... are we saying the only way of doing it is by using a combobox with a databound datasource???

There's no way I want to use the ValueMember and DisplayMember fields and then binding a datasource to it.

The horror...

Kind regards,

Craig





Similar Threads
Thread Thread Starter Forum Replies Last Post
send MASS Emails in ASP.NET 2 with VB.NET 2005 alexdcosta ASP.NET 2.0 Basics 1 July 17th, 2006 12:31 AM
Alternative for ItemData in Visual Studio 2005 tiyyob General .NET 4 June 8th, 2006 10:19 PM
Database diagram in .net using asp.net,c#.net scotttiger ADO.NET 2 February 16th, 2005 01:35 AM
VAL equivilent Mitch SQL Language 2 October 15th, 2003 10:50 AM
CR.net With ASP.net using C#.net Nilesh Leuva Crystal Reports 1 September 11th, 2003 12:19 AM





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