|
|
|
|
|
Total Hits: 52 | Today: 0
|
Author: Ather Ali Shaikh
|
Rating:
|
|

In this article, we will see how can we add AJAX technology to web user control and get the date from a calendar control. I saw many articles on date-time picker controls, but I did not find one that was useful for picking the month and year through dropdowns. Of the ones that I found, most were paid. My customer needed something like that, but for free. Furthermore, some options do not provide property nullable dates. Here, I introduce "Clear Date" and a property called Nullable....
|
|
|
|
Total Hits: 183 | Today: 0
|
Author: farazsk11
|
Rating:
|
|

Check/uncheck CheckBox control inside a GridView using javascript without postback. This article will give an idea on how to achieve this task. Some sample code is provided under Using the code heading and complete code is available in the project download. (Forums are flooded with the questions about how to check/uncheck CheckBox control inside a GridView using javascript without postback....
|
|
|
|
Total Hits: 19 | Today: 0
|
Author: Nancy Michell
|
Rating:
|
|

Q JScript® seems to automatically add serializable to classes. When I compile the class shown in Figure 1, it becomes serializable although it is not declared to be so. Why is this?
A You're right, JScript automatically adds serializable to classes. It's by design. In JScript, unlike in C#, a class is serializable by default. If you don't want your class to be serializable, then do this:...
|
|
|
|
Total Hits: 59 | Today: 0
|
Author: Peter Bromberg
|
Rating:
|
|

ASP.NET has lots of "out of the box" features that make the display of data easy, including pageable GridViews and DataGrids with little or no code. But the stock paging mechanism uses javascript to cause the postback, and the url of the new "page" doesn't change. This is not "SEO friendly", because the Googlebot and other search engine crawlers click on the links, and see the result as a page they've already requested, so it doesn't get indexed....
|
|
|
|
Total Hits: 147 | Today: 0
|
Author: deccy.
|
Rating:
|
|

This is a simple helper class which I use to manage static data in my ASP.NET applications. There are already a few articles out there which explore this topic but here is my take on it. The helper class will retrieve multiple tables of static data from a SQL Server database, store the data in one DataSet and cache it at application startup or upon first request....
|
|
|
|
Total Hits: 2203 | Today: 0
|
Author: Faraz
|
Rating:
|
|

In this article I will try to explain you the new features of ASP.Net 2.0 Data Control i.e. SqlDataSource and GridView control. In ASP.Net 1.0/1.1 we find DataGrid control which allows the users to SELECT, UPDATE, MODIFY and DELETE their data on the web form. For example, you have an e-commerce website, user visit your site and select products in it shopping cart once product is selected now visitor wants to edit, update or delete product. In these kinds of scenarios DataGrid provide very much f...
|
|
|
|
Total Hits: 253 | Today: 0
|
Author: azamsharp
|
Rating:
|
|

In one of my articles, I discussed about how you to get the values of the selected checkboxes that are inside a GridView control. In this article, I will show you how you can use RadioButtons inside a GridView control. You must be wondering what is the big deal about it since I can simply place a RadioButton server control inside a GridView and retrieve the value of the selected row just like I did for checkboxes....
|
|
|
|
Total Hits: 131 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

In most data models there are numerous one-to-many relationships. For example, in a data model that contains information about a company's workforce, there might be a Locations table and an Employees table, the Locations table cataloging the various offices of the company and the Employees listing the company's employees. The business rules may be such that each employee is assigned to precisely one location, thereby establishing a one-to-many relationship between locations and employees....
|
|
|
|
Total Hits: 156 | Today: 0
|
Author: Exforsys
|
Rating:
|
|

In this tutorial you will learn about Data Source Object Model in ASP.NET 2.0, the Rationale of DataSource components, Data Source Control Internals, Tabular DataSource Controls, Hierarchical Data Source Controls, The SqlDataSource Control: Usage and Data Source Parameters. The ASP.NET 2.0 data source model provides support for a declarative model of data binding. The data source components return and accept data from familiar streams such as SQL, XML, DataSet and from custom formats too. The sc...
|
|
|
|
Total Hits: 34 | Today: 0
|
Author: Suprotim Agarwal
|
Rating:
|
|

In this article, we will explore some of the most frequently asked questions about the GridView control. The article discusses ten tips and tricks that you can use while using the GridView control. By default, the GridView control doesn’t have support for inserting new records. However you can use the built-in edit or delete functionality of the GridView control. Let us explore how to insert new records and Update and Delete existing records in Gridview. Just copy and paste the code in your proj...
|
|
|
|
Total Hits: 96 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

GridView is one of the most widely used data bound controls in the ASP.NET 2.0 framework. GridView being a template control allows other controls to be added in it in different columns. These columns are hyperlink, select, delete, update and many other types of columns. In this article I will show you that how you can make a GridView row clickable. This will allow you to click anywhere on the row and perform the task that you wish to perform....
|
|
|
|
Total Hits: 57 | Today: 0
|
Author: Raj Beniwal
|
Rating:
|
|

In this article we are going to discuss about DetailsView data control. In ASP.NET 2.0, DetailsView is a data-bound control that renders a single record at a time from its associated data source. It can optionally provide paging buttons to navigate between records, and a command bar to execute basic operations on the current record (Insert, Update, Delete). DetailsView generates a user interface similar to the Form View of a Microsoft Access database, and is typically used for updating/deleting...
|
|
|
|
Total Hits: 23 | Today: 0
|
Author: Johnny Papa
|
Rating:
|
|

Much of the success of the ADO Recordset can be attributed to its lightweight structure and easy-to-use interface. Now with the introduction of the ADO.NET DataSet, you can represent more than one data structure, making the ADO Recordset even more flexible. As I discussed in the February 2002 Data Points column, the DataSet can represent multiple related data structures and their relationships. And because it's built on XML, the DataSet can also transform itself into an XML document. This gives ...
|
|
|
|
Total Hits: 129 | Today: 0
|
Author: Dino Esposito
|
Rating:
|
|

Imagine opening your Inbox one morning and finding a message that reads "Dear Mr. DataGrid, I urgently need an ASP.NET DataGrid that lets my users move rows on the client. You're my last hope. Will you please help me?"
Wouldn't you do your best to answer such a plea? When I got that very message, I pointed its author to my January 2004 column where I discuss how to enhance an ASP.NET DataGrid to drag columns and sort displayed rows on the client. That solution was built atop DHTML behavio...
|
|
|
|
Total Hits: 25 | Today: 0
|
Author: jithucpillai
|
Rating:
|
|

This is a simple article on how to select a particular row in a GridView control in ASP.net 2.0 using XML as the DataSource....
|
|
|
|
Total Hits: 61 | Today: 0
|
Author: Scott Mitchell
|
Rating:
|
|

This article illustrates how to accomplish a number of common tasks with the Microsoft ASP.NET 2.0 GridView control. Each task is accompanied by a description of the new concepts covered, and the complete working examples are available for download with this article....
|
|
|
|
Total Hits: 50 | Today: 0
|
Author: Michael Youssef
|
Rating:
|
|

The ListBox is a powerful, yet easy to work with, control. In this article we are going to take a look at the ListBox control and learn how to use it.
The ListBox control is used to give the user a set of items to select from. You may give the user the ability to select just one item or multiple items. As you might have seen before, many of the ASP.NET controls that you place on web pages have a collection of items (as an Item property), such as the ListBox control, the DropDownList contr...
|
|
|
|
Total Hits: 75 | Today: 0
|
Author: Douglas Minnaar
|
Rating:
|
|

Part 2 of the ASP.NET Data Control Series continues. In this article, the FormView DataControl is given a closer inspection....
|
|
|
|
Total Hits: 122 | Today: 0
|
Author: Devin Rader and Bill Evjen
|
Rating:
|
|

The SqlDataSource control is the data source control to use if your data is stored in a SQL Server, SQL Server Express, Oracle Server, ODBC data source, OLE DB data source, or Windows SQL CE Database. The control provides an easy-to-use wizard that walks you through the configuration process, or you can modify the control manually by changing the control attributes directly in Source view. In this excerpt from Professional ASP.NET 2.0 Special Edition Chapter 11 "Data Binding in ASP.NET 2.0," we'...
|
|
|
|
Total Hits: 88 | Today: 0
|
Author: Scott Mitchell
|
Rating:
|
|

Throughout the past seventeen DataList and Repeater tutorials, we’ve created both read-only examples and editing and deleting examples. To facilitate editing and deleting capabilities within a DataList, we added buttons to the DataList’s ItemTemplate that, when clicked, caused a postback and raised a DataList event corresponding to the button’s CommandName property. For example, adding a button to the ItemTemplate with a CommandName property value of “Edit” causes the DataList’s EditCommand to f...
|
|
|
|
|
|