You can do that by changing value attribute of TextBox filed
webdriver.executeScript("document.getElementById('elementID').setAttribute('value', 'your text here')");
But ideal option will be to use elem.sendKeys("your text here"); Where elem is identification of your text.
Hope it helps.