How can I change the default English Edit/Delete links in a GridView to non-English links or image buttons?
You need to add a command field to your code. .. dbGridView.Columns.Clear .. Dim CommandField1 As New CommandField CommandField1.ButtonType = ButtonType.Image CommandField1.CancelImageUrl=”~\Images\but_cancel.gif” CommandField1.DeleteImageUrl=”~\Images\but_delete.gif” CommandField1.EditImageUrl=”~\Images\but_edit.gif” CommandField1.UpdateImageUrl=”~\Images\but_save.gif” CommandField1.ShowEditButton= True CommandField1.ShowDeleteButton= True dbGridView.Columns.Add(CommandField1) or Dim CommandField1 As New CommandField CommandField1.ButtonType = ButtonType.Link CommandField1.CancelText=”cancele” ‘取消 CommandField1.DeleteText=”borre” ‘删除 CommandField1.EditText=”redacte” ‘编辑 CommandField1.UpdateText=”guarde” ‘储蓄 CommandField1.ShowEditButton= True CommandField1.ShowDeleteButton= True dbGridView.Columns.Add(CommandField1) -33. I had the statement appAccess = Server.CreateObject(“Access.Application”) in my ASP .NET page. I got the “Exception Details: System.UnauthorizedAccessException: Access