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)

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

Popular posts from this blog

ViewState for state management

Store procedure Data Base handling (procedure_insert).

Database joining