TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Surajit Bhattacharjee
NA
17
906
My Gridview updation is not working.
May 1 2020 5:38 AM
I am not able to update my gridview row.
NOTES
1>My database table don't have a primary key and I will not be able to alter the table to add primary key.
#>I am updating the gridview as mentioned below
UpdateCommand = UPDATE OptumRx_Mst_Opioid_Members
SET DOB=@dob_New,
FName=@fName_New, LName=@lName_New, ZIP=@zip_new
WHERE DOB=@dob_Old AND FName=@fName_Old AND LName=@lName_Old AND ZIP=@zip_Old
2> I have kept the DataKeyName =""
4> I have used the HiddenField to store the oldValues of gridview
5> Within GridView1_RowUpdating, I am able to get the oldValues & newValues
6> I am setting updateParameter within GridView1_RowUpdating.
Please suggest what am I missing
Reply
Answers (
2
)
How to use encryption and Decryption algorithm?
Update customer records