Published Friday, August 07, 2009 Ajax
This sample application lets your clients to check username before contiue to fill the sign up form. Rest of the code is a simple user signup form and stores the information to SQL Server.
| Today Hit: 4 | All Time Hits: 1317 | Discuss (0 posts)
| Rating
|
Published Wednesday, May 06, 2009 ASP.NET
In this article, Sergey examines the role of cross domain access policy in Silverlight. After a short introduction, he examines the interaction between client and server as well as a list of threats which may occur in rich internet applications. He also provides steps to take in order to prevent attacks and operation of Crossdomain Client Access Policy with the help of relevant screenshots and source code.
| Today Hit: 1 | All Time Hits: 835 | Discuss (0 posts)
| Rating
|
Published Wednesday, May 06, 2009 ASP.NET
In this article, I will illustrate how LINQ makes the relation between objects and data easy to deal with. I will also use code samples to make a comparison between regular code and LINQ code.
| Today Hit: 1 | All Time Hits: 606 | Discuss (0 posts)
| Rating
|
Published Wednesday, May 06, 2009 ASP.NET
Explore the process of creating the files to support DeepZoom composition (image pyramids and dz xml files). Assumes a basic understanding of deepzoom. The foundation for the article can be seen on my blog: problog.jamespritz.com.
| Today Hit: 4 | All Time Hits: 626 | Discuss (0 posts)
| Rating
|
Published Wednesday, May 06, 2009 ASP.NET
This article describes the basics of developing an animation application using the Silverlight Application project found in Visual Studio 2008 SP1.
| Today Hit: 1 | All Time Hits: 613 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
A popular way to display data from a recordset, especially a large one, is in a paged fashion. For example, when you ask for all the data from a table in your database, you can see about 20 records neatly arranged in a grid fashion, with the ability to go to the next page, previous page, and so on. This 10-Minute Solution is the first of a series of three articles covering how to incorporate this common interface in your pages. The three articles are separated in terms of ease of understanding and use, from the simplest to the most complex. This first article shows how to display data, hitting the server and database once for each page requested.
| Today Hit: 1 | All Time Hits: 1765 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
In Part I of this series, we saw how to create a VBScript class to query our database using the very fast GetRows() method, and return a recordset as a local array. In Part II, we extended the class to allow ADDing and UPDATEing a row in the database. In this Part III, we will expand the class further to allow pagination of the returned recordset.
| Today Hit: 4 | All Time Hits: 1904 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
In un precedente articolo abbiamo visto la tecnica per impostare la paginazione su query molto lunghe in termini di mole di dati ed abbiamo analizzato il sistema per affidare all'oggetto Recordset l'intero compito gestire la paginazione, ma questo sistema, attraverso ASP, funziona solo con database di casa Microsoft come Access ed SQL Server, ma non col database oggetto di questo articolo: MySQL.
| Today Hit: 6 | All Time Hits: 1918 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
First, I created a field in the RECORDS table named ALPHA. Then using Access and Word, I copied the first letters of each horse's name into the ALPHA field from the NAMES field. By using ALT-click-drag I was able to copy only the first letters and paste them as a group back into the ALPHA field. I created a new table called "LETTERS" with a field called "ABC" with a record for each letter of the alphabet. When this table is displayed, each letter is hyperlinked to the list of records that have the matching letter in their ALPHA field.
| Today Hit: 4 | All Time Hits: 1894 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
Ordering the recordset returned from your Access database is very easy - simply specify the columns you wish to order using an ORDER BY clause. When using the ORDER BY clause, ordering will happen by default in Ascending order (lowest to highest value). To order from highest to lowest value all you do is simply add the DESC keyword. Some examples of ordering using the ORDER BY clause can be seen below.
| Today Hit: 1 | All Time Hits: 1490 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
The code below pages the records returned from our database 'myLinks.mdb'. The table is called 'tblLinks' and has 3 fields, an 'ID' (autonumber field), a textfield called 'SiteName' and a memo field called 'URL'. This script can be easily modified to suit your requirements.
| Today Hit: 1 | All Time Hits: 1233 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
As an ASP developer, I am constantly looking for new source code examples that will help make my job easier. Of course, using someone else's examples is far simpler than enduring the pain of the development process. One of the examples I have seen on various sites involves paging through recordsets on a web page N records at a time. Most developers want to do this rather than present the entire recordset on a single page. First, this has the advantage of making faster page loads for site visitors, and secondly it makes for nicer pages.
| Today Hit: 1 | All Time Hits: 1360 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
This page demonstrates how to retrieve a recordset divided up into pages, and to only select data from a specified page. It does not in any way store a recordset or connection in memory when the page is not accessed unlike many solutions you will read about. The ADO properties that make this magic possible are .AbsolutePage, .PageCount and .PageSize.
| Today Hit: 1 | All Time Hits: 1175 | Discuss (0 posts)
| Rating
|
Published Thursday, May 29, 2008 Classic ASP
Recordset paging is the process of breaking up a recordset into multiple "pages" of information for display. You've probably noticed that most well designed sites implement this feature, allowing you to navigate through a recordset to view a certain number of records at a time. Breaking the recordset data into pages allows for easy browsing by the user of the application and it also adds a professional touch. When I first started encountering this feature on the web a few years back, I immediately began working on how to implement it for myself. The leisure of being able to casually browse and navigate through the results of a query was wonderfull and a heck of a lot better than having a few hundred records dumped on my browser all at once.
| Today Hit: 1 | All Time Hits: 1380 | Discuss (0 posts)
| Rating
|
Published Monday, May 26, 2008 Classic ASP
Filling a combo box with results a database query is something that ASP developers need to do often. This script will present an example of how to do just this. It's something every beginner should read and implement!
| Today Hit: 1 | All Time Hits: 1622 | Discuss (0 posts)
| Rating
|
Published Monday, May 26, 2008 Classic ASP
Any ASP developer who has been around the block a few times has written code that creates a list box containing the elements from a database query. A list box is comprised of a number of options. Each option has a displayed title, and a hidden value. It is this value of the selected list box option that is passed onto the ASP page that the form is submitted to.
| Today Hit: 2 | All Time Hits: 481 | Discuss (0 posts)
| Rating
|
Published Monday, May 26, 2008 Classic ASP
In a previous article, I (Scott Mitchell) showed how to use Data Shaping to return a recordset as an element of another recordset. If you are unfamiliar with Data Shaping, I strongly suggest you read the precursor article first. Data Shaping, as we discussed earlier, can be used to easily group data which resembles a parent-child relationship.
| Today Hit: 1 | All Time Hits: 433 | Discuss (0 posts)
| Rating
|
Published Monday, May 26, 2008 Classic ASP
Relational databases, while easy to create, can sometimes be hard to query, especially when you have related tables. Imagine that in your database you had two tables: Class and Professor. The Class table contains a listing of classes offered, while the Professor table lists the professors at the university. Obviously there is a relation between these two tables: classes are taught by professors, so, when designing our database, we'd definately have a 1-to-many relationship between these two tables. (One professor can teach many classes...). Here are the table definitions of both Professor and Class:
| Today Hit: 1 | All Time Hits: 412 | Discuss (0 posts)
| Rating
|
Published Monday, May 26, 2008 Classic ASP
Our last article on data shaping introduced you to the basics, with a few applications. This time we'll talk about reshaping, and explore one topic more in depth - that of a hierarchical file system. Briefly, let's review what data shaping is.
| Today Hit: 1 | All Time Hits: 430 | Discuss (0 posts)
| Rating
|
Published Monday, May 26, 2008 Classic ASP
Data shaping is a little known feature of ADO 2.0 and above that allows you to create hierarchical recordsets, which can give you tremendous power over manipulating and displaying data. Unfortunately, data shaping has taken a back seat for many developers. Data shaping lets you create parent-child relationships between recordsets, i.e. recordsets within recordsets, all with a single ADO object. This is a dream for a web developer, because it eliminates messy joins, complicated filtering, and the need for spaghetti-code in presentation logic. This in turn reduces the amount of traffic crossing a network and reduces overhead when interfacing with other tools, such as XML.
| Today Hit: 1 | All Time Hits: 425 | Discuss (0 posts)
| Rating
|
|