votes
How to clear TextBoxes
This is my code: [code]protected void Button1_Click(object sender, EventArgs e) { string s1 = TextBox1.Text; string s2 = TextBox2.Text; string s3 = TextBox3.Text; blog b = new blog(); if ...
blah blah blah is here! blah blah » Close
This is my code: [code]protected void Button1_Click(object sender, EventArgs e) { string s1 = TextBox1.Text; string s2 = TextBox2.Text; string s3 = TextBox3.Text; blog b = new blog(); if ...
ok... say I have Form1 and Form2. Form1 has a button that opens Form2. Within Form2, the user types in their info. When the user is finished, he/she clicks on a Save button on Form2. That save button collects the data entered in the tex ...
Hi, Can someone help me figuring out how to clear a Masked Textbox when I click a clear button? The mask is set to zip code. "_____-____" Thank you.
private void setSingleDACVoltage(TextBox tb_OutputNumber_DAC, TextBox tb_Voltage_DAC) { double Volt_Value_DAC = Convert.ToDouble(tb_Voltage_DAC.Text); String hexNumber = tb_OutputN ...
I am trying to test if my textbox has focus in visual C#. Does anybody know how I could do this? it would really help, I'm trying to make it so that when you press enter while the textbox has focus, It will preform the same command as press ...
Hello, I have a textBox1.text that I would like to have it insert a . every three characters. For an IP Address, like 192.168.001.016 [code]private void tbIPVM_TextChanged(object sender, EventArgs e) { if (tbI ...
Got feedack? Found a bug? report it here.