<%@ Page Language="vb" Debug="true" %> <% @Import NameSpace="System.Data" %> <% @Import NameSpace="System.Data.SQLClient" %> <% @Import NameSpace="System.Diagnostics.Debug" %> <% @Import Namespace="System.Web.Mail" %> <% @Import Namespace="System.Text.RegularExpressions" %> <% @Import NameSpace="System.Data.OleDb" %> <%@ Import Namespace="System.Data.Odbc" %> <%@ Import namespace="System.IO" %> <%@ Import namespace="System.Net" %> <% Dim strConn = "Driver={MySQL ODBC 3.51 Driver};Server=81.208.96.112,3602;Database=rod;uid=rod;pwd=testrod;option=3" Dim sqlConn As New OdbcConnection(strConn) Dim SqlComm as New OdbcCommand Dim result As Integer sqlConn.Open() sqlComm = New OdbcCommand("Create Table Pianeti ( " & _ "[ID] [int] IDENTITY (1, 1) NOT NULL , " & _ "[Data_Last_Access] [datetime] NULL , " & _ "[Proprietary] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , " & _ "[Nome] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , " & _ "[Ris_Legna] [numeric](15, 4) NULL , " & _ "[Ris_Ferro] [numeric](15, 4) NULL , " & _ "[Ris_Pietra] [numeric](15, 4) NULL , " & _ "[Ris_Zolfo] [numeric](15, 4) NULL , " & _ "[Ris_Oro] [numeric](15, 4) NULL , " & _ "[Dimensione] [int] NULL , " & _ "[Reame] [int] NULL , " & _ "[Paese] [int] NULL , " & _ "[In_Costr_Eser] [char] (2) COLLATE Latin1_General_CI_AS NULL , " & _ "[Cosa_Costr_Eser] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , " & _ "[Data_Costr_Eser] [datetime] NULL , " & _ "[In_Costr_Infr] [char] (2) COLLATE Latin1_General_CI_AS NULL , " & _ "[Cosa_Costr] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , " & _ "[Data_Costr_Infr] [datetime] NULL , " & _ "[In_Costr_Res] [char] (2) COLLATE Latin1_General_CI_AS NULL , " & _ "[Cosa_Costr_Res] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , " & _ "[Data_Costr_Res] [datetime] NULL , " & _ "[C_Fattorie] [int] NULL , " & _ "[C_TagliaLegna] [int] NULL , " & _ "[C_Min_Ferro] [int] NULL , " & _ "[C_Min_Pietra] [int] NULL , " & _ "[C_Min_Zolfo] [int] NULL , " & _ "[C_Min_Oro] [int] NULL , " & _ "[C_Case] [int] NULL , " & _ "[C_Poligono_Tiro] [int] NULL , " & _ "[C_Scuderia] [int] NULL , " & _ "[C_Centro_Villaggio] [int] NULL , " & _ "[C_Laboratorio] [int] NULL , " & _ "[C_Prigione] [int] NULL , " & _ "[C_Torture] [int] NULL , " & _ "[C_Tesoreria] [int] NULL , " & _ "[C_Mercato] [int] NULL , " & _ "[C_Taverna] [int] NULL , " & _ "[C_Torrette] [int] NULL , " & _ "[C_Mura] [int] NULL , " & _ "[C_Caserma] [int] NULL , " & _ "[P_Taglialegna] [int] NULL , " & _ "[P_Min_Ferro] [int] NULL , " & _ "[P_Min_Pietra] [int] NULL , " & _ "[P_Min_Zolfo] [int] NULL , " & _ "[P_Min_Oro] [int] NULL , " & _ "[P_Fattorie] [int] NULL , " & _ "[P_Cittadini] [numeric](15, 4) NULL , " & _ "[P_Prigionieri] [int] NULL , " & _ "[R_Velocita] [int] NULL , " & _ "[R_Add_Cavalli] [int] NULL , " & _ "[R_Filoni_Oro] [int] NULL , " & _ "[R_Armi] [int] NULL , " & _ "[R_Tempr_Ferro] [int] NULL , " & _ "[R_Scudi] [int] NULL , " & _ "[R_Gerarchia] [int] NULL , " & _ "[R_Mura] [int] NULL , " & _ "[R_Guardie] [int] NULL , " & _ "[R_Torrette] [int] NULL , " & _ "[R_Assedio] [int] NULL , " & _ "[R_Esplorazione] [int] NULL , " & _ "[E_Sold_Semp] [int] NULL , " & _ "[E_Sold_Cavallo] [int] NULL , " & _ "[E_Carovana] [int] NULL , " & _ "[E_Arcieri_Corto] [int] NULL , " & _ "[E_Arcieri_Lungo] [int] NULL , " & _ "[E_Fanteria_Pesante] [int] NULL , " & _ "[E_Balestrieri] [int] NULL , " & _ "[E_Cavalleria_Pesante] [int] NULL , " & _ "[E_Bombardieri] [int] NULL , " & _ "[E_Cannone] [int] NULL , " & _ "[E_Esploratore] [int] NULL , " & _ "[E_Ladro] [int] NULL , " & _ "[E_Generale] [int] NULL , " & _ "[E_Carretto_Piccolo] [int] NULL , " & _ "[E_Carretto_Grande] [int] NULL , " & _ "[E_Petardo] [int] NULL , " & _ "[E_Ballista] [int] NULL , " & _ "[E_Catapulta] [int] NULL , " & _ "[E_Ariete] [int] NULL , " & _ "[E_Trabucco] [int] NULL , " & _ "[PF_Mura] [int] NULL , " & _ "[PF_Torrette] [int] NULL , " & _ "[Tasse] [int] NULL , " & _ "[Morale] [numeric](18, 4) NULL , " & _ "[G_Captured] [int] NULL , " & _ "[Is_Principal] [int] NULL , " & _ "[D_Sold_Semp] [int] NULL , " & _ "[D_Sold_Cavallo] [int] NULL , " & _ "[D_Carovana] [int] NULL , " & _ "[D_Arcieri_Corto] [int] NULL , " & _ "[D_Arcieri_Lungo] [int] NULL , " & _ "[D_Fanteria_Pesante] [int] NULL , " & _ "[D_Balestrieri] [int] NULL , " & _ "[D_Cavalleria_Pesante] [int] NULL , " & _ "[D_Bombardieri] [int] NULL , " & _ "[D_Cannone] [int] NULL , " & _ "[D_Esploratore] [int] NULL , " & _ "[D_Ladro] [int] NULL , " & _ "[D_Generale] [int] NULL , " & _ "[D_Petardo] [int] NULL , " & _ "[D_Ballista] [int] NULL , " & _ "[D_Catapulta] [int] NULL , " & _ "[D_Ariete] [int] NULL , " & _ "[D_Trabucco] [int] NULL, " & _ "[Ponte_Lev] [int] NULL " & _ ")",sqlConn) result = sqlComm.ExecuteNonQuery() sqlConn.Close() %>