ASUS Eee Pad Transformer

ASUS Eee Pad Transformer goes on sale in US, immediately sells out at Amazon


The US had to wait for its Eee Pad Transformer launch a little longer than the rest of the world, but it's finally gotten its wish today and consumers' reaction seems to have been nothing short of voracious. Amazon's order page for the $400 Android 3.0 tablet appears to have gone from "in stock" to "out of stock" within mere minutes, while Target -- the supplier fulfilling orders on behalf of Amazon -- also lists the Transformer as presently unavailable. ASUS' own Where To Buy page leads us to a bunch of dead ends as well, with Best Buy being the only retailer we can currently find with stock in the US. We can't say for sure whether we're looking at overwhelming demand or just limited supply, but it's hard to argue with ASUS' excellent value proposition here: a 10-inch IPS display, a dual-core SOC and a feature-rich tablet OS all for less than four Benjamins. You'll just need to be quick on the trigger if you want one.

How to Create Bootable Windows 7 USB Drive Using SBB Tool 

Earlier we have seen how tomake bootable USB for Windows 7 in different ways, such as: using Bootsage, using UnetBootin, using WinToFlash, these all are pretty simple to make bootable device for Windows 7 installation.
And now one another Blogsdna writes about to make bootable devices, Windows 7 SBB (Serial Bus Booting) is freeware tool which allows you to select any removable device and make a Windows 7 booter. Although commonly used for USB, it can be used for SD cards as well, as long as your BIOS support it! Quickly make a bootable Windows 7 USB device using this small utility.

Windows-7-SBB-Tool

The only disadvantage of Windows 7 SBB Tool is it doesn’t support ISO files. You will have to extract the files to their own independent folder.
Download Windows 7 SBB Tool 1.0
* .Net Framework 4.0 is required
Find out more How to make Bootable USB Windows 7, you can join us at facebooktwitter, and you can subscribe RSS feedsemail for more interesting info to work with.

How To Create Bootable Windows 7 USB using WinToFlash 
 
As we have listed earlier that How to Create Bootable USB Flash Drive that can Install Windows 7 and now we tell you, How To create bootable Windows 7 USB ...
Continue Reading
How To Create Bootable Windows 7 USB Drive Using CMD
We have listed earlier the number of ways How To create bootable USB & now here is one more style to create Windows 7 bootable USB for your own. I ...
Continue Reading
How to Create Bootable USB Flash Drive that can Install Windows 7 
 
USB Flash drive is currently one of the most popular, important & flexible storage devices around. With the usage of USB drive, it has replaced old methods of data traveling like Floppy Disks, ...
Continue Reading
 

Oracle Connection in C#

simple oracle connection in C# (Oracle 10g & XE)

First, let me tell you about the types of ADO .NET programming, there are two types of it. There are DataSet and OleDbCommand.
The difference is, on DataSet, instances of this class represent in-memory caches of data, so you don’t have to maintain an active connection to modify the contents of a datasource. It is a better way than using OleDbCommand, which in this approach, SQL statements are executed directly on the datasource, very wasteful right?
But, this article are just for dummies =P , so I’m using OleDbCommand on it (for Oracle, it’s named OracleCommand ). OK then, first, you must add a reference to your project. View the solution explorer then right-click at your project’s root, choose add reference. On .NET tab, choose the System.Data.OracleClient. Now, your Oracle-Client is ready for use!
For opening an Oracle connection, you need at least this three namespaces ;

using System;
using System.Data;
using System.Data.OracleClient;
//remember that an Oracle-Client must have already installed on your PC. In this example, I used Oracle XE //as my Oracle-Client service. All Oracle-Client have the same methods to get connected, you just have to //change the SID, pretty simple mate !
//Now, it’s time for the best part, the Oracle connection string. Please behave nicely =P
private OracleConnection conn;
public bool OpenConnection(string SID, string user, string password)
{
try
{
//instance new oracle connection
conn = new OracleConnection(“Data Source=”+SID+ “; User Id=”+user+”; Password=”+password+”;”);
//open the connection
conn.Open();
return true;
}
catch (Exception) //this is your first time ! so,learn to use “try catch” as available as possible! it’s very important!
{
return false;
}
}
//There are two basic conditions on executing SQL command, first is query command (select * from //[table_name]) , second is non-query command (insert,update,delete).
//Here are the codes ;
// this is a method for executing query command
public void execQuery(string sql) {
OracleCommand cmd = new OracleCommand(sql);
cmd.Connection = conn;
cmd.CommandType = CommandType.Text;
try
{
OracleDataReader reader = cmd.ExecuteReader();
while (reader.Read())
{
//read the query result. On this example, i put three names of my database fields, there are “NAMA” ,”ALAMAT”,”EMAIL”
Console.WriteLine(Convert.ToString(reader["NAMA"]));
Console.WriteLine(Convert.ToString(reader["ALAMAT"]));
Console.WriteLine(Convert.ToString(reader["EMAIL"]));
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
finally
{
cmd.Dispose();
}
}
//this is a method for executing non-query command
public bool execNonQuery(string sql) {
OracleCommand command = new OracleCommand(sql);
command.Connection = conn;
try
{
//a non-query command doesn’t need any reader, all you have to do is execute them !
command.ExecuteNonQuery();
return true;
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
return false;
}
}