En iyi yanıtlayıcılar
dateedit

Soru
-
Merhaba,
datagridyeniodeme.Columns[5].Name = ilkodeme.SelectedText;
Dateedit adı = ilkodeme
datagridyeniodeme adlı DataGridViewde 5 adet kolon ekliyorum. Hepsinin textine dateeditte seçilen tarih yazılıyor. Örneğin;
02.07.2019 02.07.2019 02.07.2019 02.07.2019 02.07.2019 şeklinde. Fakat benim istediğim dateeditten seçilen tarihi
ilk kolonun textine yazdırsın ver her kolonda ay değeri 1 artsın. Örneğin;
02.07.2019 02.08.2019 02.09.2019 02.10.2019 02.11.2019
Mümkünmü?
Sefa ŞAHİN sfasahin@outlook.com.tr sefasahinofficial@gmail.com
Yanıtlar
-
Burada ayni soru ve cozumu var.
How to create a Minimal, Reproducible Example
The way to Go.
World's most advanced open source (object-) relational Database.
Flutter (for mobile, for web & desktop.- Yanıt Olarak Öneren Yasin AKAR 6 Eylül 2019 Cuma 05:36
- Yanıt Olarak İşaretleyen Kyamuran SalibryamMicrosoft contingent staff, Moderator 13 Eylül 2019 Cuma 10:00
Tüm Yanıtlar
-
DateTime nesnesine AddMonth(1); deyip değer verebilirsin.
DateTime date = new DateTime(2019, 9, 5); // 05.09.2019
date = date.AddMonths(1); // 05.10.2019 date = date.AddMonths(1); // 05.11.2019 date = date.AddMonths(1); // 05.12.2019 date = date.AddMonths(1); // 05.01.2020
TR| Sorunuzun yanıtı bu ise "Yanıt Olarak Öner" olarak işaretleyin, eğer faydalı bir yorum ise "Oy Ver"erek forumun işleyişine katkıda bulunabilirsiniz. EN| If this is the answer to your problem, mark "Propose as Answer" and if it is helpful, you can contribute to the workig of the forum by "Voting".
- Yanıt Olarak Öneren csharpogreniyorum 12 Eylül 2019 Perşembe 20:25
-
Burada ayni soru ve cozumu var.
How to create a Minimal, Reproducible Example
The way to Go.
World's most advanced open source (object-) relational Database.
Flutter (for mobile, for web & desktop.- Yanıt Olarak Öneren Yasin AKAR 6 Eylül 2019 Cuma 05:36
- Yanıt Olarak İşaretleyen Kyamuran SalibryamMicrosoft contingent staff, Moderator 13 Eylül 2019 Cuma 10:00