Click here to Skip to main content
15,886,963 members

Comments by DavidKiryazi (Top 45 by date)

DavidKiryazi 28-Oct-10 20:42pm View    
add some code kerem, will make it easier to find problem
DavidKiryazi 24-Oct-10 21:11pm View    
Have you tried running the stored procedure directly in SQL server? Try this if you haven't and supply the same values that you are sending through the C# app. This way we can determine if its the values you are sending to SQL that are invalid, or the SP is not written correctly.
DavidKiryazi 23-Oct-10 2:51am View    
maybe put some code up so we can see what you're doing. Maybe you're supressing the event somehow?
DavidKiryazi 20-Oct-10 6:28am View    
You can't use the '@' keyword infront of textbox26 unless you have textbox26 declared with the '@' symbol in the first place.

ie. What normally happens is you declare a object such as TextBox textbox26 = new TextBox(). This is all well and good. However, it is also possible to delcare it as TextBox @textbox26 = new TextBox(). Then you have an actual variable called @textbox26. Can you see the problem? The "@" has special meanings in C# and one of them is that it allows you to use C# keywords as variable or object names. For example, int @if = 5; is valid.

In short, get rid of the "@" symbols in your command string and all will be well.
DavidKiryazi 13-Oct-10 6:55am View    
what?

You enter the word "pen" then you enter the letter "p" and the output is 3 means location of "n"? where did the "n" come into it?

Also, indexers start at 0, so n is actually at index 2 :)