(Ged Mead) This blog builds on the previous one. That earlier blog uses an ObjectDataProvider to access a collection of DrinkProduct objects and displays the ProductName property.
Tag: Development
Tooltip in C#
(Mahesh Chand) A tooltip is a small pop-up window that displays some information when you rollover on a control.
WPF DataGrid Control – Insert New Rows in Database
(Mahesh Sabnis) In my previous article WPF DataGrid Control – Performing Update and Delete Operations, I explained Update and Delete operations in a WPF DataGrid control. In this article I will explain how to perform an Insert operation in WPF with DataGrid control. In this article I have used follo
Displaying Files and Folders in a GridView
(Scott Mitchell) The .NET Framework provides a variety of classes in the System.IO namespace that simplify working with the file system. Using these classes it’s possible to delete files and folders, to create new files, to edit existing files, and more. These classes, combined with ASP.NET’s suite
Overview of Data Validation in LightSwitch Applications
(Prem Ramanathan) In any application that accepts user input and stores it in a data store, the data needs to be validated. When it comes to relational databases, most of them today provide some form of validation. This includes constraints, data formatting, default values, etc. For example, you can
jQuery Selectors – The Firebug Plugin Inserts A Hidden DIV Element
(Ben Nadel) Last night, I was testing out someone’s jQuery queue() and dequeue() code and I had a bug that was just driving me crazy; no matter how simple I made my test, my queued callbacks kept firing twice. To give you some insight into how simple my code was, take a look at this demo:
Managing Models in ASP.NET MVC
(Peter Vogel) One of the key design criteria for a controller is that it have no business logic and no display logic. The controller has two (and only two) responsibilities: Pick the View and gather the data from the model and pass it to the View. The View’s responsibility is to display the data to
WPF TextBox: Multiline, TextWrapping, MaxLines and Scrollbars
(Ged Mead) One of the downsides of dragging and dropping elements from the Toolbox onto the Window is that very often you don’t want the default values that will be set. In fact, you often don’t even want some of the properties. I’ve always thought it a bit of an interesting conundrum that althoug
PLINQ and Tasks: Two more .NET parallel options
(Justin James) Last week I showed how to turn the common for and foreach loops into marvels of parallel processing and how to run blocks of code in parallel with minimal effort. This week, I explain how to have .NET process your LINQ statements in parallel with 13 characters worth of effort, and how
TrackBar in C#
(Mahesh Chand) In this article, I will discuss how to create and use a TrackBar control in a Windows Forms application using Visual Studio 2010. After that, I will discuss various properties and methods available for the TrackBar control.
