|
Hi,
Please help with the following codes:
{
// Put user code to initialize the page here
DataSet dsF;
dsF = new DataSet();
FamilyAdapter.Fill(dsF,"Family"); <--- Error in this line, what's wrong? FamilyAdapter.Fill(dsF) also gives error
ProductDropList.DataSource = dsF;
ProductDropList.DataMember = "Family";
}
//Samples:
// cboVendors.DataSource = dsV.Tables("VENDORS")
// cboVendors.DisplayMember= dsV.Tables("VENDORS").Columns("WhateverYouWantToDi splay").Caption
//adding items with DataRow from DataSet
// For Each drCustomers In dsCustomers.Tables("Customers").Rows
// cbo.Items.Add(drCustomers("CompanyName"))
// Next
Please reply ASAP. Thanks a lot.
|