Dynamically adding rows to the gridview
I managed to add the rows but the problem i was getting that i was unable to access rows at server. This was due to the fact that gridview loads the rows from viewstate during loadviewstate() method.
After, spending a few hours, i decided to use a postback with keeping the table in session state. I added rows to that table on efach post back