hvad betyder ?
linie 3 - hvad betyder : [STAThread]linie 9 - hvad betyder : @
class Class1
{
[STAThread]
static void Main(string[] args)
{
// Connect to the SQL server.
OleDbConnection c = new OleDbConnection(
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Customers.xls;Extended Properties='Excel 8.0;HDR=Yes;IMEX=1'");
// Create a dataset.
System.Data.DataSet ds = new System.Data.DataSet("My Customers");
// Create a data adapter to talk to the data source.
OleDbDataAdapter adapter = new OleDbDataAdapter("SELECT * FROM [Sheet1$]", c);
// Open the connection
c.Open();
