Hello,
I'm having an issue trying to get the data from several TextBoxes in FormB to FormA.
In FormB I use a string to gather the data from the TextBox like so:
private void asBtnOk_Click(object sender, EventArgs e)
{
string asRate = asBoxRate.Text;
}
Then I go to FormA and I try to write the asRate string data to a Text File Like so:
using (StreamWriter sws = new StreamWriter("Settings.txt"))
{
sws.WriteLine("rate \"" + asRate, "\"");
}
I Believe my problem is that the string is in a "private" object but I don't know of any other way to get this to work.
So, Any and all help is greatly appreciated.
Thanks in advance.
- Poab9200