newbie question


Posted on 16th Feb 2014 07:03 pm by admin

Hi out thereIm totaly new in this forum and to .net and vb so here is a totaly newbie question.I want to make a couter display how many times ive clicket a buttonWhy does my code alwas start over at 0 so "Counter" newer gets higher then 1?
Did you know?Explore Trending and Topic pages for more stories like this.
view plaincopy to clipboardprint?Partial Class _Default Inherits System.Web.UI.Page Dim Counter As Integer Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Counter += Counter Label1.Text = Counter End Sub End Class
No comments posted yet

Your Answer:

Login to answer
65 Like 34 Dislike
Previous forums Next forums
Other forums

Blogging s/w
heya frndz!!! i want to start a blog.... m looking for a s/w like oscommerce which is thr for e-comm

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Taxonomy? Classification? Categorisation?
Not sure if there is a way around this classification problem
I have a supplier who produces

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

help with insert
Hi there,

I am trying to insert some data into a database, but for some reason, it is not ins

CURL XML Request [From C to PHP]
Hi,

I need some help converting this into something that will work with PHP.

Code: #

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

Limiting checkboxes?
Hi guys,

I have this code: Code: if(isset($_POST['selected'])) {
foreach($_POST['selec

Thread in PHP
Thread in PHP
Some basic use and basic code for thread in php
This is my question?

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash