TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Arif GÜLER
NA
3
1k
Transferring data from one GridView to another
May 27 2017 5:00 PM
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);
/// MessageBox.Show(GridViewPersonelPuantaj.Columns[i].Caption.ToString());
if
(GridViewPersonelPuantaj.Columns[i].Caption.ToString()==
"Pazartesi"
)
{
//caption pazartesi ise kol1
}
//GridViewPersonelPuantaj.SetRowCellValue(i, "G1", Kol1);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G2", Kol2);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G3", Kol3);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G4", Kol4);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G5", Kol5);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G6", Kol6);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G7", Kol7);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G8", Kol1);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G9", Kol2);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G10", Kol3);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G11", Kol4);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G12", Kol5);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G13", Kol6);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G14", Kol7);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G15", Kol1);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G16", Kol2);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G17", Kol3);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G18", Kol4);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G19", Kol5);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G20", Kol6);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G21", Kol7);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G22", Kol1);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G23", Kol2);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G24", Kol3);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G25", Kol4);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G26", Kol5);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G27", Kol6);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G28", Kol7);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G29", Kol1);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G30", Kol2);
//GridViewPersonelPuantaj.SetRowCellValue(i, "G31", Kol3);
}
}
Attachment:
ornek.rar
Reply
Answers (
1
)
how to decode utf-8(from image) in c#
How to configure Mathematics Formula in C# web application