|Total Hits: 116 | Today: 0||Author: Dino Esposito|| Rating: |
Data-bound controls require a data source property and a set of string properties that link to particular columns of the data source. In addition, they need an Items collection property to track all the building blocks of the control's user interface. Finally, a well-done data-bound control supports styles and custom events....
|Total Hits: 408 | Today: 0||Author: MSDN|| Rating: |
This step-by-step article demonstrates how to store application-wide data through the Application, Cache, and AppSettings objects. Application-wide data is data that is available to the entire Web application....
|Total Hits: 601 | Today: 0|| Rating: |
Here is a quick and easy sample program in C# to retrieve data from SQL Server 7.0. There are 4 steps involved in doing this....
|Total Hits: 1148 | Today: 0||Author: Peter A. Bromberg|| Rating: |
An excellent and well researched article about ADO .NET performance for our site....
|Total Hits: 1751 | Today: 0|| Rating: |
This article illustrates how to use an ObjectList control to perform data binding within a template. The code samples in this article demonstrate how to perform data binding in the ItemDetails, Item, and AlternatingItem templates....
|Total Hits: 1367 | Today: 0|| Rating: |
Data binding seems great if all you want to do is display a spreadsheet of information on a page, but what about if you only want to display FieldA if FieldB has a certain value? Or, what about if FieldC needs to display a value that is derived from the Sum of FieldD & FieldE? The list goes on. In this article I'd like to present one of the ways that I go about solving these issues. Let's get started. Firstly, we'll create a function that returns a data source that we can play with....
|Total Hits: 953 | Today: 0|| Rating: |
Probably the hardest thing about learning the .NET platform is knowing where to begin. For my money, knowing how to create data access application code is a top priority. So understanding the basics of programming ADO.NET, the successor to ActiveX Data Objects (ADO), would seem a decent place to start....
|Total Hits: 1020 | Today: 0|| Rating: |
In Microsoft .NET, Web pages consist mostly of server-side controls that make possible a modern, object-oriented programming style. But can you program the controls to make them sensitive to data sources? And, more important, can you do so automatically, with limited programming effort? Of course programmers would heartily welcome a programming-free method for associating rows of data with controls such as drop-down lists and grids. Data-bound controls are .NET’s solution to the growing demand f...
|Total Hits: 2 | Today: 0||Author: Manas_Patnaik|| Rating: |
Data binding plays a major role for any technology.If you want me to rate the the learning experience of SL then surely Data Binding is going to be one of the prime destination through journey.Lots of article written and quite a lot of post are available on this specific topic , but with this series of posts tries to introduce you to the concept with minimum content and with a real time sample....
|Total Hits: 2 | Today: 0||Author: Moderator1|| Rating: |
Asp.Net Menu Control is a new and coolest navigation control. By using this we can build the navigation system of a website very dynamically. Even complex navigation can be made simple by using this Menu Control. This Menu Control can be completely collapsed or completely expanded down to any level. This Menu Control is an ideal control when you have lots of options for the user to choose. You can customize the look and feel of the menu control as you like by defining the properties of the contr...
|Total Hits: 2 | Today: 0||Author: SKRaj78|| Rating: |
Sometimes requirement may come to bind some of the items present in the datasource (like dataset) to the dropdown control. By default all items in the datasource will be shown.
Assume we have one web form; with mutliple dropdown controls (dropdownlist1,dropdownlist2,dropdownlist3..) and 2 database tables category and values; One to Many relationship exists between category and values tables....
|Total Hits: 2 | Today: 0||Author: Naimishforu|| Rating: |
The DataGrid in .NET is a new control that allows you to view the data in a dataset. The DataGrid object is bound to the dataset and automatically displays the data it contains. This means you don't have to manually request the information and write it to a list box.
The following program creates a simple DataGrid, which will view the Customers table of the EasyNomad database.
The dataset in this program is populated from the database, just as if the data was to be displayed in a l...
|Total Hits: 3 | Today: 0||Author: Chase Thomas|| Rating: |
This is a journey on how to build a better Base page. The result of this will be a reusable framework that you can use to create as many Base pages as you like (on many different sites) and still have something that will keep the designers on your team happy. There is a lot to explain so I am breaking this up into several parts starting with the pros and cons of all the approaches I have seen in the past....
|Total Hits: 2 | Today: 0||Author: Chris Lennon|| Rating: |
With the advent of ASP.NET, and Visual Studio.NET with its graphical tools to provide design-time databinding support, the concept of databinding has really come of age. Databinding to ADO.NET DataSets and DataTables is a well accepted and well documented technique. However, there is a school of thought that considers DataSets to be ugly, cumbersome and just not compatible with an object oriented approach. A discussion of this point of view is beyond the scope of this article, however, an intere...
|Total Hits: 2 | Today: 0||Author: piers7|| Rating: |
I was just finishing this article off when Manuel Abadia released an article with the same name ('Two way data binding in ASP.NET'), topic and (perhaps not surprisingly) some of the same class names. I'd been gazumped (if not just plain beaten)! This came as a bit of a shock, but I've decided to release this anyway since our approaches are slightly different and hopefully between the two people may find something useful. Unfortunately the submission of this article got delayed by about eight mon...
|Total Hits: 2 | Today: 0||Author: Bryan Roberts|| Rating: |
This articles main purpose is to demonstrate how to sort columns that have been calculated from data retrieved from an external datasource and how to display this information natively in the datagrid control and allow for paging of the various data types that might be implemented....
|Total Hits: 2 | Today: 0||Author: Enrico Elizar Samuel|| Rating: |
In web development projects, we frequently need to write code to render the content of list boxes with dynamic data from a data source. In ASP-classic time, it was a relatively hard task to do. For instance, we had to query a database, retrieve a RecordSet and iterate through the RecordSet while manually creating proper HTML tags to make up the content of list box....
|Total Hits: 2 | Today: 0||Author: Gunawan Hadikusumo|| Rating: |
When I was reading Binding a Server Control to a Data Source section from ASP.NET Unleashed book, authored by Stephen Walther, I was tempted to find another way around to navigate and control the records on the web page....
|Total Hits: 2 | Today: 0||Author: Pete Sutcliffe|| Rating: |
As developers, I imagine, most of us strive toward these two goals:
1. Write better code.
2. Write less code.
Sometimes these goals complement each other; refactoring code, for example, can make it more maintainable (=better) and reusable (=less code). At other times, they conflict with each other: applying established object oriented principles can make our code more robust and testable, but often increases its complexity and the amount of code we must write. Similarly, A...
|Total Hits: 2 | Today: 0||Author: Karl Seguin|| Rating: |
In this brief tutorial, we'll look at five different ASP.NET objects we can use to store data. Two of these, the Application and Session objects, should be pretty familiar to anyone coming from ASP. The other three, Context, Cache and ViewState are brand new to ASP.NET. Each object is ideal under certain conditions, varying only in scope (that is the length of time data in them exists, and the visibility of the data), and it's a complete understanding of this variation that we are after. Also, ...