39 items found in the ASP.NET 2.0 Category
Import Data From Excel to Access with ASP.NET
Mikesdotnetting
-
09 July 2008 09:19
Building on my previous article on importing text files of various formats to an Access database, here's how to do the same thing simply and efficiently with Excel files.
Click to read more about Import Data From Excel to Access with ASP.NET ...
Filed under:
ASP.NET 2.0
MS Access
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 48415 times
AccessDataSource, SqlDataSource and connecting to Access databases in ASP.NET
Mikesdotnetting
-
17 May 2008 09:48
There are a variety of options for connecting to Access databases within ASP.NET pages. This article attempts to cover the choices and offer recommendations for getting the best out of Access.
Filed under:
ASP.NET 2.0
MS Access
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 56420 times
80040E14 - MS Access Syntax Error messages
Mikesdotnetting
-
01 May 2008 11:06
This short article deals with the following common MS Access-related error messages:
Click to read more about 80040E14 - MS Access Syntax Error messages ...
Filed under:
ASP.NET 2.0
MS Access
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 17366 times
Simple Login and Redirect for ASP.NET and Access
Mikesdotnetting
-
01 May 2008 10:02
Quite often, I see questions asked about creating a simple login page for use with Access from people who don't want to take advantage of the built-in Forms Authentication framework within ASP.NET. The following samples show how relatively easy this is to accomplish.
Click to read more about Simple Login and Redirect for ASP.NET and Access ...
Filed under:
ASP.NET 2.0
MS Access
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 133288 times
Solving the Operation Must Use An Updateable Query error
Mikesdotnetting
-
30 April 2008 22:48
The unbelievably cryptic Operation Must Use An Updateable Query error is the bane of developers who are just starting out with Access and ASP.NET. You've done your code, plopped your database file in the App_Data folder (or at least, you should have done), and try to run a page that INSERTs or UPDATEs records, and it all stops dead. This brief article explains the cause of the error, and the steps required to stop it recurring.
Click to read more about Solving the Operation Must Use An Updateable Query error ...
Filed under:
ASP.NET 2.0
MS Access
ADO.NET
ASP.NET 3.5
as
FAQ
Viewed: 105628 times
How to get your forum question answered - avoid thread-jacking
Mikesdotnetting
-
13 November 2007 12:33
If you have just been directed to this page, it may be because you have just thread-jacked. If you are not sure what that means, read on for an explanation, and some guidance.
Click to read more about How to get your forum question answered - avoid thread-jacking ...
Filed under:
ASP.NET 2.0
as
FAQ
Viewed: 485855 times
An ASP.NET Search Engine with MS Access for optional search criteria
Mikesdotnetting
-
12 November 2007 15:15
Creating a search interface for one user-supplied value is pretty straightforward: a TextBox for input, a Button and some SQL that searches one or more fields where the values are LIKE '%' + @searchterm + '%' is all that is needed. While it works, this approach is not very flexible. For example, what if you wanted to search for an Employee whose last name contains "a", and don't want those where the first name or city contains "a"? The traditional solution to this is to dynamically construct the SQL statement based on what values were passed by the user. However, building the SQL string can get repetitive, boring and messy. Here is a cleaner way to allow the user to narrow down searches across multiple criteria with the use of optional parameters, and just 3 lines of programming code.
Click to read more about An ASP.NET Search Engine with MS Access for optional search criteria ...
Filed under:
ASP.NET 2.0
MS Access
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 19083 times
Referencing CheckBoxes in GridView, Repeater and DataList controls
Mikesdotnetting
-
30 August 2007 10:29
If you want to find which CheckBoxes were selected in a multiple record DataBound control, the way that you you do it depends on the type of control you use. These examples demonstrate a CheckBox control being added to a GridView, Repeater and a DataList. For simplicity, I have placed all three controls on the same page, and used the Access version of theNorthwind database. One AccessDataSource control is used to bind the results of "SELECT [CategoryID], [Description], [CategoryName] FROM [Categories]" to all three controls.
Click to read more about Referencing CheckBoxes in GridView, Repeater and DataList controls ...
Filed under:
ASP.NET 2.0
ASP.NET Web Forms
as
Snippet
Viewed: 49681 times
ViewState, form fields, labels and Javascript
Mikesdotnetting
-
25 August 2007 12:34
An interesting question came up on the ASP.NET forums asking why a TextBox which has its value changed by client-side Javascript persists those changes across postbacks, while a Label does not. And in a nut shell, this question covered two of the biggest causes of confusion among newcomers to ASP.NET: the difference between ViewState and IPostBackDataHandler; and the difference between client-side operations and server-side operations.
Click to read more about ViewState, form fields, labels and Javascript ...
Filed under:
ASP.NET 2.0
Javascript
ASP.NET Web Forms
as
Tutorial
Viewed: 35756 times
Bind Data From a SqlDataSource to a Label
Mikesdotnetting
-
25 August 2007 10:32
Label controls in ASP.NET don't have a smart tag that allows you to select a data source, so at first glance, it is not easy to see how to bind a value returned from a SqlDataSource or AccessDataSource control to the label. Here's how to programmatically access the data returned by such a DataSource and apply it to a non-databound control.
Click to read more about Bind Data From a SqlDataSource to a Label ...
Filed under:
ASP.NET 2.0
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 112208 times
Object reference not set to an instance of an object and INamingContainer
Mikesdotnetting
-
21 August 2007 11:36
A list of standard ASP.NET web controls that implement INamingContainer
Filed under:
ASP.NET 2.0
ASP.NET Web Forms
as
Cheat Sheet
Viewed: 17551 times
Consuming RSS feeds in an ASP.NET page
Mikesdotnetting
-
18 August 2007 23:12
I like reading Scott Guthrie's blog. Trouble is, I get so busy, I forget to go over there and have a look to see what's new. I was searching for something the other day, and stumbled across someone else's blog (I forget whose), but I noticed that they had the 5 most recent items in Scott's blog embedded in their home page. It was only then that I discovered that Scott Mitchell has written a whole load more tutorials on Data Access, and that these have been available for a while. So I got to thinking that I should add a feed from Scott G's site onto the home page here, so I can be updated more quickly. Here's the bare bones of how I did it.
Click to read more about Consuming RSS feeds in an ASP.NET page ...
Filed under:
ASP.NET 2.0
ASP.NET Web Forms
as
Tutorial
Viewed: 7930 times
List the contents of a folder and link to each file
Mikesdotnetting
-
10 August 2007 21:33
Iterating the contents of a folder is straightforward using classes from System.IO, and listing them as links to the actual file just requires a bit of html added to each file name.
Click to read more about List the contents of a folder and link to each file ...
Filed under:
ASP.NET 2.0
as
Snippet
Viewed: 4892 times
Exporting data to a CSV, tab delimited or other text format
Mikesdotnetting
-
02 August 2007 23:41
A question that often comes up in forums is how to export data to a CSV file, or other text format. Here's a method that takes data from a DataReader and writes it to a file.
Click to read more about Exporting data to a CSV, tab delimited or other text format ...
Filed under:
ASP.NET 2.0
ADO.NET
as
Snippet
Viewed: 18180 times
Displaying One-To-Many Relationships with Nested Repeaters
Mikesdotnetting
-
27 July 2007 14:24
This item could also have been entitled "Displaying Master-Detail Data" or "Displaying Categorised Data", but the principal is the same: you have what are essentially headings or categories, and a group of entries that belong to each heading that you want to display. Typical examples would include the Models of cars by Manufacturer, or Employees by Department. Here's how to do it quite simply using nested Repeaters.
Click to read more about Displaying One-To-Many Relationships with Nested Repeaters ...
Filed under:
ASP.NET 2.0
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 26284 times


