Updating is not supported by data source unless

I have enabled Edit in my Grid View, but I do all the updating in code behind with stored procedure (using on Row Updating). Please review the stack trace for more information about the error and where it originated in the code. Argument Exception: The value's length for key 'data source' exceeds it's limit of '128'. SQL Update from Editable Datagrid not 'seeing' editted data Datagrid is displayed with all the right data (data retrieved in Load_Data() using doc_id passed to .aspx). If data in fields is changed and btn Update_click is executed (executed via onclick event in button at bottom of datagrid) the UPDATE command IS actually updating the database HOWEVER it is NOT using the editted data, but rather the original data. SQL replace '-' by '' Hi all i have a question regarding sql, i want to replace some characters... I want to replace "999-25000-69" by "9992500069" grtz Don't forget to click "Mark as Answer" on the post that helped you. I have coded a Session("User ID") and defined a Dim int User ID=Session("User ID") in the Sub Page_Load.

Then, in your code-behind, you'll have to trap this Command Name within the Grid View. I thought I had things setup correctly and don't see much difference between what I have done and what is outlined here: NET web site and have the following problem : I have a Grid View which bound to the object data source.(essentially a pre-order collection of potential orders)There is a template field where a manager can enter an order quantity for the item.The Update event is currently bound to the Object event which calls the Order class...'do' won't 'do' if '/' Greetings to All from Au, Have a Net Ware Perl 5.8.4 and wanted to tweak File\Spec\to try and standardise on '/' separators.I am getting this message when I try to update my database table: Updating is not supported by data source ' Sql Data Source1' unless Update Command is specified I am new user of 2005 using visual studio with little knowlwdge of visual basic. I do not know why but it it seem like I have a protection on my data base like I can not modify it. IData Sourc...'''''''''''''''''''' Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/ Gran Paradiso/3.0a1 From URL: Note to readers: Hendrix gives...''''' Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 Gran Paradiso/3.0a2 ... I watched several vedios and I did not see any vedio that set anything for data base.

Leave a Reply