Re: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page

Tuesday, December 06, 2011

 

DataTable dt;
foreach(GridViewRrow GRow in GridView.rows)
{
     checkbox x = (checkbox) Grow.FindControl("CheckBox");
 
     if(x != null && x.checked == true}
     {
         DataRow r = dt.rows.NewRow();
         r["EmployeeName"] = Grow["EmployeeID"];   
         dt.rows.add(r);
     }
}
if(dt.rows.count <> 0 )
  { 
    NewGridView.DataSource = dt;
    NewGridView.DataBind();
}

--- On Sun, 12/4/11, Samar Mohammed <samar.mohammed_90@yahoo.com> wrote:

From: Samar Mohammed <samar.mohammed_90@yahoo.com>
Subject: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page
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>
Date: Sunday, December 4, 2011, 11:26 AM

 


السلام عليكم ورحمة الله وبركاته
ممكن يا جماعه حد يساعدنى فى المشكله دى؟
ولكم جزيل الشكر
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.

__._,_.___
Recent Activity:
Kindly visit my Blog http://amrsaafan.blogspot.com
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

0 comments:

Post a Comment