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 application variable and when it is initialized ?

4 Answers   Keane India Ltd,


How many types of validation are there?

0 Answers  


How many validators do ASP.NET have?

0 Answers   QuestPond,


What is asp.net and ado net?

0 Answers  


What is full trust in asp.net?

0 Answers  


Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

1 Answers  


What are the different types of validation controls in asp.net?

0 Answers  


What is the concepts of globalization and localization in .net?

0 Answers  


Explain the benefits of viewstate?

0 Answers  


hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance

3 Answers  


Can a master page inherit another master page?

13 Answers   Emphasis, IBM, NIIT, Sebiz Square,


What are the events that happen when a client requests an asp.net page from iis server?

0 Answers  


Categories