Click here to Skip to main content
15,389,911 members

Comments by Kunal Chowdhury «IN» (Top 111 by date)

Kunal Chowdhury «IN» 16-May-17 6:15am View
Hi Member 13203537,
I would ask you to first learn what is 'if' condition, 'for' loop, 'while' loop etc. and their syntax's. There are plenty of articles available online. The above code that you shared, is syntactically incorrect and will not run.
Kunal Chowdhury «IN» 15-May-17 0:59am View
Would you give me $1000 to write your project? :P
Kunal Chowdhury «IN» 3-Mar-16 2:09am View
Reason for my vote of 5 \n Good one. Have a 5
Kunal Chowdhury «IN» 1-Oct-15 1:57am View
Thanks Richard for replying. Yes, I have checked that long thread but no one actually answered about the reason.
Kunal Chowdhury «IN» 4-Mar-15 2:21am View
It depends. Share us a piece of code, so that we can check
Kunal Chowdhury «IN» 27-May-13 6:17am View
Hi Sunil,

I tried the mentioned solution in my project but the above code is not working. I am getting fileuploadExcel.PostedFile as NULL. My file upload control is outside the UpdateManager. Now what to do? Looking for a solution. Please suggest.
Kunal Chowdhury «IN» 27-Nov-11 22:49pm View
Reason for my vote of 5
Good Job Raja :thumbsup:
Kunal Chowdhury «IN» 4-Jul-11 0:57am View
Nice Share.
Kunal Chowdhury «IN» 17-May-11 4:23am View
Not an alternate.
Kunal Chowdhury «IN» 17-May-11 1:10am View
Don't confuse devs by using "int? ?? -1" instead use some parentheses. Your code will look more cleaner.
Kunal Chowdhury «IN» 11-May-11 1:05am View
Woh, you found my post? :D Thanks BTW.
Kunal Chowdhury «IN» 21-Apr-11 3:16am View
BTW, don't forget to test it in IE 10 too. The platform preview is available for download.
Kunal Chowdhury «IN» 21-Apr-11 3:14am View
Reason for my vote of 5
Nice Tip. :thumbsup:
Kunal Chowdhury «IN» 20-Apr-11 14:01pm View
Cool. +5 for sharing the Tip.
Kunal Chowdhury «IN» 20-Apr-11 14:00pm View
Nice. +5ed :)
Kunal Chowdhury «IN» 13-Apr-11 7:44am View
Reason for my vote of 5
Good for beginners.
Kunal Chowdhury «IN» 6-Apr-11 0:39am View
Reason for my vote of 5
Good but it is always advisable to use CSS instead of inline styles for future maintenance.
Kunal Chowdhury «IN» 8-Jan-11 2:16am View
Don't worry about it. I replied something for you here:
Kunal Chowdhury «IN» 8-Jan-11 2:11am View
But why did you delete your answer? It is correct man.
Kunal Chowdhury «IN» 8-Jan-11 2:03am View
It's really a good answer Hiren, but don't know why people downvoted your post. +5ed to counter it. Not only to counter, but it is really a good answer.
Kunal Chowdhury «IN» 7-Jan-11 10:17am View
It's not always helpful. Atleast, when you have an object of properties and you are already using one converter to do some basic operation. But anyway, that's a good suggestion. Silverlight 5 is coming and at that time, we will not have any issue.
Kunal Chowdhury «IN» 3-Dec-10 5:56am View
Better solution will be using the JavaScript. I don't think comment will be a best option here as any developer can come and remove those entries and it will fail in that case. I will not recommend comment for doing any specific operation. Try a innerHtml from JavaScript.
Kunal Chowdhury «IN» 26-Nov-10 10:19am View
Reason for my vote of 5
Small but Good Tip. Keep posting regularly with your technical findings. All the best...
Kunal Chowdhury «IN» 3-Nov-10 9:00am View
Mr Arvinder (Bunny Singh),
Please live in your attitude. Don't comment rudely and this is my last warning message to you.
Kunal Chowdhury «IN» 3-Nov-10 8:55am View
[All the bad comments removed from here. Please don't use such comments else you will be banned in CodeProject.]

Use Lounge or GIT for normal chat. Don't use any programming forums.
Kunal Chowdhury «IN» 3-Nov-10 8:51am View
[All the bad comments removed from here. Please don't use such comments else you will be banned in CodeProject.]
Kunal Chowdhury «IN» 18-Oct-10 21:23pm View
You have to specify the full namespace of your client. So, first check what is the namespace for your client class. Check using the object browser.
Kunal Chowdhury «IN» 14-Sep-10 2:43am View
What's your Question? What issue are you facing there? Use proper subject line and explain what you have tried and what are the issues you faced there. Then people will be able to help you.
Kunal Chowdhury «IN» 13-Sep-10 7:35am View
Thanks for sharing the link.
Kunal Chowdhury «IN» 13-Sep-10 7:24am View
Awesome!!! Share the same to others too.
Kunal Chowdhury «IN» 13-Sep-10 7:05am View
Excellent Answer... :thumbsup:
Kunal Chowdhury «IN» 13-Sep-10 6:45am View
"venubabu k" Is it a Question or your name? Put a proper question as the Subject line, so that, one can understand it.
Kunal Chowdhury «IN» 13-Sep-10 6:34am View
Good Answer.
Kunal Chowdhury «IN» 13-Sep-10 6:25am View
I am not seeing your question as Downvoted. The answer given above was downvoted by someone.
Kunal Chowdhury «IN» 13-Sep-10 6:21am View
Your link is not working Abhishek.
Kunal Chowdhury «IN» 13-Sep-10 6:19am View
Added both the two posts as comment to the respective answers.
Kunal Chowdhury «IN» 13-Sep-10 6:18am View
Always reply as Comment, if you have any queries or comments.
Kunal Chowdhury «IN» 13-Sep-10 6:18am View
Posted by shreyasdsi:
I have already tested virtual notice board. It's working! Should i go for some other topic . I don wan to do the project just for sake of passing . Any help regarding topics will be appreciated!
Kunal Chowdhury «IN» 13-Sep-10 6:17am View
Posted by shreyasdsi:
I hav thought abt virtual notice board with SNS tools and email support . Wats ur opinion?
Kunal Chowdhury «IN» 13-Sep-10 5:25am View
Posted by:Carol Harmond
Thanks, works wonderfully, easy when you know how. I think this is going to be a steep learning curve. ;) :rose: :thumbsup:
Kunal Chowdhury «IN» 13-Sep-10 5:24am View
Use the comments section to give a Thanks.
Kunal Chowdhury «IN» 13-Sep-10 5:17am View
Reason for Delete: Already posted as Comment.
Kunal Chowdhury «IN» 13-Sep-10 5:17am View
Hi Amit, try to ask your queries as Comment and not as an Answer.
Kunal Chowdhury «IN» 13-Sep-10 5:05am View
ya you are second drop down in grid also have same option so i ust want to change them according to first drop down
Posted by: tejasvee358
Kunal Chowdhury «IN» 13-Sep-10 5:04am View
Not an answer. You should write it as Comment to the post.
Kunal Chowdhury «IN» 13-Sep-10 5:02am View
Reason for Update: proper formatting of the code.
Kunal Chowdhury «IN» 11-Sep-10 15:10pm View
What's it?
Kunal Chowdhury «IN» 9-Sep-10 8:17am View
TextBox doesn't have TextDecorations property. He is asking for underlining the string inside the TextBox. Don't know how this solved his problem... ;)
Kunal Chowdhury «IN» 9-Sep-10 8:07am View
Why did you ask the question multiple times? One time is fine to get answered. Removing the 2nd line.
Kunal Chowdhury «IN» 9-Sep-10 8:04am View
Posted by amjad syed on 1 Feb '10:

