FiliBlox Posted February 18, 2013 Report Posted February 18, 2013 Salut.Am nevoie de putin ajutor din partea voastra, asta desigur daca aveti bunavointa sa mi-l acordati.Am creeat un progam in Visual Basic si as dori sa adaug pentru acesta un sistem de statistica, prin care eu sa pot vedea cati sunt conectati in acel moment, si cate vizite s-au facut in aceea zi.Nu s-ar putea integra un script html de genul gtop[dot]ro pentru afisarea statisticilor?Va multumesc, si astept un raspuns. Quote
Maximus Posted February 18, 2013 Report Posted February 18, 2013 da, te poti folosi de gtop + site si o pagina web cu scriptul gtop ... restul ar trebui sa fie "cancan"WebBrowser1.Navigate("Http://site.com/gtop_page.html") Quote
bc-vnt Posted February 18, 2013 Report Posted February 18, 2013 Imports Microsoft.SqlServer.Management.SmoImports Microsoft.SqlServer.Management.Common'Connect to the local, default instance of SQL Server.Dim srv As Serversrv = New Server'Reference the AdventureWorks database.Dim db As Databasedb = srv.Databases("AdventureWorks")'Reference the CreditCard table.Dim tb As Tabletb = db.Tables("CreditCard", "Sales")'Define a Statistic object by supplying the parent table and name arguments in the constructor.Dim stat As Statisticstat = New Statistic(tb, "Test_Statistics")'Define a StatisticColumn object variable for the CardType column and add to the Statistic object variable.Dim statcol As StatisticColumnstatcol = New StatisticColumn(stat, "CardType")stat.StatisticColumns.Add(statcol)'Create the statistic counter on the instance of SQL Server.stat.Create() Quote