Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How To Get Data From Datagridview Row In The Text Boxes

$
0
0

I had added a Columns to a dataGridView Like This  

dataGridView1.Columns.Add("mc", "Manual Columns");


The dataGridview output like this 

From MySQL            From MySQL      Manual Columns
Visual      Studio    c# (Manual input)
  


i had success use  following code get " label1.Text is  VusualStudio ". How can i get Manual Columns value c#? 

Many Thank !!~

string valuetest = row.Cells[0].Value.ToString();
string valuetest1 = row.Cells[1].Value.ToString();
label1.Text = valuetest + valuetest1 ;









Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>