Can anyone help?

I am making a web application that is a dispatch site. I want to be able to programmaticall y insert the usersname into the DispatchID field within the
DetailsView template. I set the default mode to "insert" I see the ID of the textbox that im trying to automatically put text into. The ID is DispatchIDtextb ox.

What I thought it would be,

detailsview1.cu rrentmode.Dispa tchIDtextbox.te xt...