Development Blog : C# Code Samples,.NET Tips and Tricks
Articoli con tag ByVal
[VB.NET] : Accesso in lettura ad una DataTable
01 year ago un anno fà
Scritto da Luigi Melisi
in Tips and Tricks
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 |
VB.NET : Come contare le linee di un richtextbox
12 year ago anni fà
L’esempio riportato di seguito mostra come contare le linee di un RichTextbox utilizzando Vb.Net :
private sub countlines(byval rtb as richtextbox) dim count as string count = rtb.lines.count msgbox(count) end sub
![YouBuy.it - Last Minute - Offerte Sottocosto last [VB.NET] : Inviare una mail in formato HTML](http://images.youbuy.it/adv/last.jpg)