public void FillValue(ref ISchematicFeature schFeature)
		{
			try
			{
				if (m_schEltClass == null)
					throw new Exception("Error getting Feature Class");

				int fldIndex;

				foreach (System.Windows.Forms.Control ctrl in m_curPanel.Controls)
				{
					if (!((ctrl.GetType() == typeof(System.Windows.Forms.Label)) || (ctrl.Name == "cboNodeType")))
					{
						if ((ctrl.GetType() == typeof(System.Windows.Forms.TextBox)) || (ctrl.GetType() == typeof(System.Windows.Forms.ComboBox)))
						{
							if (ctrl.Text.Length > 0)
							{
								//insert in DB
								fldIndex = schFeature.Fields.FindField(ctrl.Name);
								if (fldIndex > -1)
								{
									schFeature.set_Value(fldIndex, ctrl.Text);
									schFeature.Store();
								}
							}
						}
						else if (ctrl.GetType() == typeof(System.Windows.Forms.DateTimePicker))
						{
							fldIndex = schFeature.Fields.FindField(ctrl.Name);
							if (fldIndex > -1)
							{
								schFeature.set_Value(fldIndex, ctrl.Text);
								schFeature.Store();
							}
						}
						else if (ctrl.GetType() == typeof(System.Windows.Forms.MaskedTextBox))
						{
							System.Windows.Forms.MaskedTextBox mctrl = (System.Windows.Forms.MaskedTextBox)ctrl;
							if ((mctrl.Text.Length > 0) && (mctrl.Modified) && (mctrl.MaskCompleted))
							{

								fldIndex = schFeature.Fields.FindField(ctrl.Name);
								if (fldIndex > -1)
								{
									schFeature.set_Value(fldIndex, ctrl.Text);
									schFeature.Store();
								}
							}
						}
					}
				}

				return;
			}

			catch (System.Exception e)
			{
				System.Windows.Forms.MessageBox.Show(e.Message);
			}
		}