(Paresh Jain) User control or the .ascx file in ASP.NET is a replacement for the include file feature in ASP. These controls can create using ASP.NET code, just like your ASP.NET Web pages. The difference is that after you have created a user control you can reuse it in multiple ASP.net with a minim
Tag: Development
Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5
(Scott Guthrie) Earlier this year I blogged about a new language extensibility feature of C# and VB called “Extension Methods”.
Building a Gmail Style File Uploading System using ASP.NET 2.0
(Jesudas Chinnathampi) A normal file upload routine consists of a Textbox, browse button and a submit button. Users have to click on the browse button, choose the file that needs to be uploaded and then click the upload button for the actual transfer of file from the client pc to the server. Take a
Stretching The Envelope – WPF Control Templates
(Ged Mead) Control Templates are a particularly powerful feature of WPF. They allow you to change almost any aspect of the look of a control, but – and here’s the key benefit – you still retain every bit of the functionality pre-built into that control. So you can create, for example, a button that
.NET Tip: Type Casting and Comparison Using ‘as’ and ‘is’
(Jay Miller) You are probably used to using C-style casts. Look at an example starting with C-style casts and see how using “as” and “is” can help your code. A common situation I run into is working with controls in an ASP.NET DataGrid.
Importing a TextFile into a Database using a Dataset
(Mark Dryden) This question comes up a bit on the forums (twice today already) where the user wants to import data from one Datasource (such as a TextFile) into a database (SQL Server / Access / Whatever). Now in the case of SQL Server my natural reaction would be to suggest DTS for SQL 2000 or chec
Adding a Setup Wizard to VB.NET applications
(Irina Medvinskaya) Visual Studio .NET simplifies the process of installing your applications by providing an easy way to add a Setup Wizard to your applications. In this tip, I will create a simple VB.NET Windows application and add a Setup Wizard to it in order to allow the Windows application to
Inserting and Deleting Data with Parameters in ASP.NET
(Michael Youssef) In the first part of this article we saw how to display data, retrieved from a database table, on a web page. We also saw how to perform update operations, using the T-SQL UPDATE statement along with the SqlCommand and SqlParameter objects, if the user has changed the data on the w
A Step-by-Step Guide To Using MySQL with ASP.NET – Part 4
(Ziran Sun) The first part of this article illustrated how to install and configure the MySQL Database Server, install and use the MySQL Administrator, create a new database, and create and populate a new sample table with some sample data.
Ten Security Steps You Need to Implement Today
(Bob Kane) Viruses, Trojans, spyware, rootkits, keyloggers, code injections, phishing, DoS—the list of security threats is long—and seems to get longer with every news story about the newest zero-day attack or latest and more powerful malware. While it’s important to be sure your systems are protect
