V
Visual Systems AB \(Martin Arvidsson\)
Hi!
I have a webform with several TextBoxes. How can i bind the data to all the
fields without having to issue TextBox1.DataBind(); textBox2.databind() and
so on?
Also, when assigning data from the fields to the query or stored procedure
i today use DataAdapter.UpdateQuery.Parameters["@CustomerID"].Value =
TextBox1.Text;
and so on with all the forms, is it possible to somehow, assign the data on
the form to all
the paratmeters with one command?
I have done a databinding, and assigned the collection to the fields so they
all have
a corresponding field in the DataSet...
Regards
Martin Arvidsson
I have a webform with several TextBoxes. How can i bind the data to all the
fields without having to issue TextBox1.DataBind(); textBox2.databind() and
so on?
Also, when assigning data from the fields to the query or stored procedure
i today use DataAdapter.UpdateQuery.Parameters["@CustomerID"].Value =
TextBox1.Text;
and so on with all the forms, is it possible to somehow, assign the data on
the form to all
the paratmeters with one command?
I have done a databinding, and assigned the collection to the fields so they
all have
a corresponding field in the DataSet...
Regards
Martin Arvidsson