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.
I recently inherited a project that has been in production for a number of years. They want a new field added. Easy peasy - or so you would ...
Hello, I can't display images from database.
I have folder called "images" next to index.php where I keep images.
I suppose I have wrongly defined folder path with images or ...
i am creating an app with android studio and i'm using mySQL.and i want to implement friends feature in my app to enable users send and recieve friend requests, i ...