Personalized lock screen

Microsoft Windows 8 Personalized lock screen. from windows.microsoft.com

C# reading data from Serial port

Question - I have a device (a GPS type of device) that constantly pushes communication through a standard serial connection (COM1).What I need to be able to do is:Programatically:1) Open the serial port2) Listen for a given period of time (say 2 seconds) to the data that is being received via the serial port.3) populate a multi-line text box with the data that was received from the serial port.4) close teh serial portThen I will build additional code surrounding handling the data in the textbox. Answer - I set up my serialport like thissp.BaudRate...

Connect to Microsoft SQL server 2008 (enterprise) database from Visual C# 2008 Express

Question - i've created a new database using SQL server managment studio with no problem. database via Management Studio there is no problem, the database appears in the Explorer. however, in Visual C# Express, when I try to 'Add Connection' as follows Data source - MS SQL Server Database File Database File Name - browse to appropriate folder and select Log in using WIndows Authentification And use the same database I receive the message (after a while): "A network-related or instance-specific error occurred while establishing a connection...

How to use GridView and DataSets in C#.NET 2.0?

Question - I need a example of how to create a gridview in .cs versus just dragging and dropping the gridview on the aspx page?I created a dataset and called a stored procedure using data adapter, but i do not know how to data bind the data set into the grid view I have.It seems everywhere I search the gridview examples they have is just dragging and dropping to the page and configuring a datasource. Answer - //connect to database via dataset & dataadapteSqlConnection con = new SqlConnection("server=localhost;Initial Catalog=databasename;uid=;pwd=;");DataSet...