Click here to Skip to main content
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 phil.o, Sergey Alexandrovich Kryukov, aspnet -i on Wednesday, February 6, 2013 7:54am.
Posted 6-Feb-13 2:29am
Edited 6-Feb-13 3:38am
28.4K
v3

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

  Print Answers RSS
0 OriginalGriff 554
1 Gihan Liyanage 338
2 RyanDev 248
3 Sergey Alexandrovich Kryukov 243
4 ChauhanAjay 220
0 Sergey Alexandrovich Kryukov 9,011
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 6 Feb 2013
Copyright © CodeProject, 1999-2014
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