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

How do sessions work?

0 Answers  


Explain cookies with example.

0 Answers  


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

0 Answers  


What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?

1 Answers  


Which of the following .NET framework supports Web API?

0 Answers  






Why do we use sessions?

0 Answers  


Disable Session State at the Application Level

2 Answers  


Disable Session State at the Page Level

1 Answers  


What is CLR ? Differentiate between CLR & CTS.

7 Answers   3i Infotech, TCS,


Which is better union or union all?

0 Answers  


What are the advantages of the code-behind feature?

0 Answers  


Which object encapsulates state or data of a user?

0 Answers  


Categories