AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

DropDownList Inside The GridView Method 2 : AzamSharp

Sunday, September 28 2008

This is the second installment of the article, DropDownList Inside the GridView. In the previous article DropDownList Inside the GridView I talked about how you can populate the DropDownList inside the GridView with different data using a DataSet. In this article I will demonstrate that how you can achieve the same behavior using Entity Classes...

Friendly URLs with URL mappings : Marco Bellinaso

Thursday, September 25 2008

This sample extract from the Wrox's book "ASP.NET 2.0 Website Programming" shows how to set-up the new url-mapping feature built-into the ASP.NET 2.0 framework. You no longer need to manually code a custom HttpModule! The more meaningful and short a URL can be, the better. Those URLs are easier to communicate to people, and easier for them to remember. The current URLs that allow us to browse articles for a specific category are already pretty short, but it’s not easy to remember all category IDs by heart . . . and thus to remember the URL. ASP.NET 2.0 introduces a new section in web.config that...

Accessing data using Language Integrated Query (LINQ) in ASP.NET WebPages – Part 1 : Balamurali Balaji

Wednesday, September 24 2008

This article comprises of two parts; Part 1 deals with the introduction to LINQ and LinqDataSource control in ASP.NET and describes how to define and retrieve an in-memory data collection and display data in a web page. Part 2 explains how to create entity classes to represent SQL Server database and tables using Object Relational Designer and display data in a web page using LinqDataSource control. Language Integrated Query (LINQ) is a query syntax that defines a set of query operators that allow traversal, filter, and projection operations to be expressed in a declarative way in any .NET-based...

Using Parameterized Queries with the SqlDataSource : Scott Mitchell

Monday, September 22 2008

In the previous tutorial we saw how to use the SqlDataSource control to retrieve data directly from a database. Using the Configure Data Source wizard, we could choose the database and then either: pick the columns to return from a table or view; enter a custom SQL statement; or use a stored procedure. Whether selecting columns from a table or view or entering a custom SQL statement, the SqlDataSource control’s SelectCommand property is assigned the resulting ad-hoc SQL SELECT statement and it is this SELECT statement that is executed when the SqlDataSource’s Select() method is invoked (either...

Entity Framework and Lazy Loading : Timothy Khouri

Sunday, September 21 2008

Microsoft's Entity Framework is a new, powerful tool bringing data modeling, O/RM (object relational mapping) functionality and more. One expected feature of major ORMs is 'Lazy Loading'. Learn how the Entity Framework provides this functionality in a different way. This article will explain the design reasons behind why EF is different than what you would expect, as well as how to achieve the lazy-load functionality you're looking for. It is important to realize that that ORMs are not a new concept. There are a lot of excellent ORMs out there for Ruby, Python and even for the .Net framework (NHibernate...

Reasonable Spread - permission email marketing :

Friday, September 19 2008

Reasonable Spread- An online permission-based email marketing and newsletter management system. You can use Spread to send product updates and discount offers to your customers subscribed on newsletter on your web site or imported from existing customer database. It allows you to create and send any marketing materials to your customers with a simple user interface. Your marketing campaign can be effectively held for increasing sales with a low cost! You can also use Spread to send newsletter to different interest group, alumni, association members etc....

File Denial : Steve C. Orr

Thursday, September 18 2008

A common web site requirement is the ability to share certain files with specific users. For example, customers who have purchased software or other digital assets from a web site should ideally be able to return to that site and re-download the file(s) any time they want. However, that user (and other users) must be prevented from downloading packages that they have not purchased. This article will not attempt to cover ASP.NET user authentication techniques since that topic is already thoroughly covered elsewhere. Instead this article will focus on how (and how not) to provide access to a file...

Formatting the DataList and Repeater Based Upon Data : Scott Mitchell

Wednesday, September 17 2008

As we saw in the preceding tutorial, the DataList offers a number of style-related properties that affect its appearance. In particular, we saw how to assign default CSS classes to the DataList’s HeaderStyle, ItemStyle, AlternatingItemStyle, and SelectedItemStyle properties. In addition to these four properties, the DataList includes a number of other style-related properties, such as Font, ForeColor, BackColor, and BorderWidth, to name a few. The Repeater control does not contain any style-related properties. Any such style settings must be made directly within the markup in the Repeater’s templates...

How to Popup a Window Using DIV Layer in ASP.NET 1.x/2.x : Bilal Haidar

Tuesday, September 16 2008

In a project I am currently working on (ASP.NET 1.1), one of the Web Forms included has a set of three controls that represent a certain feature in the system. Suppose those controls are simple DropDownLists. When a value is being selected in the first DropDownList, the data present in the second DropDownList should be filtered by the first value selected. The same idea applies on the third DropDownList. This form is going to be used by end users who know nothing about ASP.NET or about development in general. All they want is a fancy web form that makes their life easy. A decision has to be made...

Using CLR to access .NET functions in SQL Server : Mark Smith

Sunday, September 14 2008

An example of how we can create a function in .NET and then use them in SQL Server. According to Microsoft, SQL Server 2005 significantly enhances the database programming model by hosting the Microsoft .NET Framework 2.0 Common Language Runtime (CLR). This enables developers to write procedures, triggers, and functions in any of the CLR languages, particularly Microsoft Visual C# .NET, Microsoft Visual Basic .NET, and Microsoft Visual C++....