Collegarsi ad Access
<%@ Page language="VB" Debug="false" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <script language="VB" runat="server"> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim dbConn As OleDbConnection Dim myAdapter As OleDbDataAdapter Dim sqlCmd As String Dim strConn As String Dim oDataSet As New DataSet strConn = "" strConn = strConn & "Provider=Microsoft.Jet.OLEDB.4.0;" strConn = strConn & "Data Source=" & Server.MapPath("database/utenti.mdb") & ";" strConn = strConn & "Persist Security Info=False" sqlCmd = "" sqlCmd = sqlCmd & "SELECT " sqlCmd = sqlCmd & " nome, " sqlCmd = sqlCmd & " cognome, " sqlCmd = sqlCmd & " email " sqlCmd = sqlCmd & " FROM utenti" dbConn = New OleDbConnection(strConn) myAdapter = New OleDbDataAdapter(sqlCmd, dbConn) myAdapter.Fill(oDataSet, "utenti") myDatagrid.DataSource = oDataSet.Tables("utenti").DefaultView myDatagrid.DataBind() End Sub </script> <html> <body> <asp:DataGrid id="myDatagrid" runat="server" /> </body> </html>
Scarica il Codice...
Script C# per tutte le esigenze: database, sessioni, file, contatori, stringhe, date, e-mail, e tanto altro.
Manuale completo di C# per principianti e non.
Script VB.Net Visual Basic .net: database, sessioni, file, contatori, stringhe, date, e-mail, e tanto altro ancora.
Manuale di SQL con particolare attenzione a T-SQL di Microsoft SQL Server
Tecniche di posizionamento indicizzazione e ottimizzazione dei siti web per nei motori di ricerca
Manuale completo sui CSS per principianti e non.
HTML 5 è un linguaggio di markup utilizzato per la strutturazione e il contenuto delle pagine Web.
CSS 3 è l'ultima evoluzione dei fogli di stile CSS. Contiene molte novità come angoli arrotondati, ombre, sfumature, transizioni o animazioni.
jQuery è una libreria JavaScript cross-platform progettata per semplificare lo scripting lato client.