How Should I store values in DB from multiple text boxes
<p>I have 14 text boxes on application, in that user will enter single digit numbers. My task is to retrieve and save the values of all 14 text boxes into DB... I am facing a problem in passing a string for all text boxes. <strong>Could anybody help me out in writing some</strong> <strong>code in .aspx file</strong>? I did some work on it: actually I need help in writing a method in which we can pass all 14 values as a single string.</p>

<pre><code>BLL: public static SubmitParentReport GetItem(string needHours) { 
  return SubmitParentReportDB.GetItem(needHours); 
}

BO: private string needHours = ""; public string NeedHours { 
  get { return needHours; } 
  set { needHours = value; } 
}

DAL: This parameter I am using to store in database:

OracleParameter prm3 = new OracleParameter("i_need_hours", OracleType.VarChar, 2);    
prm3.Direction = ParameterDirection.Input; prm3.Value = needHours;    
myCommand.Parameters.Add(prm3);
</code></pre>
