Click here to Skip to main content
12,396,144 members (57,710 online)
 
See more: C#
#region SAVE AND UPDATE
               for (int i = 0; i < rowCount; i++)
               {
                   //CHECK ROW IS NOT SELECTED
                 if (Convert.ToBoolean(dataGridView1.Rows[i].Cells[0].Value) == false)
                   {
                       //ROW MUST HAVE STRING VALUE(NOT NULL OR EMPTY)
if (dataGridView1.Rows[i].Cells[1].Value != null && string.IsNullOrEmpty(dataGridView1.Rows[i].Cells[1].Value.ToString()) == false)
                       {
                           //IF ID IS NULL THAN SAVE
                           if (dataGridView1.Rows[i].Cells[5].Value == null)
                           {
 
}

Plzzz, Anyone Can Help Me.
Closed because this post is not a question, or has not been phrased in a way that allows a reasonable answer to be provided. Reported by Sergey Alexandrovich Kryukov, aspnet -i, phil.o on Wednesday, February 6, 2013 7:54am
Posted 6-Feb-13 2:29am
Closed 6-Feb-13 3:38am
digimanus54.4K
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 6 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100