Monthly Archives: December 2011

Blank page when go to Explorer in Master Data Services (MDS) in SQL Server 2012

The Explorer page shows in the video is not blank because you Silverllight 64 is installed. Blank page when go to Explore in Master Data Services (MDS) in SQL Server 2012  

Posted in .Net | Tagged , | 1 Comment

My top margin is missing

Do click the top edge to get the top margin back in Microsoft Word document

Posted in Computers and Internet | Tagged , | Leave a comment

All display devices are disable or virtual. Recording is stopped.

If you have this problem Expression 4 Screen Capture the check your BIOS is that a Switchable Mode. Change Switchable Mode to Integrated Mode (maybe other) may solve the problem. It solved mine.  

Posted in .Net | Tagged | Leave a comment

How to hide columns in Gridview

You can use DataKeyNames properties to get the value if you want to hide the column.   1. Set the DataKeyNames in Gridview for example.   <asp:GridViewID=”GridView1″runat=”server”AutoGenerateColumns=”False”         DataKeyNames=”CustomerID,LastName,FirstName”DataSourceID=”SqlDataSource1″         onselectedindexchanged=”GridView1_SelectedIndexChanged”>         <Columns>           <asp:CommandFieldShowSelectButton=”True”/>           <asp:BoundFieldDataField=”CustomerID”HeaderText=”CustomerID”ReadOnly=”True”             SortExpression=”CustomerID”Visible=”False”/>   … Continue reading

Posted in .Net | Tagged , | Leave a comment

How to determine the size of data type in Microsoft SQL Server

1. Open SQL Server connection from Server Explorer. 2. Expand this database. 3. Right the database table and select Open Table Definition.   4. Scroll to the bottom of the column then you will see the size.

Posted in .Net | Tagged , | Leave a comment

Cannot find Microsoft.Practices.EnterpriseLibrary.Common library in Enterprise Library

When you add reference to your project while using Enterprise Library. Do not look for Enterprise Library Common Library, because it is not its name. It is called Enterprise Library Shared Library. Resources: TechInsights 2011 Enterprise Library 5 – A … Continue reading

Posted in .Net | Tagged | Leave a comment

Memory usage IE vs Firefox

      The conclusion I draw from the picture.   1. Same site Facebook and Gmail Firefox 700MB memory. 2. IE also open Facebook, Gmail and another site add together only 134 MB memory 3. Firefox all the tabs … Continue reading

Posted in Computers and Internet | Tagged | Leave a comment