I'm using textbox inside Gridview with ajax. I've following columns:
SN, ItemCode, ItemName, PurchaseRate, SalesRate
1, where SN is automatic generated in accordance of rows
2, We select ItemName through autocomplete extender.
3, we have to set itemCode columns after selected ItemName
4, we have to set item's purchase Rate on PurchaseRate and item's Sale Rate on SalesRate column after selected itemname on itemname column
3, It's important point no items and codes are displayed initially.
4, when we select itemname on 1st row then itemcode, ItemName, PurchaseRate, SalesRate should be set on same row taking from database on base of itemcode.
5, now finally, after adding some modification on purchase rate or sales rate new row should be added on grid.