Onrowupdating c

Data Bind(); } } protected void Grid View1_Row Editing(object sender, Grid View Edit Event Args e) { Grid View1. New Edit Index; Bind Grid(); } protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) { Rep Item = new Item Repository(); string val = e. = null) { Grid View Row row = (Grid View Row)Grid View1. My problem is,when i click edit,textbox appears in all columns and i write ehatever i want to update,then i click on update button,the rows gets updated in the database,but on page it shows previous values.

Find Control("Text Box5"); Text Box k = (Text Box)Grid View1.

Find Control("Text Box6"); Text Box f = (Text Box)Grid View1.

Find Control("Text Box7"); Text Box g = (Text Box)Grid View1.

Find Control("Text Box1"); Text Box a = (Text Box)Grid View1.

Find Control("Text Box2"); Text Box b = (Text Box)Grid View1.

Find Control("Text Box3"); Text Box c = (Text Box)Grid View1. Find Control("Text Box4"); Text Box d = (Text Box)Grid View1. If we move our mouse on to the variables, which hold the cell values, we can see the old value instead of new updated value (Refer the debugging Screen Shot at the Top). Here Mudassar Ahmed Khan has explained how to Export a Grid View with Images or Pictures to Word Excel or PDF Formats in ASP. In this article the Grid View is displaying images stored on disk and th Hi, This is Mudassar Khan. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.Now you can ask questions directly to me on my new site ASPForums. In the code given below I'm not getting "txt Change Quantity" textbox value in Grid View1_Row Updating updating event.

Comments are closed.