Hai everybody,
2day im showing u a small piece of code to add row dynamically in a grid.Mygrid conatin 2 dropdown 'n one textbox (With validation).i also used ajax for this.
Documentation
On the txtchange event i'm catching the entered Number.Later i creating a datatable 'n on the table i define no of colum on the gird then a for loop i call the desired no of row to be created and i add that row to the table 'n giving the grid datascorce as table.Logic is Simple :).
I had created a demo u can download from Here
Have a nice day... 'N happy Coding :)
No comments:
Post a Comment