In VS2005, there is a so personal change about Binding Data.
IDE will gernerate the code about Adapter.Fill(DataSet) automatically. such
as:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the nwindDataSet.Categories' table. You can move, or remove it, as needed.
this.categoriesTableAdapter.Fill(this.nwindDataSet .Categories);
}
}
}
OK, now, How can I gernerate my expected code in Form_Load() in IDE Design Time????
Regards