I am not allowed to use textblock...... i can use richtextbox, but as per my knowledge there is control called Richtetxblock in Silverlight, if have any dll for this plsease forward me. please feel free to tell me the alternate solution.
Kunal Chowdhury «IN» 9-Sep-10 8:03am View
It's a comment and not an Answer.
Kunal Chowdhury «IN» 9-Sep-10 8:01am View
Posted by amjad syed on 30 Jan '10:

Hi Nick, Thanks for your answer. so any other alternate for this.
Kunal Chowdhury «IN» 9-Sep-10 8:00am View
Not an Answer. Post as Comment.
Kunal Chowdhury «IN» 9-Sep-10 2:00am View
Reason for my vote of 5
Small but Excellent...
Kunal Chowdhury «IN» 31-Aug-10 6:20am View
Reason for my vote of 1
What is the reason behind it to laugh here?
Kunal Chowdhury «IN» 31-Aug-10 6:19am View
Can you please format the code? Also, it will be Awesome if you add some snapshots. Your readers will be able to understand properly.
Kunal Chowdhury «IN» 31-Aug-10 6:17am View
Reason for my vote of 1
Not a Tips&Tricks.
Kunal Chowdhury «IN» 31-Aug-10 6:16am View
Don't spam it here.
Kunal Chowdhury «IN» 31-Aug-10 5:55am View
May be they don't want to upgrade their application... with the latest technologies... ;)
Kunal Chowdhury «IN» 31-Aug-10 5:52am View
Yes, he answered his question himself. But, maybe he was looking for some controls to implement such thing.
Kunal Chowdhury «IN» 31-Aug-10 5:47am View
Reason for update: removed the code formatting from the text.
Kunal Chowdhury «IN» 27-Aug-10 9:30am View
[moved from alternative]
Sandeep Ramani wrote:

