At the end of the second loop the Catch says that there are no rows at position 15. There are only 14 rows in that table and I am aware of that. What I attended on happening was that it would loop thru the rows and when the condition wasn't met to display the CodeItem2 form...
I have a newbie question.
I have a text box on a form and a button. When the button is clicked I need the data from form1.txtBox.Text on form1 to be inserted into form2.txtBox2.Text.
Any and all help is welcome.
Thanks
Help
After the user enters data in a textbox and has moved to another control on the form. If the user needs to change previosly entered data in that text box and clicks the mouse to change the data I get the following error.
An unhandled exception of type 'System.InvalidCastException'...
Hello,
I am using an ErrorProvider on several textboxes. The Provider works to the extent that it lets the user know of invalid data being entered however after the correct data has been entered the Icon(!) does not clear.
Here is my code:
Private Sub txtHole1_Validating(ByVal sender As...
No that not it either. All I am trying to do is loop thru a dataset and add the records to the combo box. If you have code I could look at just to get a view of the correct procedure that would be cool. Everything I have tried to date has not functioned correctly. I've tried the tutorials...
Please help with this code. All I am trying to do is fill a combo box with this sql statement.
Option Strict On
Imports System.Data.SqlClient
Imports System.Text
Public Class frmSearch
Inherits System.Windows.Forms.Form
Protected Const SQL_CONNECTION_STRING As String = _...
Kris,
The .setDataBinding is not a member of System.data.forms.ComboBox is there something that I am missing?
Your Code
.SetDataBinding(DataSet1, "tblTABLENAME")
Dollarbill
I am trying to fill a combo box. I created a DataGrid and everything works fine with that. However, I am trying to fill a combo box with the same data. (just trying to experiment). In VB 6.0 I could loop thru a record set and fill the combo box that way. Is there a similar method in .NET...
Hi,
I have a combo Box filled with data. What I want to do is have every other column in the box to have a BackColor to Yellow. I am able to change the entire Backcolor but not the individual columns.
Any all suggestions are helpful.
Dollarbillg
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.