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 will you write a web service for secure socket layer? What is secure socket? Have you done any socket programming? What is single thread and multi thread? What are the differences between .NET 1.1 and .NET 2.2? What is the command to connect to a StoredProcedure? How many types of Adapters are available in ADO.NET? Why DataAdapters are important? What is DataSet? It's important to compile the ASP.NET application before using it? What protocol you use to stream the audio and Video data? What are the different kind of network protocols? Write how will you connect to a database using DataSet? Why we use AJAX? What AJAX can do which JavaScript can't do? In a page using Windows Media API, if we press a button and in succession quickly press another button, what do you think will happen? Will the application wait for the first button response and then execute the second one or directly second button command will execute. What is the architecture of your application? What is connection pooling in SQL? Tell some functions of Windows Media API? How you will detect, whether the ActiveX is installed in the system before accessing it? What are validators are available in ASP.NET? What are the basic concepts of OOPS? What is abstraction?

0 Answers   Tesco,


What is IPostBack? How to use it?

0 Answers   MCN Solutions,


Types of session management in ASP.NET ?

2 Answers   Microsoft,


Which method do you use to enforce garbage collection in .net?

0 Answers  


What are the session variables?

0 Answers  






What is the syntax for datagrid and specifying columns?

0 Answers   Microsoft, SF,


What is the request flow used for asp.net mvc framework? : asp.net mvc

0 Answers  


How to bind all the binding controls in a page at once in ASP.NET?

0 Answers   Viscus Infotech,


Define the term Scavenging in Caching?

0 Answers   PUCIT,


What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0

11 Answers   Bosch, IntraLogic,


What is Fragment Caching in ASP.NET?

2 Answers   MCN Solutions, pspl, Wipro,


What is redirectpermanent in asp.net?

0 Answers  


Categories