Hi Hiren,
Good to see my name Big Grin in the code.
Nice Post to read Blush & good sql query to work with.
Kunal Chowdhury «IN» 27-Aug-10 8:22am View
Reason for my vote of 1
Not an alternate Tips&Trick. It's just a Feedback.
Kunal Chowdhury «IN» 27-Aug-10 8:12am View
Reason for my vote of 5
Nice one Hiren. I liked the way you searched for the duplicates. Have my 5. Keep it up.
Kunal Chowdhury «IN» 27-Aug-10 8:10am View
Don't put your comments as an alternate. Use the "Add Comment" or the "Article Forum" for your feedbacks and/or comments.
Kunal Chowdhury «IN» 21-Aug-10 9:17am View
Reason for my vote of 5
Correct Answer
Kunal Chowdhury «IN» 21-Aug-10 0:03am View
Reason for my vote of 1
Looks like a query. Use proper forum.
Kunal Chowdhury «IN» 21-Aug-10 0:02am View
I am confused!!! Is it a Tips&Tricks or Question? If it is a question, use the proper forum to get answered.
Kunal Chowdhury «IN» 20-Aug-10 10:26am View
Reason for my vote of 5
Looks pretty good now after formatting the post with table. Nice job.
Kunal Chowdhury «IN» 20-Aug-10 10:25am View
Thanks for formatting properly.
Kunal Chowdhury «IN» 20-Aug-10 8:05am View
Hi Hiren, Can you format it properly? Else, it will not be publish for public view.
Kunal Chowdhury «IN» 19-Aug-10 4:28am View
Reason for my vote of 4
Nice to see all the shortcuts in a single page. It will be great if you publish them in a Table format. In that case, it will be more visible to your readers. It's definitely a 5 vote Tips&Tricks. Please format it as per my suggestion & let me know. I will check it for any feedback once you are done.
Kunal Chowdhury «IN» 17-Aug-10 11:50am View
You are welcome. Use the forum for anytype of question.
Kunal Chowdhury «IN» 16-Aug-10 1:45am View
Reason for "Delete" : It is not at all an Answer.
Kunal Chowdhury «IN» 16-Aug-10 1:44am View
Minor Edit for spelling mistake.
Kunal Chowdhury «IN» 16-Aug-10 1:42am View
This is not at all an answer. You can put it as a Comment.
BTW, Who cares of spelling mistake to answer to a query? If you know, it's a spelling mistake "display" / "diplay" and you know the answer, why you are asking him to rephrase his query first?
Kunal Chowdhury «IN» 16-Aug-10 1:36am View
Reason for Edit: Proper code formatting & remove grammatical errors.
Kunal Chowdhury «IN» 15-Aug-10 11:38am View
We can't get what are the issues you are facing. Please give some more description so that someone can guide you to resolve your query.
Kunal Chowdhury «IN» 15-Aug-10 11:36am View
ReSharper is the best that I have ever used. It gives more tips on writing code. But the latest version takes a bit more memory. If you have good amount of RAM then you can go for Resharper though it's Paid Version.
Kunal Chowdhury «IN» 15-Aug-10 11:29am View
Modified for proper code readability.
Kunal Chowdhury «IN» 15-Aug-10 11:22am View
The subject line "about my project" will not give more idea & thus people may escape reading this. Use better sentence to rephrase your question. e.g. HOW TO CALCULATE DATA IN DATAFIELD USING ADODB? sounds good.
Kunal Chowdhury «IN» 15-Aug-10 11:19am View
Reason for Edit: Properly format the code
Kunal Chowdhury «IN» 15-Aug-10 0:35am View
Reason for Edit: Formatted the Code for better visibility and removing the Email Address.
Never mention email address if you hate Spammers.
Kunal Chowdhury «IN» 15-Aug-10 0:03am View
Reason for Edit: Properly format the code in the query for making it readable.
Kunal Chowdhury «IN» 14-Aug-10 23:41pm View
Reason for deleting one of your comment: It had only blank line break.
Kunal Chowdhury «IN» 14-Aug-10 0:48am View
Reason for my vote of 1
You should write it as a Comment and not as Alternate.
Kunal Chowdhury «IN» 12-Aug-10 11:23am View
Reason for my vote of 1
If the runtime is giving the easiest method for you, then why to write the same implementation?
Kunal Chowdhury «IN» 12-Aug-10 5:17am View
Can you explain something about each steps and what the commands are for?
Kunal Chowdhury «IN» 10-Aug-10 4:55am View
Hello Ravi, where is your QuarterOfDate() method? I think, it was helpful though it required some tuning in the code.
Kunal Chowdhury «IN» 8-Aug-10 13:25pm View
Reason for my vote of 1
Not a proper way to get the color from a string name. I will try to post an alternative solution for it.
Kunal Chowdhury «IN» 22-Jul-10 14:19pm View
Reason for my vote of 5
This has more clear answer.
Kunal Chowdhury «IN» 22-Jul-10 14:15pm View
Don't put email id anywhere to avoid spam.
Kunal Chowdhury «IN» 21-Jul-10 14:07pm View
Good one but it will fail if JavaScript is turned off.
Kunal Chowdhury «IN» 21-Jul-10 12:53pm View
Ravi, I think Luc here is right. The QuarterOfDate() should return 1,2,3,4 and not 4,1,2,3. Reason behind this is: we need to check the DateTime for English year only [MAX time and MAX of your readers should need it] and for that Jan, Feb, Mar should return 1 whereas Apr should return you 2. Please improve your Tip/Trick with proper code.
All the best.

