Link to home
Start Free TrialLog in
Avatar of zimmer9
zimmer9Flag for United States of America

asked on

Does this SQL code look like it will work using VS2010 with .NetFramework 4.0 ?

Does this SQL code look like it will work using VS2010 with .NetFramework 4.0 ?

                strSQL1 = "";
                strSQL1 = "select bank from dbo.tbl_CSL_ML1new where dbo.tbl_CSL_ML1new.[entity] is not null";
                dh1.GetDataSetD(strSQL1);
                int iDatasetCount = ds.Tables[0].Rows.Count;
                if (iDatasetCount != 0)
                {
                    strBankID = ds.Tables[0].Rows[0]["bank"].ToString();
                    ListBox1.Visible = true;
                    ListBox1.DataSource = ds.Tables[0];
                    ListBox1.DataTextField = "bank";
                    ListBox1.DataValueField = "bank";
                    lblNote.Text = "you have to add missing banks above to the bank table and re-import again! ";
                }
SOLUTION
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial