I am not using a dataset. Here is the whole code.
<%@ Page Language="C#" MasterPageFile="~/GCSO_MasterPage.master" Title="Untitled Page" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
}
</script>
<asp:Content ID="Content1"...
Also:
I have the drop down set to autopostback and I want the startdate and enddate fields to populate each time the dropdown is changed.
Hope that helps.
Thanks again
Don
Wondering how I do this. I have a SQL query that pulls three fields from the database.
SELECT quarter, startdate, enddate from quarters
this then populates a drop down box with the quarter.
I want to put two labels next to the drop down and have the text of the two labels populate from the...
I like this idea:
Dim MyConnection As System.Data.SQLClient.SqlConnection
Dim MyDataAdapter As SQLClient.SQLDataAdapter
Dim MyDataTable As New DataTable
Dim MyDataRow As DataRow
Dim strSQL As String = "SELECT FIELD1, FIELD2 FROM MYTABLE"
MyConnection = New...
Wondering if anyone can tell me (a newbie) how to connect to a SQL database and pull fields and assign them to variables.
A sample script would be sufficient.
Here some sample data:
Database Fields: LastName, FirstName, MiddleName
Variables: varLastName, varFirstName, varMiddleName
I...
Here is what I am trying to run
SELECT quarter, startdate, enddate, requiredquarterhours AS quarter, startdate, enddate, requiredquarterhours
FROM quarters WHERE quarter = DropDownList2.DataValueField
I get an error stating that DropDownList2.DataValueField cannot be bound.
I have also...
Sorry for the newbie question, but I am just getting started.
I have a drop down list that I am trying to populate with data from two fields.
If in the dataTextField, I populate lastname, the drop down works fine and populates the lastname field in the drop down.
What I want is to do a...
Just learning Visual Basic . NET via Visual Studio 2003. Wondering if anyone has a suggestion for a complete reference book / manual and I can put on my shelf.
Looking for a book with "Everything I ever wanted to know." not a book I would read cover to cover.
Just want to look in it to find...
Trollacious,
Don't really want to do the CTRL-PrintScreen since that will also display my header and task bar at the top and bottom. These thumbnails are for incorporation to other web pages and would not look professional with the bars at top and bottom.
Don
Trollacious,
I am looking to take an html file and create to jpegs or gif of it. one ia small thumbnail and one a full size graphic that a user will get when they click on the thumbnail.
These html files are local to my network and will not be pulled via a url.
I would prefer bulk, but if I...
Wondering if anyone knows an easy way to generate thumbnail pics (jpeg or gif) from an HTML file. Prefer to be able to do this in bulk on a local machine.
In other words, I have a directoy on my local drive with about 50 html files. If I click on one it will launch IE and show the web page in...
We have an app here that will export some data to an excel spreadsheet. Unfortunately it leaves a blank in the column for customer name, but it does populate the customer number in the column following the name.
So it creates a new spreadsheet everytime your export this report. I need it to...
Ok, have changed the parameters a little bit. I would rather do it this way.
Sheet 1
two columns
Customer # Customer Name
I will fill in the customer number and I want the spreadsheet to query a Microsoft Access Database that has all my customer #'s and Names (i.e. Field 1, Field 2) and...
I am trying to create a macro to do the following on an Excel Spreadsheet
On Page 2 would be a permanent list of two Columns
Client ID Client Name
On page 1 I would like to be able to type or paste a client ID in one column and then have it autopopulate the column after it with the...
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.