|
Binding SQL Data to a DataGrid
|
Total Hit (1897) |
The DataGrid control supports a DataSource property that takes an IEnumerable or ICollection, as well as a DataSet. You can use a DataSet by assigning the DefaultView property of a table contained in the DataSet to the name of the table you wish to use within the DataSet. The DefaultView property re
....Read More |
Rating
|
|
|
Bind Datagrid to Datareader
|
Total Hit (1507) |
Most of times we see Datagrid Bound with Dataset but here is easy approach using Datareader
|
Rating
|
|
|
Associating a custom bitmap to a web or Windows custom control
|
Total Hit (2792) |
When you create a custom Windows or Web control, compile it and add it to the Visual Studio .NET's Toolbox, the control is added to the toolbox with a default bitmap representing a gear. This might be fine if you're developing the controls for your own use, but it surely isn't what you want if you'r
....Read More |
Rating
|
|
|
Uploading a file on the server
|
Total Hit (4656) |
Uploading a file from the client to the server is very straightforward with ASP.NET. Just use the «code LangId=4»<input type="file" runat="server"> «/code»tag and its wrapper class HtmlInputFile. Here's how you define the control on the page:
«Code LangId=4»
<form runat="server" enctype="multipa
....Read More |
Rating
|
|
|
|
Work with databinding?
|
Total Hit (518) |
«LI» Data Binding Overview and Syntax
«LI» Binding to Simple Properties
«LI» Binding to Collections & Lists
«LI» Binding Expressions or Methods
«LI» DataBinder.Eval()
«LI» Section Summary
|
Rating
|
|
|
|
|
|
.NET Web Services III
|
Total Hit (760) |
After reviewing the basics of Web Services in Part I and continuing to look at more advanced specifics in part II, in this article and the next we continue the progression looking at three more advanced Web Service related activities:
«li»Creating and using SOAP extensions
«li»Creating asynchr
....Read More |
Rating
|
|
|
|
A Sliding Window Cache
|
Total Hit (961) |
An example of setting the same "Source" object to expire 20 minutes after it is last accessed looks like:
|
Rating
|
|
|
Web Application Error Handling in ASP.NET
|
Total Hit (3402) |
This article will explain you how you can implement page level and application level error handling strategy. In ASP.net its very easy and flexible to work with error handling.
|
Rating
|
|
|
Creating Controls Dynamically in ASP.NET
|
Total Hit (477) |
The use of web controls provides much easier design time as well as run time experience to the programmers. However, some times it becomes necessary to generate web controls on the fly and add them to the underlaying form. For example if you are displaying search results, at design time you will not
....Read More |
Rating
|
|
|
|
Handling Timeouts in Web Services
|
Total Hit (760) |
While developing web applications you should also consider factors like network downtime and server crashes. The same applies to developing web services. When you call a method from your client by default it waits infinitely for the response. This means if server hosting the web service is down then
....Read More |
Rating
|
|
|
|
|
|
WebBoxes
|
Total Hit (617) |
Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support. If you can FTP to your site, then the fonts are usable, no admin rights required
|
Rating
|
|
|
|
Tracking File Downloads
|
Total Hit (827) |
If you run a web site that allows visitors to download some kind of files (ZIP, DOC etc.) then you may probably also want to track how many visitors downloaded the file. Such data is provided by sophisticated web site monitoring tools but if you do have use one, you can develop your own mechanism to
....Read More |
Rating
|
|
|
|
|
|
Riverside Internet Forums
|
Total Hit (983) |
A set of ASP.NET custom controls that allow forums to be quickly added to a website.
|
Rating
|
|
|
|
|
|
Highlighting Rows in an ASP.Net DataGrid
|
Total Hit (593) |
I like the idea of highlighting rows in a DataGrid as the user scrolls the mouse up and down over the grid. The effect can be achieved using several lines of client-side JavaScript, but why do that when two lines of .Net code will accomplish the same thing? The trick is to implement an ItemDataBound
....Read More |
Rating
|
|