Hi @dharmendr,
Thanks for giving reply, my requirement is i want to Create dynamic GridView rows and columns with TextBox in each cell based on row and column value from TextBox.
if i create 2x3 means 2- Rows & 3-Columns=6 Fields are textboxes.
(ixj) means i1j1 i1j2 i1j3
i2j1 i2j2 i3j3 (These are TextBox Names).
after entering data in textboxes the same data should be store in datatable and this datatable data save in database table.
eg: if i enter text in textboxes like below,
Apple bannana Orange
grape watermelon mango
the above same data should come in to datatable as it is and saving same.
And you also mention
" you can't access the TextBoxes of each row on button click as the controls are generated dynamically it looses after post back. The only way is you have to use javascript or jquery to access the controls with there value."
if the textboxes looses their ids after postback then what is the use of creation of this type of gridviews. i need some suggestion, how to acheive my requirement.
please help me.
Thanks in advance