Hi. I am a new guy trying to use C# with InfoPath 2007. How can I connect the TextBox from the InfoPath template (form) with the code I write in Visual Studio Tools for Applications in order to save the value i have in that textbox in a database. It does not work as easy as in C# where you can sa variable = TextBox.text. Thank you!