From: Mahmoud Goda <fci_mgg_2006@yahoo.com>
To: "Developers_For_Ever@yahoogroups.com" <Developers_For_Ever@yahoogroups.com>; "dotNET_eg@yahoogroups.com" <dotNET_eg@yahoogroups.com>; "DotNetDevWork@yahoogroups.com" <DotNetDevWork@yahoogroups.com>; "EgyDevelopers_Community@yahoogroups.com" <EgyDevelopers_Community@yahoogroups.com>; "Egy_Eng_students@yahoogroups.com" <Egy_Eng_students@yahoogroups.com>; "Egypt_Developers_In_Saudia@yahoogroups.com" <Egypt_Developers_In_Saudia@yahoogroups.com>; "egypt_developers@yahoogroups.com" <egypt_developers@yahoogroups.com>; "Egypt-Developers-In-AbuDhabi@yahoogroups.com" <Egypt-Developers-In-AbuDhabi@yahoogroups.com>; "Egypt-Developers@yahoogroups.com" <Egypt-Developers@yahoogroups.com>; "Egypt-Programmer@yahoogroups.com" <Egypt-Programmer@yahoogroups.com>; "egypt-programmers@yahoogroups.com" <egypt-programmers@yahoogroups.com>; "egyptdevelopers@yahoogroups.com" <egyptdevelopers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "egyptian_developers@yahoogroups.com" <egyptian_developers@yahoogroups.com>; "Egyptian_webdevelopers@yahoogroups.com" <Egyptian_webdevelopers@yahoogroups.com>; "EgyptSoftwareDevelopers@yahoogroups.com" <EgyptSoftwareDevelopers@yahoogroups.com>; "Egypt_Development_Jobs@yahoogroups.com" <Egypt_Development_Jobs@yahoogroups.com>; "El_Azhar_Programmers@yahoogroups.com" <El_Azhar_Programmers@yahoogroups.com>; "allprogrammers@yahoogroups.com" <allprogrammers@yahoogroups.com>; "Egypt_Free_Developers@yahoogroups.com" <Egypt_Free_Developers@yahoogroups.com>
Sent: Tuesday, December 6, 2011 4:59 PM
Subject: Re: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page
السلام عليكم و رحمة الله
try this:
sting s1,s2,s3
for(int index = 0 ; index < grd.Rows.Count;index++)
{
if ((checkbox)grd.Rows[0].FindControl("checkboxid").checked == true)
{
s1 = grd.Rows[index].Cells[FirstColum].Text
{
if ((checkbox)grd.Rows[0].FindControl("checkboxid").checked == true)
{
s1 = grd.Rows[index].Cells[FirstColum].Text
s2 = grd.Rows[index].Cells[SecondColum].Text
s3 = grd.Rows[index].Cells[ThirdColum].Text // and so on
}
}
}
and u can pass values of s1,s2,s3 to another page by using session
good luck
From: Samar Mohammed <samar.mohammed_90@yahoo.com>
To: "dotNET_eg@yahoogroups.com" <dotNET_eg@yahoogroups.com>; "DotNetDevWork@yahoogroups.com" <DotNetDevWork@yahoogroups.com>; "EgyDevelopers_Community@yahoogroups.com" <EgyDevelopers_Community@yahoogroups.com>; "Egy_Eng_students@yahoogroups.com" <Egy_Eng_students@yahoogroups.com>; "Egypt_Developers_In_Saudia@yahoogroups.com" <Egypt_Developers_In_Saudia@yahoogroups.com>; "egypt_developers@yahoogroups.com" <egypt_developers@yahoogroups.com>; "Egypt-Developers-In-AbuDhabi@yahoogroups.com" <Egypt-Developers-In-AbuDhabi@yahoogroups.com>; "Egypt-Developers@yahoogroups.com" <Egypt-Developers@yahoogroups.com>; "Egypt-Programmer@yahoogroups.com" <Egypt-Programmer@yahoogroups.com>; "egypt-programmers@yahoogroups.com" <egypt-programmers@yahoogroups.com>; "egyptdevelopers@yahoogroups.com" <egyptdevelopers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "egyptian_developers@yahoogroups.com" <egyptian_developers@yahoogroups.com>; "Egyptian_webdevelopers@yahoogroups.com" <Egyptian_webdevelopers@yahoogroups.com>; "EgyptSoftwareDevelopers@yahoogroups.com" <EgyptSoftwareDevelopers@yahoogroups.com>; "Egypt_Development_Jobs@yahoogroups.com" <Egypt_Development_Jobs@yahoogroups.com>; "El_Azhar_Programmers@yahoogroups.com" <El_Azhar_Programmers@yahoogroups.com>; "Developers_For_Ever@yahoogroups.com" <Developers_For_Ever@yahoogroups.com>; "allprogrammers@yahoogroups.com" <allprogrammers@yahoogroups.com>; "Egypt_Free_Developers@yahoogroups.com" <Egypt_Free_Developers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "El_Azhar_Programmers@yahoogroups.com" <El_Azhar_Programmers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "Egypt_Development_Jobs@yahoogroups.com" <Egypt_Development_Jobs@yahoogroups.com>
Sent: Sunday, December 4, 2011 9:26 PM
Subject: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page
السلام عليكم ورحمة الله وبركاته
ممكن يا جماعه حد يساعدنى فى المشكله دى؟
ولكم جزيل الشكر
Dear all,
How are you?
i have a problem at transferring data from gridview to another at the same page,
that i have a gridview with check boxes column at all rows i want to select these rows and click at the button 'select' to transfer these rows which selected to another gridview at the same page
can you please help me to solve this problem.
__._,_.___
Kindly visit my Blog http://amrsaafan.blogspot.com
MARKETPLACE
.
__,_._,___
0 comments:
Post a Comment