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

Get detail textbox in DGV

$
0
0
What I want to do is to open up in-line detail information in a DGV (or treeView).  Right now I have a DataTable and using datagiridview1.DataSource = dt.  I trying to find a simple solution.  I want to put one row of the DGV into a Tree node so it looks like the DGV row.  Then when the plus sign is pressed on the TreeView and Textbox will open with the detail data.  So I was thinking of creating a DataRowView and casting to a TreeView.  Then turning the view into a control.  I would like to be able to expand multiple tree nodes at one time.  Right now the solutions I found are taking the DataRow and creating a new Tree Node for each column. I want the datarow to appear as a single row.

jdweng


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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