0)[/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]//ondan sonra hep bu kod calısacak boylece sen her bastıgında bı oncekı form kapanacak yenısı acılacak(2) [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]{ veri_to_yeniFrom.Close(); veri_to_yeniFrom = [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]DENEMESİLİNECEK[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2](); veri_to_yeniFrom.txtİSİM.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[1, dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtSOYİSİM.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[2, dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtADRES.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[5, dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtDOGUMTARIHI.Text = ([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToDateTime(dataGridView1[4, dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.txtYAŞ.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToInt32(dataGridView1[3, dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.Show(); } [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]else[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]//ilk bastıgında bu kod calısacak ve countun degerı artacak(1) [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]{ veri_to_yeniFrom = [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]DENEMESİLİNECEK[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2](); veri_to_yeniFrom.txtİSİM.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[1, dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtSOYİSİM.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[2, dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtADRES.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[5, dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtDOGUMTARIHI.Text = ([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToDateTime(dataGridView1[4, dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.txtYAŞ.Text = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToInt32(dataGridView1[3, dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.Show(); } count++; kolay gelsın } [/SIZE] [url=http://www.csharpnedir.com/forum2/forum_posts.asp?TID=24381&PID=99934#99934]Orjinal[/url]"/> Visual C# : datagridview to textbox ?? - Dostuz.Biz
Kaynak : Http://dostuz.biz/forum/visual-c-datagridview-to-textbox--t386446.html
0)[/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]//ondan - [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]DENEMESİLİNECEK[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2](); veri_to_yeniFrom.txtİSİM.Text - - = - sonra - = - form - oncekı - sen - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[1, - [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]DENEMESİLİNECEK[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2](); veri_to_yeniFrom.txtİSİM.Text - Haziran - 0; [/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]DENEMESİLİNECEK[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] - calısacak - calısacak - acılacak(2) - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[5, - = - 02:59 - dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.Show(); } [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]else[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]//ilk - - = - > - ([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToDateTime(dataGridView1[4, - = - = - hep - countun - - sender, - count - to - [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]{ veri_to_yeniFrom.Close(); veri_to_yeniFrom - = - ([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToDateTime(dataGridView1[4, - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToInt32(dataGridView1[3, - e) { [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] - = - bu - veri_to_yeniFrom; [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] - dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtADRES.Text - artacak(1) [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]{ veri_to_yeniFrom - kapanacak - = - kod - dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtSOYİSİM.Text - (count - dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtSOYİSİM.Text - [SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] - - yenısı - dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.txtYAŞ.Text - - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[2, - Zamanı:[/B] - bu - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[1, - datagridview - ?? [B]Gönderim - dataGridView1_CellClick([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] - Saat - = - = - [URL="http://www.csharpnedir.com/forum2/member_profile.asp?PF=13325"]agon7272[/URL] [B]Konu:[/B] - kod - datagridview - ve - textbox - dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtADRES.Text - to - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[2, - bastıgında - - Visual - C# - textbox - [/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]DataGridViewCellEventArgs[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] - dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtDOGUMTARIHI.Text - dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.txtYAŞ.Text - dataGridView1.CurrentRow.Index].Value)).ToString(); veri_to_yeniFrom.Show(); } count++; kolay - dataGridView1.CurrentRow.Index].Value); veri_to_yeniFrom.txtDOGUMTARIHI.Text - degerı - : - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])(dataGridView1[5, - [B]Yazar:[/B] - ?? - boylece - her - gelsın } [/SIZE] - ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ToInt32(dataGridView1[3, - = - [url=http://www.csharpnedir.com/forum2/forum_posts.asp?TID=24381&PID=99934#99934]Orjinal[/url] - - - = - bastıgında - 2009 - 22 -