EDN Admin
Well-known member
Im trying to bind a textbox to the current cell in an unbound datagridview. There is no dataset. Ive tried:
<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt TextBox1.DataBindings.Add(<span style="background:white; color:blue; line-height:115%; font-family:Consolas; font-size:10pt New<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt
<span style="background:white; color:#2b91af; line-height:115%; font-family:Consolas; font-size:10pt Binding<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt (<span style="background:white; color:#a31515; line-height:115%; font-family:Consolas; font-size:10pt "Text"<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt ,
DataGridView1.CurrentCell, <span style="background:white; color:#a31515; line-height:115%; font-family:Consolas; font-size:10pt "Value"<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt ))
with no luck. Is what Im trying possible? If so please privide detailed example. Thanks!
<span style="font-size:x-large <span style="font-size:x-large
<span style="font-size:x-large <span style="font-size:x-large <span style="font-size:x-large <span style="font-size:x-large <hr class="sig Donald Hofferber
View the full article
<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt TextBox1.DataBindings.Add(<span style="background:white; color:blue; line-height:115%; font-family:Consolas; font-size:10pt New<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt
<span style="background:white; color:#2b91af; line-height:115%; font-family:Consolas; font-size:10pt Binding<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt (<span style="background:white; color:#a31515; line-height:115%; font-family:Consolas; font-size:10pt "Text"<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt ,
DataGridView1.CurrentCell, <span style="background:white; color:#a31515; line-height:115%; font-family:Consolas; font-size:10pt "Value"<span style="background:white; color:black; line-height:115%; font-family:Consolas; font-size:10pt ))
with no luck. Is what Im trying possible? If so please privide detailed example. Thanks!
<span style="font-size:x-large <span style="font-size:x-large
<span style="font-size:x-large <span style="font-size:x-large <span style="font-size:x-large <span style="font-size:x-large <hr class="sig Donald Hofferber
View the full article