6
Answers

Nested Datagrid within a datagrid using c#

Photo of pandiyan

pandiyan

14y
5.9k
1

Hi,
I want display the item in parent grid as well as child grid.so anyone can tell how to display nested datgrid in c# windows application.
Thanks,
 
 

Answers (6)

1
Photo of Manish Dwivedi
NA 8.3k 1.2m 14y

Hi will,
for str, single character is converted to its relevant ASCII value.
Same is happen for str2 , taking ASCII value for characters(Here fix string is AMEND, you have to make it large like AMENDING)
and str3 we are taking the difference of ASCII value.

and making the format like that 1245/2543/475812
and in last line the value you got is converted to datetime.
This is the working og this code, but still i didn't get the purpose of code.
 
 
 


 
Anybody wish to share with me how this code actually works?
 
Accepted
0
Photo of Will
NA 3 1.8k 14y

Thank You very much for your answer.
I had worked out that it was subtracting from the ASCII value of each character in the str2 "string" moments before you post, and have since made the code work how I required :)
Regards :)