September 2008 - Posts
Via these posts:
Free Silverlight Controls And Tools For Brighter Websites
Silverlight 2 UI Templates
Following are useful links to visit before writing Silverlight applications.
1) XAML Power Toys
XAML Power Toys is a Visual Studio 2008 SP1 Multi-AppDomain Add-In that empowers WPF & Silverlight developers while working in the XAML editor. Its Line of Business form generation tools, Grid tools, DataGrid and ListView generation really shorten the XAML page layout time.
2) Silverlight Community Gallery
2.a) Silverlight 2 Community Samples
3) XAMLTemplates.net
Control templates available for purchase
4) Blacklight
Blacklight is a UX focused code sharing project. Microsoft has released a bunch of technologies that allow designers and developers to work closely together to make beautiful software. This project is a collection of controls, samples, visual assets and ideas that has been put together by User Experience designers and developers to both show you what the technology is capable of (from a UX point of view), and give you code and samples that you can use in your own projects, completely free of charge (see the License tab above). Check out the showcase to see what is currently available...
5) Dave's Glossy Controls
This is a set of easily customisable control templates for the following controls
6) Free Silverlight Controls And Tools For Brighter Websites
A must see, includes much of what is listed here.
Searched it for a while, thought it might be worth sharing.
Following is the T-SQL script to alter a table to apply a UNIQUE constraint on a certain column:
ALTER
TABLE [TableName] WITH NOCHECK
ADD CONSTRAINT UniqueConstraintName UNIQUE ([ColumnName])
Via this post.
"This document covers the design and some implementation details of getting WPF windows wrapped in custom chrome. Currently WPF supports standard windows, with an icon, title-text, and caption buttons, as well as borderless windows, which when combined with transparency allow arbitrary top-level shapes but the application loses system support for behaviors associated with having a standard caption area, such as maximize. There is a desire to create applications that fill a middle-ground here: the appearance and behavior of a standard window with a more complete branding experience"
Get the code here.
Via this post.
I created a column in a certain table to contain various files with "VarBinary(MAX)" as its data type.
I wanted to test stuff, so I needed data in the tables.
But Oh My, Now What? Should I really write C# Project to insert a file?
Well, no, not needed, you can do it directly from SQL.
Create Table EmployeeProfile
(
EmpId int,
EmpName varchar(50) not null,
EmpPhoto varbinary(max) not null
)
Go
Insert EmployeeProfile (EmpId, EmpName, EmpPhoto)
Select 1001, 'Vadivel',
BulkColumn from Openrowset( Bulk 'C:\Blue Lace 16.bmp', Single_Blob) as EmployeePicture