Try this
DateTime firsttext= Convert.ToDateTime("7/12/2012");
DateTime answer = firsttext.AddDays(Convert.Todouble(TextBox2.Text));
Refer this
Adding Business Days to a Date
http://msdn.microsoft.com
or
If you want it done through javascript then call this function in second textbox onchange event
function aaddate()
{
var txt1 = document.getelementByID('<%# txt1.ClientID%');
var txt2 = document.getelementByID('<%# txt2.ClientID%');
var today = new Date(txt1.value);
var tomorrow = new Date();
tomorrow.setDate(today.getDate()+ parseInt(txt2.value));
}