Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~218 People Reached
Favorite Tags
Member Avatar for firstimer

Hi all, still relatively new to c# and asp.net. Can anyone tell me what I'm doing wrong here: [CODE]string updateSql = "UPDATE FirstData " + "SET numplay=numplay+1 " + "WHERE PlayerNum = @PlayerNum"; SqlCommand UpdateCmd = new SqlCommand(updateSql, thisConnection); UpdateCmd.Parameters.Add("@PlayerNum", SqlDbType.Int,10, "PlayerNum"); //UpdateCmd.Parameters.Add("@numaddval", SqlDbType.Int,10, "[numplay]"); UpdateCmd.Parameters["@PlayerNum"].Value = "2"; UpdateCmd.Transaction = …

Member Avatar for kvprajapati
0
87
Member Avatar for firstimer

Hi all, I am new to C# and the visual studio express environment. I have a button on this web page, when it is clicked a method assigns a new random number to a variable but I want new clicks to add numbers to what was in the variable and …

Member Avatar for firstimer
0
131