Solved

VB.net Visual Basic combo

Posted on 2008-10-06
2
260 Views
Last Modified: 2010-04-23
Hi,
In visual basic Combo we can know whether the comboBox is bound or not by
  If Val(combo.BoundText) = 0
What is the equivalent to know in .NET winform comboBox
0
Comment
Question by:dotnet0824
2 Comments
 
LVL 48

Accepted Solution

by:
jpaulino earned 75 total points
ID: 22651469
You can check if the datasource is nothing
0
 
LVL 18

Assisted Solution

by:Priest04
Priest04 earned 50 total points
ID: 22651487
If ComboBox1.DataSource Is Nothing Then
    MessageBox.Show("Control is not bound!")
End If

Goran
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now