Posts

Showing posts from December, 2010

Firebird and Visual Basic .Net example code

If you are using Visual Studio or Visual Basic to develop program connect to firebird database server, this might be a good example. Imports FirebirdSql.Data.FirebirdClient __________________________________________________________________ Public Class Principale Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim Fdataa As New FbDataAdapter("select*from New_table1", "servertype=1;username=sysdba;password=masterkey;database=" & My.Application.Info.DirectoryPath & "\Giorgio.gdb") DataSet1.Tables.Add("New_table1") Me.DataGridView1.DataSource = DataSet1 Me.DataGridView1.DataMember = "New_table1" Fdataa.Fill(DataSet1, "New_table1") End Sub Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Nuovo.Show() End Sub 'To begin the change Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Ha...