CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 2/5/2007 9:00:57 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 84 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
anurak_666
Asp.Net User
Error Update button in Edit Button of GridView12/5/2007 9:00:57 PM

0

I use AccessDataSource1 connect MS-Access.

I use GridView1 bind to AccessDataSource1.

Properties of GridView1. I config AutoGenerateEditButton = True 

And Run

When I click Edit button then Show Update button and Cancel button.

I Click Update then Error

Updating is not supported by data source 'AccessDataSource1' unless UpdateCommand is specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: Updating is not supported by data source 'AccessDataSource1' unless UpdateCommand is specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Please Help me. I am Novice.

Thank u

   

ecbruck
Asp.Net User
Re: Error Update button in Edit Button of GridView12/6/2007 1:41:11 PM

0

If you're going to update, you must have the UpdateCommand of your AccessDataSource specified. You'll get this same type of error for deleting as well if you then don't have the DeleteCommand specified. Same for the InsertCommand as well.
Thanks, Ed

Microsoft MVP - ASP/ASP.NET

Please remember to 'Mark as Answer' if this post answered your question!
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Error Update button in Edit Button of GridView1 - ASP.NET Forums Properties of GridView1. I config AutoGenerateEditButton = True. And Run. When I click Edit button then Show Update button and Cancel button ...
Building a dynamically ASP.NET 2.0 GridView control The second button (Button2) is used to assign GridView’s (GridView1) data source to the table selected in the ... We check Delete and. Edit/Update and choose Button for the. Button Type. .... For a better understanding of the error and ...
disable select button inside gridview AFTER you click it ... GridView1.SelectedRow.Cells[0].Controls[0] as Button).Enabled = false; ... the . .. click on the Edit Columns link from the GridView’s smart tag, select the . ... When you click to update, the GridView raises the RowUpdating event and . ...
edit and delete the row in gridview using edit and delete button so for update and delete grid view row you must have edit and delete button using make of these buttons. i want to perform the operation ... GridViewCancelEditEventArgs) Handles GridView1.RowCancelingEdit GridView1. ...
Please help! The GridView 'GridView1' fired event RowEditing which ... And if click Edit, i can update data also. ... Therefore, on the click of the Cancel button, I just clear out the TextBox which ... Also, if you don't bind the GridView manually, you won't receive the RowEditing error. ...
Gridview which is manually bound to data, Edit button throwing ... Aug 14, 2008 ... HttpException: The GridView 'GridView1' fired event RowEditing ... I tried using update in gridview - VBForums GridViewDeletedEventArgs) Handles GridView1.RowDeleted GridView1. ... < ItemTemplate> <%--Getting/setting a value in editMode - Developer Express Inc. This will not be done in a Update event. The update button will fire off ... I want to have a link button called "delete" next to the edit link ... I want to have a button link on Gridview1 that says "Today" next to the ...
Re: 'Gridview1' fired event Sorting which wasn't handled Feb 23, 2008 ... When i click on the field for sorting, i get the error: ... But everytime I click the delete or edit button, the gridview disappears again. ... when I press edit, preform editing and press ok, I cannot update anything. ...
CodeProject: Edit XML files using a GridView. Free source code and ... Apr 4, 2007 ... Text GridView1.EditIndex = -1 BindGrid() ' Update the XML file using the ... To do this I used 3 Textboxes and a Button. When the button is ...












clarification of createuserwizard tasks

com object with clsid {91493441-5a91-11cf-8700-00aa0060263b} is either not valid or not registered

cant logout, cookie issue

prevent automated subscriptions

encryption/decryption and streaming

login to asp.net app from another web site

confused about the website administration tool

activedirectorymembershipprovider changepassword problems 'must change password at next login'

authentication security issue

forms authentication and deployment

adam and activedirectorymembershipprovider: error when creating users or changing password

login view and the return url

inporting users into aspnetdb database

formsauthentication.signout() puzzler

createuserwizard.help me...

bind profile custom properties (from web.config) to gridview or formview

any issues with using user_id in the url

whats the big deal about role-based security

login control does not disappear after login

problem with membership on remote server

error inserting userid into database

how to secure my web service???

access to multiple files

images disappearing when logged in using roles

can forms authentication have 2 login pages?

the 'type' attribute must be set to a valid type name (format: <typename>[,<assemblyname>]) membership provider

custome principal

activedirectorymembershipprovider - issues am i doing this right

login controls database

error message on userlogin controls when user is locked out

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT