How I can clear the textboxes in the webbform.
I found the solution like this,
private void EmptyTextBoxValues(Control parent)
foreach (Control c in parent.Controls)
if ((c.Controls.Count > 0))
else if ((c.GetType() == typeof(TextBox)))
((TextBox)(c)).Text = "";
the best and easiest way is to write a single event handler for all textboxes on the form
MAke a linkbutton with name 'clear'
on its button event handler just blank all text boxes resides on the page.
While I'm just trying to pull up data from the db, as soon as the page shows up with the data it is already sending an email. How can I ...
i want to print a persian file by thermal printer..
i can print an english file esily..but i face the proble while printing persian text..
i think i ...
I had created a function updateprintingqc() that work like this