And yes, there is nothing called "Negative Voting". We always want to share our knowledge here and also want to help others by suggesting them in various ways and Luc did the same thing. Please don't take it in negative way and keep sharing your knowledge here. We want to see more of your tips/articles here. Keep up the good work. :thumbsup:
Kunal Chowdhury «IN» 21-Jul-10 9:27am View
Reason for my vote of 5
Correct Solution
Kunal Chowdhury «IN» 19-Jul-10 8:35am View
Reason for my vote of 5
Very Helpful.
Kunal Chowdhury «IN» 19-Jul-10 8:28am View
Awesome. Nice to see the code. It will be very useful for the developers.
Kunal Chowdhury «IN» 18-Jul-10 14:00pm View
Any Version John? How can you develop Silverlight 4 applications in VS2008, if the IDE itself is not supporting that? :)
Kunal Chowdhury «IN» 18-Jul-10 13:43pm View
Can you clarify your problem?
Kunal Chowdhury «IN» 18-Jul-10 5:17am View
Reason for my vote of 5
Thanks for sharing the Code. Silverlight beginners will be very helpful.
Kunal Chowdhury «IN» 17-Jul-10 10:04am View
Super... :) But you can include one method which will return you the Quarter of the Year for a given date.
Kunal Chowdhury «IN» 17-Jul-10 10:03am View
Reason for my vote of 5
Awesome one. I liked it.
Kunal Chowdhury «IN» 15-Jul-10 13:35pm View
Reason for my vote of 5
Nice Tips&Tricks shared here and hope it will be useful for all the developers in ASP.Net development. Have my 5. Keep it up.
Kunal Chowdhury «IN» 14-Jul-10 7:32am View
Reason for my vote of 1
It is better to call a Static method whenever require, instead of creating an instance of FileInfo.
Kunal Chowdhury «IN» 13-Jul-10 4:44am View
Reason for my vote of 1
I don't think it as a good solution for trimming text in HTML. Reason behind this is: if you open that in FireFox, the ellipsis are not visible. Only the text is cropping. In case of IE, the ellipsis coming fine but when you select the text, the ellipsis hiding behind the actual text. I am using IE8 and FF3. Have a try...
Kunal Chowdhury «IN» 10-Jul-10 14:27pm View
Reason for my vote of 1
It's not a Tips & Tricks
Kunal Chowdhury «IN» 7-Jul-10 10:51am View
Reason for my vote of 1
It is not a Question but some comments. Please elaborate your problem, so that, we can understand it and reply back to you with the possible solution. We don't know telepathy to understand your problem.

Please consider it to give us some points. Then we can help you.
Kunal Chowdhury «IN» 7-Jul-10 9:04am View
Reason for my vote of 5
This is only the MaskEdit control which will solve the problem asked by Pawan.
Kunal Chowdhury «IN» 22-May-10 7:03am View
Very funny!!! No punctuation at all... Difficult to understand.
Kunal Chowdhury «IN» 22-May-10 6:55am View
You need to write a good algorithm in such case.
Kunal Chowdhury «IN» 7-May-10 0:33am View
This is a Pure Copy Paste from my Tips: