Datagrid details repeating issue?

Aug 31 2011 2:25 AM

Hi,

   This is Rajesh. I created the design in silverlight for administrator Questionpaper generation as follows. I am giving a textbox to enter how many questions he want to enter. Once he enter some no(Ex:4) and if he submit the data by clicking submit button. It will create design as user can able to enter 4 Questions and for each question 4 options he can enter. Like that i created design finally. For that i used datagrid. But now problem is how to save those details entered by user into DB and how to find the controls inside datagrid? If suppose i enter a question in 1st textbox and appropriate options and i scrolled to down then the same question is appearing in 5th textbox. and in 1 st text box my data is losing. Can u give me any idea   how to solve these issues?

Thanks & Regards, 

Rajesh M.