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