only My site

Saturday, May 10, 2008

Golden Sentences

1. Death is hereditary.

2. There are three sides to every argument: your side, my side and
the right side.

3. An expert is someone who can explain a subject in such a way that
he will make you totally confused.

4. Many things can be preserved in alcohol. Dignity is not one of
them.

5. Never argue with a fool. People might not know the difference.

6. When you're right, no one remembers. When you're wrong, no one
forgets.

7. Cheer up, the worst is yet to come.

8. Always remember that you are absolutely unique. Just like everyone
else.

9. Well done is better than well said.

10. Everyone makes mistakes. The trick is to make them when nobody is
watching.

11. Always borrow money from a pessimist. He won't expect it back.

12. If you can't see the bright side of life, polish the dull side.

13. Everybody wants to go to heaven, but nobody wants to die .

Adobe Photoshop express - Free storage

Adobe Photoshop express ... free online version with 2gb storage ... like google docs

https://www.photoshop.com/express/landing.html

DataSet - ADD, Remove & Contains

foreach ( DataTable dtt in DScoll.returnValue.Tables )
{
if ( dsDataCache.Tables.Contains( dtt.TableName ) )
dsDataCache.Tables.Remove( dtt.TableName );

dsDataCache.Tables.Add( dtt.Copy() );
}

VS2008 - Changes

1. In Regular Expression validation control's property standard validationExpression templates are missing.
2. Split is introduced in addition with Design and Source (Editor)

HTML Tips

//To show the controls in single line
<tr><td nowrap="nowrap"><tr nowrap="nowrap"><td>

<div style="text-align:left" style="overflow:auto; height:155px;">

Graphics Mill for .NET

http://www.aurigma.com/Products/GraphicsMilldotNET/OnlineDemo.aspx
http://www.aurigma.com/Support/DocViewer/29/LoadingandSavingImagestoDatabase.htm.aspx
System.Data.SqlClient.SqlConnection connection = new System.Data.SqlClient.SqlConnection(connectionString);
System.Data.SqlClient.SqlCommand command = new System.Data.SqlClient.SqlCommand("SELECT Image_Data FROM [Image] WHERE Image_ID=" + imageID, connection);
connection.Open();
Byte[] imageData = (byte[])command.ExecuteScalar();
connection.Close();
System.IO.MemoryStream stream = new System.IO.MemoryStream(imageData);
Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap(stream);