Click here to Skip to main content
16,015,756 members

Comments by akoyoon (Top 32 by date)

akoyoon 1-Aug-11 7:36am View    
can you explain to me the code and how it work
akoyoon 30-Jun-11 18:52pm View    
now i get
System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'akoyoon' to data type int.
akoyoon 30-Jun-11 18:43pm View    
when i try this i get
'int' does not contain a definition for 'parse'
akoyoon 30-Jun-11 18:19pm View    
now when i make the query like this

string strQuery = "DELETE FROM [USER] WHERE RoomID=" + Session["CURRENTROOM_ID"].ToString() + " AND nick=" + x;

if field nick have a word like theanil i get the error

Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
Line 15: int.Parse(strID1);
akoyoon 30-Jun-11 18:10pm View    
ignore my last reply wait i will update you inn minutes