string fieldName = "m_dateTextBox"; Type type = someObject.GetType(); FieldInfo fieldInfo = type.GetField(fieldName, BindingFlags.NonPublic | BindingFlags.Instance); TextBox textBox = (TextBox)fieldInfo.GetValue(someObject); textBox.Text = DateTime.Now.ToString("d");