Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
Private Sub PictBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictBindingNavigatorSaveItem.Click
      
           Me.Validate()
           Me.PictBindingSource.EndEdit()
           Me.TableAdapterManager.UpdateAll(Me.MasterDataSet)
End Sub

This is my code.whenever i entered the data after click save icon, following error will occur.
"Update requires a valid UpdateCommand when passed DataRow collection with modified rows."
using BindingNavigator to store the image in sql server 2000.

just refer this link.. my query also same like this..
http://www.dreamincode.net/forums/topic/74114-a-really-simple-database/[^]

pls help me.
Posted
Updated 30-Nov-11 16:07pm
v2

1 solution

sorry frnds.. one simple logic.. have to set primary key for one field..(i.e)
[ pid int(primary key),pict image) on sql table creation...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900