Form view (USER):-
Day 30-05-2025
Ø Form view (USER):-
It is used to display data in form format.
It display one record at a time.
Ø Form view event handling .(Eventformview.aspx)
l It is done with the help of command name.
Using :-Commandname,onitemcommand event
if(e.CommandName== "BTNUPDATE")
{// FIND CONTROL USING FORM VIEW ROW OBJECT
Response.Write("UPDATED");
FormViewRow R1 = FormView1.Row;
//FindControl
TextBox T1 = (TextBox)R1.FindControl("TextBox1");
Response.Write(T1.Text);
/// create your logic
}
Comments
Post a Comment