i am getting data from database by using gridview in one form (name as main.cs.). i want to update data to database. so i created another form (name as update.cs) to view selected row... how can i use gridview data from update.cs form..
Thanks ,
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Oct 12, 2012, 5:54 AM EDT
1. Create a common function which store selected ids from grid view and call in your javascript function on action button click when move on another page.
2. Using that's ids on another page, Write a select query or proc whit in operator and fetch again data on another page.
create an common function again
//TODO call existing list
List
using these ids fetch again data from database
chinna4 reputationPosted Oct 12, 2012, 8:54 PM EDT
thanks,
ChiNa.
Neha SharmaRank #569 · 4.3K reputationPosted Oct 17, 2012, 1:27 AM EDT