i have one gridview contains edititemtemplate(which
contains update and cancel buttons) and i have one item
template (contains edit button)
i want the code for update and cancelbuttons in edit item
template and i want the code for edit button in
itemtemplate. please help me

Answers were Sorted based on User's Feedback



i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have..

Answer / gagan

Row Command Event of Grid view to be fired, where you can
call the edit, update, insert quires

Is This Answer Correct ?    2 Yes 1 No

i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have..

Answer / akash

I can help you Can you explain your question in detail.So
that i can give the perfect Answer..Mail me on
akash_1311@yahoo.co.in

Is This Answer Correct ?    3 Yes 3 No

i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have..

Answer / suneet sharma

I can help you Can you explain your question in detail.So
that i can give the perfect Answer..Mail me on
suneetsharma@gmai.com

Is This Answer Correct ?    2 Yes 2 No

i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have..

Answer / vishwaraj malik

write the following code

protected void GVAdvrtDetail_RowEditing(object sender,
GridViewEditEventArgs e)
{
GVAdvrtDetail.EditIndex = e.NewEditIndex;

}
protected void GVAdvrtDetail_RowCancelingEdit(object
sender, GridViewCancelEditEventArgs e)
{
GVAdvrtDetail.EditIndex = -1;
}

protected void GVAdvrtDetail_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{

}


use findcontrol to update the recoed..

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

What is .NetFramework?

1 Answers   Syntel,


How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio.net language (vb.net)?

2 Answers   rocsearch,


How many no of classes in .net

4 Answers  


What is clickid?

0 Answers  


What is the difference between session state and session variables ?

6 Answers   Digital GlobalSoft,






Which object is used to encapsulate the state of the client and the browser in ASP.NET?

0 Answers   Sans Pareil IT Services,


Where does the Web page belong in the .NET Framework class hierarchy?

1 Answers   Perot Systems, Visual Soft,


Explain what are delegates?

0 Answers  


In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?

5 Answers   Syntax Softtech, TCS,


Types of optimization and name a few ?

3 Answers   Accenture,


How do we make a poperty read only?

1 Answers   Microsoft,


Types of objects in ASP ?

2 Answers   Microsoft,


Categories