Thursday, August 16, 2012

CREATE ZIP VB.NET

FTP with Visual Basic 2010 Express

Wednesday, July 11, 2012

SIMPLE oledb FILL Gridview connectionstring

Imports System.Data.OleDb
Imports System.Data


        Dim cn As New oledbConnection
        Dim ds As New DataSet
        Dim da As New oledbDataAdapter
 cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|bupdate.mdb")

        Dim cm As New OleDbCommand("select * from bupdate", cn)
        da = New oledbDataAdapter(cm)
        da.Fill(ds)
        GridView1.DataSource = ds.Tables(0)
        GridView1.DataBind()

Friday, June 15, 2012

VB.NET Place ICON of your website into Browser AddressBar


//Go to Source Page from Design View and write this line after "head tag"
// Where folder path is C:/inetpub/wwwroot/Yourwebsitefolder/images/n.ico

.Net SQLExpress ConnectionString

 Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.Data

 Dim cn As New SqlConnection

cn = New SqlConnection("Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|mydb.mdf")

Thursday, May 24, 2012

ASP.NET Web Services


click window key and + to enlarge otherwise use the link below to see a clear view....

A Simple Web Service in ASP.NET

Tuesday, May 15, 2012

VB.NET SQL Connection fill GridView

     Imports system.data.sqlclient
     Imports system.data

         Dim cn As New SqlConnection
        Dim sql As String
        Dim ds As New DataSet
        Dim da As New SqlDataAdapter
        cn = New SqlConnection("server=localhost;database=NLAB 2012-2013;integrated security=true")
        sql = "select * from mainmaster"
        Dim cm As New SqlCommand(sql, cn)
        da = New SqlDataAdapter(cm)
        da.Fill(ds)
        GridView1.DataSource = ds.Tables(0)
        GridView1.DataBind()