-
Hello Everyone. I am creating the ability to set an appointment in someone's calendar and use values in the form to set the attributes of the appoinement. I am getting stuck trying to convert two fields to DateTime. I get this error:
System.FormatException was unhandled by user code
Message="String was not ...
-
Hi,
Open the form solution.
1. Go to Solution Explorer.
2. There you will see references.
3. Right click on that -> Add reference.
4. In the .net tab you will find System.
After adding that use
Using System;
in the code.
-
-
Hi,
How you are adding the new data. I mean from where you are opening the xml? I think you are updating the xml on your local file. Follow the steps as Anuma said, and then you will get the updated values in to the drop down.
-
Thanks a lot.
In Textbox i set another rule. Now i am remove that rule.
Now it works exactly...
-
Then it should work. Are there any other rules on option buttons or text boxes? Verify once.
-
I am using Data Type as Text field.
-
Hi,
What is your option button data type? Can you attach your form. So that I may give correct solution.
-
Hi,
I am glad to hear that you got it. And thanks for placing the solution here.
-
Hi,
When you want to set a value to node of type whole number, date, time, decimal and date and time then you have to set the nil value false. Use the following code lines to set nil to true to the node.
if (node.GetAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance") != null)
{
if ((node.Value).Length != ...