No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Re: Really good job! Here is an idea for a little improvement in the Try block: (Just to keep the coding happy ;) ) Try If MyConn.State = ConnectionState.Closed Then MyConn.Open() End If Return MyCmd.ExecuteScalar() Catch ex As Exception lblMessage.Text = "Error Connecting to Database!" Finally MyConn.Close() End Try | |
Re: It has nothing to do with the text size. The difference is that the string value is [B]immutable.[/B] Methods that appear to modify a string actually return a [B]new string [/B] containing the modification. Here is a simple example: [QUOTE] string s1 = "World"; string s2 = s1.Insert(0, "Hello "); … |
The End.