circa 2 mesi fa - Nessun commento
Come rimuovere tutti i tag HTML da una stringa con Visual C#
circa 2 mesi fa - Nessun commento
Ecco un semplice metodo per eliminare la cache di Microsoft Internet Explorer con Visual C#
circa 3 mesi fa - Nessun commento
Come contare i commenti dei Post
circa 3 mesi fa - Nessun commento
Come scansionare un Array con LINQ
circa 3 mesi fa - 1 commento
C# : Come inviare una mail con gmail
circa 3 mesi fa - Nessun commento
1 2 3 4 5 6 7 8 9 10 string connectionString = string.Format("Provider = Microsoft.Jet.OLEDB.4.0; data source = {0};Extended Properties=Excel 8.0;",file); OleDbDataAdapter = new OleDbDataAdapter("SELECT * FROM [TABLES1$]",connectionString); DataSet ds = new DataSet(); adapter.Fill(ds,"Name"); DataTable dt = ds.Tables["Name"];
circa 5 mesi fa - Nessun commento
Function SendEmail(ByVal ToAddress As String, ByVal FromAddress As String, ByVal MessageSubject As String, ByVal MessageBody As String) Dim MessageHead As String = “<html><head>” MessageHead = MessageHead & “<style>” MessageHead = MessageHead & “body {background-color:#F7F7F7; color:#000; font-family:arial,verdana,sans-serif; font-size:12px;}” MessageHead = MessageHead & “</style></head><body>” Dim MessageFoot As String = “</body></html>” MessageBody = MessageHead & MessageBody & MessageFoot
circa 5 mesi fa - Nessun commento
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Function ReadCSV(ByVal path As String) As System.Data.DataTable Dim sr As New StreamReader(path) Dim fullFileStr As String = sr.ReadToEnd() sr.Close() sr.Dispose() Dim lines As String() = fullFileStr.Split(ControlChars.Lf) Dim recs As New DataTable() Dim sArr As
circa 5 mesi fa - Nessun commento
1 2 3 4 5 6 7 Function ReadAccess(ByVal sqlString As String, ByVal path As String) As System.Data.DataTable Dim strConn As String = _"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & path & ";" Dim recs As New Data.DataTable() DIm sql As New OleDbDataAdapter(sqlString, strConn) sql.Fill(recs) Return recs End Function var uri = ‘http://impit.tradedoubler.com/imp?type(js)g(16492944)a(1765811)’ + new String (Math.random()).substring (2, 11);
circa 5 mesi fa - Nessun commento
1 2 3 4 5 6 7 Protected Overrides Sub ChargeImpresoras() Dim lPrintDoc As New Printing.PrintDocument Dim lPrinter As Object For Each lPrinter In PrinterSettings.InstalledPrinters cboPrinters.Items.Add(lPrinter) Next End Sub var uri = ‘http://impit.tradedoubler.com/imp?type(js)g(16492944)a(1765811)’ + new String (Math.random()).substring (2, 11); document.write(”);