Copy contents of Tab Page c# -


I have a tab control in which a tab page is static and the other tab pages are dynamically created through a loop Are there. I want to copy all the data form static tab page, there is a grid view in the static tab. I want to copy that grid view to all dynamically-generated grid views but the problem is that the previous grid view and others are empty. For any help

  (int i = 1; i & lt; xnl.Count; i ++) {tab page tb = new tab page (); Tb.Controls.Add (datagrid); TabControl1.Controls.Add (TB); } I think you should clone your grid, then add clonic addition < / P>  

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -