Click here to Skip to main content
15,900,461 members

Comments by Drazen Pupovac (Top 33 by date)

Drazen Pupovac 14-Oct-14 16:22pm View    
There is the link, but wrong path. It should be: http://www.gozindadeh.com/mokaab.rar
Drazen Pupovac 20-Jan-14 17:07pm View    
Can you provide CSS?
What is happening with HTML in order to show green message?
Drazen Pupovac 20-Jan-14 16:48pm View    
I have tried your code and it seams it is working. Only I am getting "Null reference exception" if first search has not been stop before second search (needContinueSearch = false) has bean started.
Can you provide specific search URL which you are using in Navigate method?
There can be an thread issue, but this code is not enough for me to assert it.
Drazen Pupovac 27-Jul-13 14:03pm View    
You can use database profiler to see what is sent to database.
Drazen Pupovac 27-Jul-13 13:56pm View    
Did you check that "UserComment.Text" has a value before insert? Debug it, or hard-code some value to check.
If there is any error paste it, please.

if (Dbid != null) is sufficient. int is value type it can't be null.
If you receive null from database code will be broken in this line: int Dbid = (int)sqldread["Id"];. So, check if sqldread["Id"] is not null, then if pass convert it to int.

Try to use "using" statement instead of sqldread.Dispose(); and conn2.Close();, Close and Dispose will not be executed if there is some exception.