If i understand you correctly, you want to add lines into GridView.
Just put the answers into a DataTable and bind it into GridView. Is this what you want?
For example,
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
System.Data.DataTable dt = new System.Data.DataTable();
dt.Columns.Add("answers");
GridView1 = new GridView();
GridView1.AutoGenerateColumns = true;
GridView1.DataSource = dt;
GridView1.DataBind();
ViewState["dt"] = dt;
}
}
When you want to add answer
void AddAnswer(string answer)
{
System.Data.DataTable dt = (System.Data.DataTable)ViewState["dt"];
dt.Rows.Add(answer);
GridView1.DataSource = dt;
GridView1.DataBind();
}