using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Genesis_Solutions_CRMS
{
public partial class formNewAccount : Form
{
public formNewAccount()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Information info = new Information();
info.Name = txtName.Text;
info.Occupation = txtOccupation.Text;
info.Dob = double.Parse(txtDob.Text.ToString());
info.Nic = double.Parse(txtNic.Text.ToString());
info.ID = double.Parse(lblID.Text.ToString());
XMLConfigurarion.XMLConf(info, "DATA.xml");
}
}
}
Ali_51
0
Newbie Poster
Recommended Answers
Jump to PostThe question is broad, and with no relevant code to work with.
It is in you best interests to at least show the classes you are working with.
All 4 Replies
Suzie999
245
Coding Hobbyist
necrovore
-2
Junior Poster in Training
JOSheaIV
119
C# Addict

lithium112
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.