Item Template is nothing but adding any linkbutton or textbox etc ie ading any single item control
EditItem Template is adding some controls when we click the Edit button in the datagrid only these controls will be available after clicking edit in datagrid
but in itemTemplate when the datagrid is loaded this will be available ie we can see the controls under <ITEMTEMPLATE> once datagrid is loaded
but for <EDITITEMTEMPLATE> u can see only when u click the edit button
just once try the above example or check this
http://www.morpheusweb.it/html/scrip...latecolumn.asp
then u can understand the difference b/w that
check the example and check these steps
steps when u click the edit:
1.After clicking edit the Update and Cancel link wil be available in the datagrid in that edit cell and all other cells will be converted to the Textboxes or dropdown box or checkbox according to the values or ur requirement (these will be written in the <edititemtemplate>)
2.then u can update ur cells and once u click Update then OnRowUpdating event is fired so u should write ur logic for that event ie placing it in database etc
3.U update the cells but u clicked cancel then OnRowCancelling is fired so the correspoing logic for that event
thnx for ur reply..
actually prob is i m confused withedtitemtemplate n itemtemplate in html source file.
can u tell what is purpose of both of these. can u explain sequence of steps occurs when i click a row to edit. wh happens inside.plz help