Click here to Skip to main content
14,664,481 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello,
I am working on wpf windows application, I am having datagrid in wpf and i has some text boxes in the datagrid in wpf, so i am giving option to user to enter some values in the text box,so depending on the values given in text box i will calculate the remaining values.so my problem is that hoe to read the values present in textbox of the Datagrid and also please let me know that how to assign the values to a datagrid in wpf.... please please provide me the best working code.... Thanks in advance
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

This is the most compact example you can get for all the operation of datagrid in WPF

WPF DataGrid Practical Examples[^]

Hope you will able to make it..
   
Comments
jing567 19-Oct-13 0:07am
   
Actually their is no text box used in that solution... That is not the code I am expecting
[no name] 19-Oct-13 0:09am
   
"I am having datagrid in wpf and i has some text boxes in the datagrid in wpf"
Then what this line means..??
jing567 19-Oct-13 0:16am
   
A Data grid contains some number of rows and columns.... In one column I am providing a text box(i.e text box will be repeating for every row in a particular column)... user enters values in each text box and then clicks a save button... where save button is present out of grid... and in that click event I should get all the text box values.... If any one able to answer my question they will be highly appreciated :) :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100