I have a combobox with about 2000 company names in it. I want to be able to type in the box and have it jump to a record beginning with that letter. I want to pass the Value (which is the vendor number) and the Text (which is the vendor name) to a window that is called by this box.
From what...
I have a parent form with a combo box with Company Name and ID. When a button is clicked, I want a child form to open that contains a datagrid populated from SQL2000. I want to pull only those records for the company that is choesen in the parent combobox. I'm missing some fundamental concept...
I am trying to populate a combobox from a database. The table name is Company and the fields are CompanyName and Company_ID.
this.comboBoxMMVendorContract.DataSource = dataSet1VendorContractList1;
this.comboBoxMMVendorContract.DisplayMember = "Company.CompanyName"...
I'm new at C# and .net - I'm not liking the gui interface for everything - I prefer just to type my own code, but anyway...
I originally had:
private System.Data.Dataset dataset1;
error received:
C:\VISION\DataEntry\DataEntry.cs(47): The type or namespace name 'Dataset' does not exist in the...
private Dataset dataset1;
doesn't work either.
The type or namespace name 'Dataset1' does not exist in the class or namespace 'DataEntry.DataEntry' (are you missing an assembly reference?)
Do you know anything else I could try?
Thanks,
Jill
I created a dataadapter and connection. The .net interface says create dataset, I follow the wizard. I look at my code and all seems fine. I save and compile and I get the error:
C:\VISION\DataEntry\DataEntry.cs(48): The type or namespace name 'Dataset1' does not exist in the class or...
I created a dataadapter and connection. The .net interface says create dataset, I follow the wizard. I look at my code and all seems fine. I save and compile and I get the error:
C:\VISION\DataEntry\DataEntry.cs(48): The type or namespace name 'Dataset1' does not exist in the class or...
Why is my code and the "view Source" Browser code different? Where did that javascript stuff come from?
Here is my code:
Language="vb" AutoEventWireup="false" Codebehind="restaurants.aspx.vb" Inherits="restaurants.restaurants1"%>
<!DOCTYPE...
I have a datagrid. "AllowSorting" is true. My column headings are normal underlined links. When they are clicked the page flickers as if data is being refreshed. The column sort doesn't change. Can any one help?
VB Code
Protected Sub DataGrid1_SortCommand(ByVal source As...
I have a datagrid. Allow Sorting is checked. My Column headings are links. WHen I click them, the page flickers as if it is refreshing data but the data sort does not change. Can anyone help?
This is the code:
Protected Sub DataGrid1_SortCommand(ByVal source As Object, _
ByVal e As...
I am using TextFields in Panels in order to get data to imput into a database. When someone fills in all of the info in the text fields, they submit and then the form refreshes itself from the database and includes info that the database assigns the record. Any field that was typed into...
I am getting the error: Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
here is my code (names and passwords changed to protect the innocent):
var SQLConn = Server.CreateObject("ADODB.Connection");
SQLConn.Open("DSN=acme"...
I am getting the error: Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
here is my code (names and passwords changed to protect the innocent):
var SQLConn = Server.CreateObject("ADODB.Connection");
SQLConn.Open("DSN=acme"...
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.