Is it possible to auto-generate items on a form based on a
list/database?
So for example a text box and two buttons for each item on a stock list, once
the stock list has been created a button can be clicked which would generate a
new form.
Loading
Kirtan PatelPosted Jan 6, 2010, 2:53 PM
let me know your scenario .. i will suggest you solution according to your need. !!
by the simple code for generating form in Windows Mobile is Like below .. I will just add one button on new Created form and Showit
private void button1_Click(object sender, EventArgs e)
{
Form f = new Form();
Button b = new Button();
b.Text = "Hello";
f.Controls.Add(b);
f.Show();
}
and here is Result of it :->