C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




datagridview


Posted Date: 17 Mar 2008      Total Responses: 1

Posted By: Pradeep Kumar        Member Level: Bronze     Points: 2


Hi,
iam windows application..
i want to send selected rows in datagridview to another datatable or dataset when i click button
iam going in right way --
please give me solution.




Responses

Author: rajnava    17 Mar 2008Member Level: GoldRating:     Points: 2
hai pradeep
DataGridViewCheckBoxCell oCell;
foreach (DataGridViewRow row in dataGridView1.Rows)
{
oCell = row.Cells[0] as DataGridViewCheckBoxCell;
bool bChecked = (null != oCell && null != oCell.Value && true == (bool)oCell.Value);
if (true == bChecked)
{
//add records
}


send status
by
raj




Post Reply
You must Sign In to post a response.
Next : reminders in asp.net
Previous : Why we use With keyword in vb.net
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

Help Desk

Contact Us    Privacy Policy    Terms Of Use