August 11, 2011 at 3:05 pm
Hi ,
I am trying to do call the update stored procedure for the web form I am creating in .net. I did the insert stored procedure for the first form and I am doing update for the second form.
I am getting the following errors:
Error1'Label1' is already declared as 'Protected WithEvents Label1 As System.Web.UI.WebControls.Label' in this class.
I am getting the same errors for all the boxes and labels on the second page. Any one knows what it means?
thanks,
August 11, 2011 at 3:34 pm
Yeah you have two controls with the name Label1. This of course has nothing to do with sql and everything to do with your web form code.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply