Transferring data from one GridView to another. The first listener receives the dataset and the second listener posts the column heading on Monday.
- [C#]
- void GetirhaftalikSatirEkle()
- {
- string Kol1 = "";
- string Kol2 = "";
- string Kol3 = "";
- string Kol4 = "";
- string Kol5 = "";
- string Kol6 = "";
- string Kol7 = "";
- for (int i = 0; i < GridViewPersolDersProgrami.RowCount; i++)
- {
- Kol1 = GridViewPersolDersProgrami.GetRowCellValue(i, "G1").ToString();
- Kol2 = GridViewPersolDersProgrami.GetRowCellValue(i, "G2").ToString();
- Kol3 = GridViewPersolDersProgrami.GetRowCellValue(i, "G3").ToString();
- Kol4 = GridViewPersolDersProgrami.GetRowCellValue(i, "G4").ToString();
- Kol5 = GridViewPersolDersProgrami.GetRowCellValue(i, "G5").ToString();
- Kol6 = GridViewPersolDersProgrami.GetRowCellValue(i, "G6").ToString();
- Kol7 = GridViewPersolDersProgrami.GetRowCellValue(i, "G7").ToString();
-
- GridViewPersonelPuantaj.SetRowCellValue(i, "PId", Program.PId);
-
- if (GridViewPersonelPuantaj.Columns[i].Caption.ToString()=="Pazartesi")
- {
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
- }