Click here to Skip to main content
16,005,141 members

Comments by joanne danastasi (Top 5 by date)

joanne danastasi 31-Mar-13 11:08am View    
how can I use postback the code is not in the page load. in fact I have nothing in it since when the page is loaded it loads a formview which is connected to an sql database
joanne danastasi 29-Mar-13 9:43am View    
I am creating a formview in microsoft viusal studio I have successfully connected the database
and display the information in labels and radiobutton. on clicking next I am updating the table but I want to take the data from a label in the form view using the code below
conn2.Update("INSERT INTO test (QuestionNumber, Answer) VALUES ('" + lblquestnum.Text + "', 1)");

and I am given this error The name 'lblquestnum' does not exist in the current context
joanne danastasi 29-Mar-13 8:50am View    
I have a form in a form view I am displaying the contents using the data source on clicking the next button I want that the contents of the label in the form view to be stored in a database table
joanne danastasi 29-Mar-13 4:46am View    
the button only execute the code once since the label never increments to 3
joanne danastasi 29-Mar-13 4:45am View    
not its in vain it still displays the first two records.