After applying a filter to linqdatasource connected to GridView ,clicking edit bring me back to the old data
问题 Like once said a picture worth one thousand word when I press the edit button I go back to the old data, with first row in the edit mode like the following this is the code I use when searching with student name , or date .... LinqDataSource1.Where = "pay_date.Contains(" + (Convert.ToString(Convert.ToDateTime(TextBox1.Text))) + ")"; I tried to use AJAX , didn't work I found in the linqdatasource a property called linqdatasource storeoriginalvaluesinviewstate I made it false but go the same