Hi
I've got a TSQL view which looks like this
SELECT TOP 100 PERCENT --Needed for the ORDER BY clause
N.NHSReasonID
,N.Reason
,N.Notes
,N.TopValue
FROM
dbo.NHSReason N
ORDER BY
N.TopValue DESC
,N.Reason
In my VB.Net application, I have a ComboBox which uses the above as its datasource...
Hi,
On the form, the user have to pick 4 different fields from combobox and then it will show into DataGridView
here the code..
-----------------------------------------------------------------------
Dim EmployeeInt As New AcoSDK.Employee017
DataGridView1.Columns.Add("id", "ID")...
Hi,
New to vb so please go easy on me :)
Im trying to populate the combobox with items that are returned from a search of the database with linq from the combobox when the text changes(in the combo box)
here is some of my code:
Dim db As New ProdLinqDataContext
Dim searchstring =...
I have a problem with a combobox and no page on the Internet has been able to help me so far. So I hope that one of you can.
I have a form (with information about clients) with textboxes binded to a dataview. One of the columns in the dataview contains a number that tells me what kind of client...
I have a form that I'm going to use to display a single staff information record. One of the fields is STAFF_TYPE_ID which is a number. The number corresponds to a number in another table (STAFF_TYPE) where there is text field that holds the description of the type (Manager, specialist, auditor...
Again I have hit a snag!!!!
I have patched together a program, initially using the VS object helpers and then coding in functionality as and where I need it.
Initially I had a problem updating a table from a combobox, but I did that with a class and attaching it an arraylist as I read on...
I am having a problem display a first name and last name from another table that the form is bound to. After a lot of research and experimentation I managed to change the combo box from bound at design time to bound at run time.
This displays all the records in the combo box and selects the...
I am having a problem and I'm pretty sure it is me missing something somewhere.
I have set up a project in VS2008 and for most of the application I am using the Windows controls and their default behaviour. However, I have started programming in some functionality for the combo boxes that link...
This may seem like a silly question, but i'm really stuck on this.
Short story of how I got to situation first. I started a Windows app using all code for database connection and validation. However, it was always losing the formatting that I had set at run time. So I thought I would use the...
Hi,
There's probably some easy way to do this but it's driving me mad...
I have a form with a combo box that is populated from a database. When I set the text of the combo box to the value in the db
.Uc_address1.cmb_country.SelectedText = C_User.country
the combobox remains highlighted, and...
Hi, I want my ComboBox to display items from the AutoCompleteSource AllSystemSources.
Basically, I want the Items property to get its items from the AllSystemSources.
But I don't know how to do this.
Any help appreciated.
I am using Visual Studio 2008 Express (Not the WPF forms though)
Hi,
I'm just starting to look at Custom Controls after watching a MS video online.
Video Training - WindowsClient.net
I wondered if it's possible to get the name of the control that calls the OnEnter event that I am running.
Public Class MyComboBoxAuto
Inherits System.Windows.Forms.ComboBox...
Morning all!
I have a winform that has one combobox. I want to populate that it with a list of folders in a directory. I thought this might be a common thing but I have not found any thing concerning this.
For this example lets say the root folder is C:\Testing\Folder List\
In the folder...
Hello,
I'm pretty new to VB, and need some help with a project I'm working on. I'm trying to create a random name generator, and in order to store all the names I'm using an SQL database. I've got the database set up (simple version just until I get it working) and here's basically what I want...
Hi. I'd Like to know how to make a free text search function, If you don't Know what i mean by "Free Text Search" then here is an example:
Lets say i want to search for the string "ong" in a Combobox(In the list ofc)
And we have the following Listitems:
then Both Julie and Jimmy Should apper...
Hi All,
I've got a DataGridView with six columns. Three of these columns are actually comboboxes (i.e. each row in the datagridview is a combobox) aka DataGridViewComboBoxColumn. I have successfully populated each combobox with the collection I want from a dataset.
On form load, I want to...
hi all
im writing some software at the moment, i have a mysql database backing it all and i have a page called "edit items". its basically a datagrid which displays all the rows from the sql database in the products table.
now i identified a problem which is that if i leave the "category" area...
Hi,
Have been writing in VB .net for a few years now but this is the first time I have attempted to use data binding and I am having a problem which I just can't understand...
I am creating a dataset and populating it using a data adapter, it all seems to work fine up until this point, I then...
Here's a custom control that automatically handles displaying colors in a ComboBox. My goal is to have it be flexible (Automatically include system colors, or an array of user selected colors) and I'd like other people to test it out.Option Explicit On
Option Strict On
Imports...
Hello all!
I'm using a combox Findstring function to return the index location of an item in the list. The search string is created from a Database query that all works correctly. I then set the SelectedIndex to the value found.
Dim SearchString as String =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.