Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / August 2006

Tip: Looking for answers? Try searching our database.

combobox with data binding

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GS - 31 Aug 2006 01:03 GMT
I created a combobox on a form, and setup project data source connection,
carted a table, a view for the table:
create view vw_Favorite as select code + '=:' + value from codetable where
codetablename= 'Favorite' and sequence > 0

that went fine except it adds top (10) percent after select. I then proceed
to set data binding on the combo box, I just could not point it to the view
and get the desired result.  however if I create a stored procedure, I was
able to see one row in the combobox when I run the form

what have I missed?

VB studio express 2005

-------------- the sp is defined as:

CREATE PROCEDURE dbo.FinCoUrl
as
SELECT     code + '+:' + value AS Addr
FROM         CodeTable
WHERE     (codeTableName = 'FinCoUrl') AND (sequence > 0)

/* SET NOCOUNT ON */
RETURN

create procedure sp_favorite as select code
Cor Ligthert [MVP] - 31 Aug 2006 07:23 GMT
GS,

> -------------- the sp is defined as:
>
[quoted text clipped - 6 lines]
> /* SET NOCOUNT ON */
> RETURN

This is SQL transact language code for that are special newsgroups.

This newsgroup is about the .Net VB language code.
Not all what can be used in Visual studio even if that is limited to VB
Express

Cor

>I created a combobox on a form, and setup project data source connection,
> carted a table, a view for the table:
[quoted text clipped - 24 lines]
>
> create procedure sp_favorite as select code
GS - 31 Aug 2006 19:11 GMT
thx,  I see you mentioned in another thread an easier way to fill a combo
box instead of using the somewhat flaky  vb express 2005 design time
facility.

> GS,
>
[quoted text clipped - 45 lines]
> >
> > create procedure sp_favorite as select code

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.