As our code does not handle those events hence they throw an exception.
So when we change the Command Name property of the buttons to some other text then it will work fine.
Select Command = "SELECT [ID], [Project], [Description], [CAPEX], [Team] FROM [CAPEX]" 'Add Conditional Statements to change view for users/Teams 'Sql Data Source1.
Data Row Then If Not table Copied Then original Data Table = CType(e.
Click original Data Table = CType(View State("original Values Data Table"), System. Data Table) For Each r As Grid View Row In Grid View1.