borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Progress Bar...)Next Topic (Problem with ComboBox.) New Topic New Poll Post Reply
AndreaVB Forum : C# : Janus GridEX Control.
Poster Message
seang_sophorn
Level: Big Cheese

Registered: 07-06-2005
Posts: 26

icon Janus GridEX Control.

Anybody know Janus GridEX for .Net?
I can not load my data from my database into GridEX.

Here my sample code...

private void DisplayDepartmentMaster()
        {
            //Create the data adapter...
            OleDbDataAdapter ObjDA = new OleDbDataAdapter("SELECT * FROM tblDepartment_mst", PublicConnection.ObjConn);
            //Create the data set...
            DataSet ObjDS = new DataSet();
            //Fill the dataset using our dataadapter
            ObjDA.Fill(ObjDS,"Department");
            string file = Application.ExecutablePath;
            
            this.GridDepartment.DataSource = ObjDS.Tables[0].DefaultView;
            this.GridDepartment.DataMember = "Department";

            //this.GridDepartment.RootTable.DataMember = "Department";
            //this.GridDepartment.RootTable.Columns[0].DataMember = "departmentid";
            //string file = Application.ExecutablePath;
        }


any idea?
Please help.

____________________________
need for your help

27-07-2007 at 11:34 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : C# : Janus GridEX Control.
Previous Topic (Progress Bar...)Next Topic (Problem with ComboBox.) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder