Click here to Skip to main content
13,764,809 members
Click here to Skip to main content

Stats

51K views
1.1K downloads
41 bookmarked
Posted 29 Mar 2006
Licenced CPOL

Data Application Block for Firebird SQL

, 29 Mar 2006
Data Application Block for Firebird SQL intended to speed the development of applications.
FbDataApplicationBlock
FbDataApplicationBlock.csproj.user
FirebirdSql.Data.FirebirdClient.dll
Properties
bin
EMPLOYEE.FDB
FbDataApplicationBlock.exe
FbDataApplicationBlock.vshost.exe
fbembed.dll
FirebirdSql.Data.FirebirdClient.dll
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using MyApplication.Data;


namespace FbDataApplicationBlock
{
    public partial class frmSampleNoParameters : Form
    {
        public frmSampleNoParameters()
        {
            InitializeComponent();
        }

        private void frmSampleNoParameters_Load(object sender, EventArgs e)
        {
            string myConnectionString = "User=SYSDBA;Password=masterkey;Database=EMPLOYEE.FDB;ServerType = 1;"; 
            DBObject myDBObject = new DBObject(myConnectionString);         
            dataGridView1.DataSource =
             myDBObject.RunProcedure("ORG_CHART ", new IDataParameter[] { }, "tblMyDataTable");
            dataGridView1.AutoGenerateColumns = true;
            this.dataGridView1.DataMember = "tblMyDataTable";
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Xela220
Web Developer
United States United States
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01-2016 | 2.8.181114.1 | Last Updated 29 Mar 2006
Article Copyright 2006 by Xela220
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid