Click here to Skip to main content
14,932,457 members

Comments by Mohammad A Rahman (Top 200 by date)

Mohammad A Rahman 28-Jan-13 22:22pm View
   
With all respect, I would like to know, Would you mean, what happens during the compilation process? otherwise all get confused.
Mohammad A Rahman 28-Jan-13 22:21pm View
   
Sorry wrong place :( I was intented to write to the OP :)
Mohammad A Rahman 28-Jan-13 22:20pm View
   
Deleted
With all respect, I would like to know what happens during the compilation process? If you could please tell me. Thank you.
Mohammad A Rahman 19-Dec-12 9:33am View
   
Thank you :)
Mohammad A Rahman 9-Oct-12 20:08pm View
   
great :)
Mohammad A Rahman 9-Oct-12 19:28pm View
   
Good answer :)
Mohammad A Rahman 9-Oct-12 19:16pm View
   
good answer :)
Mohammad A Rahman 28-May-12 18:45pm View
   
Thank you :)
Mohammad A Rahman 26-May-12 21:37pm View
   
Reason for my vote of 5
Good one my 5!
Mohammad A Rahman 26-May-12 20:29pm View
   
Thank you Monjurul :)
Mohammad A Rahman 26-May-12 20:29pm View
   
Thank you Shahin :)
Mohammad A Rahman 25-May-12 4:41am View
   
Thank you.
Mohammad A Rahman 24-May-12 17:23pm View
   
Exactly as it is the Deferred Execution :)
Mohammad A Rahman 24-May-12 9:54am View
   
:)
Mohammad A Rahman 24-May-12 6:26am View
   
Thank you very much Mohamed :)
Mohammad A Rahman 24-May-12 3:32am View
   
Thank you very much VJ :)
Mohammad A Rahman 23-May-12 6:27am View
   
my 5!
Mohammad A Rahman 23-May-12 6:26am View
   
my 5!
Mohammad A Rahman 23-May-12 6:24am View
   
my 5!
Mohammad A Rahman 22-May-12 0:16am View
   
Thank you VJ. I kind of addicted with lambda and big fan of curry syntax.
Mohammad A Rahman 21-May-12 23:54pm View
   
Thanks for pointing that. I have updated my solution. In regards to the English, as question was asked in English and also does not mention explicitly about the language, I assumed it will just consider English as language(it is my best guess :)) to find out consonants.
Mohammad A Rahman 21-May-12 20:24pm View
   
Thank you, I hope you might like my article :)
Mohammad A Rahman 20-May-12 9:49am View
   
Thanks VJ :)
Mohammad A Rahman 16-May-12 11:43am View
   
Thanks Iosmac :)
Mohammad A Rahman 16-May-12 9:29am View
   
Good use of Except, my 5 :)
Mohammad A Rahman 16-May-12 9:28am View
   
Thanks VJ :)
Mohammad A Rahman 15-May-12 6:54am View
   
Thank you Andy :) You are most welcome to read my article :)
Mohammad A Rahman 15-May-12 3:05am View
   
Thank you very much Sandeep :) Though I have got 3 and 4 for this answer :)
Mohammad A Rahman 15-May-12 0:33am View
   
Good use of TryParse, my 5 :)
Mohammad A Rahman 14-May-12 23:52pm View
   
Just ignore them mate :) There is always someone :( I think your solution is pretty good, as you had my 5 :)
Mohammad A Rahman 14-May-12 22:01pm View
   
Thanks VJ :)
Mohammad A Rahman 14-May-12 21:56pm View
   
Good answer :)
Mohammad A Rahman 14-May-12 21:17pm View
   
Nice
Mohammad A Rahman 14-May-12 21:17pm View
   
To the point :)
101
Mohammad A Rahman 14-May-12 20:11pm View
   
Thank you SA :)
Mohammad A Rahman 14-May-12 20:03pm View
   
good answer :)
Mohammad A Rahman 14-May-12 19:29pm View
   
Good answer :)
Mohammad A Rahman 14-May-12 19:29pm View
   
Good answer :)
Mohammad A Rahman 14-May-12 18:01pm View
   
Thank you :)
Mohammad A Rahman 14-May-12 10:06am View
   
Exactly :)
Mohammad A Rahman 14-May-12 7:48am View
   
Thank you. It is good point. Please take my little appreciation 101:)
Mohammad A Rahman 14-May-12 3:12am View
   
Straight.
Mohammad A Rahman 14-May-12 3:09am View
   
Thank you Mehdi :) Actually in the first link there is in depth discussion about the Range which might help the OP :)
Mohammad A Rahman 14-May-12 2:57am View
   
5
Mohammad A Rahman 10-May-12 0:32am View
   
The first paragraph of your answer worth a appreciation :)
Mohammad A Rahman 9-May-12 2:42am View
   
Thank you Sandeep, Hopefully problem will be fixed if OP make changes as I mentioned :)
Mohammad A Rahman 9-May-12 2:41am View
   
See the update plz.
Mohammad A Rahman 9-May-12 2:02am View
   
I had quick test your code looks like problem in the System.IO.StringWriter stringWrite = new System.IO.StringWriter();. The problem you havn't pass any string or stringbuilder object as input or you havn't set the string for it. For quick fix try with this line System.IO.StringWriter stringWrite = new System.IO.StringWriter(dataToExport);

Hope it helps :)
Mohammad A Rahman 8-May-12 19:36pm View
   
Good Ref.
Mohammad A Rahman 8-May-12 19:34pm View
   
Thank you SA :)
Mohammad A Rahman 8-May-12 19:33pm View
   
Thank you Sandeep :)
Mohammad A Rahman 6-May-12 10:36am View
   
?
Mohammad A Rahman 6-May-12 8:19am View
   
Chill out bro.....We all here to share our knowledge. Thank you very much, I appreciate it :)
Mohammad A Rahman 6-May-12 8:11am View
   
Ok Shahin, so I have accepted that my answer was not a solution and it was just a explanation(comment). Now I have modified it to make it a solution or suggestion which is not a explanation(comment). I think I got the wrong place before as now I modified everything should be sweet :).
Thanks for the guidelines about the Commenting and posting the answer :)
Mohammad A Rahman 6-May-12 6:46am View
   
I didn't give the OP any solution because there wasn't any clear question, what I did I explain to OP, Op's own code. Come to your point, might be but that is a design issue :)

Thanks anyway.
Mohammad A Rahman 6-May-12 4:22am View
   
Thanks Uday.
Mohammad A Rahman 6-May-12 1:46am View
   
I just found an example with related stuff, please see http://codeasp.net/blogs/teisenhauer/microsoft-net/170/parse-meta-tags-in-c-sharp
Mohammad A Rahman 6-May-12 1:43am View
   
You might try http://www.programminghelp.com/web-development/asp-net/using-sitemap-and-masterpages-to-set-meta-tags-in-asp-net-and-c/
Mohammad A Rahman 6-May-12 0:49am View
   
Thank you VJ :)
Mohammad A Rahman 6-May-12 0:48am View
   
Zoltán, yes you are right but the question wasn't clear....
Mohammad A Rahman 6-May-12 0:46am View
   
What do you mean by Keyword or SEO? Show some example or your code..
Mohammad A Rahman 6-May-12 0:42am View
   
Deleted
What do you mean by Keyword or SEO? Show some example or your code..
Mohammad A Rahman 5-May-12 23:44pm View
   
Thank you VJ :)
Mohammad A Rahman 5-May-12 20:28pm View
   
Good use of Polymorphism! I would use your Alternative option 1 as that make perfect sense.
5.
Mohammad A Rahman 5-May-12 0:01am View
   
Thank you very much VJ :)
Mohammad A Rahman 4-May-12 6:24am View
   
Sorry dude, no idea what's going on? Please debug your self. Hope you solve the issue :)
Mohammad A Rahman 4-May-12 6:05am View
   
Happy to help dude but in this circumstance it bit hard Sorry about that. All the best :)

NOTE: Or you could perhaps show use Page_Init method contents and the method which contains the code you showed in here.
Mohammad A Rahman 4-May-12 5:56am View
   
As Solution 2 suggested, please debug the code. If you have difficulties to find where is the exception coming from try using try..catch block to identify the method where is the exception raised from :)
Mohammad A Rahman 4-May-12 5:47am View
   
From the code what I can see, GenerateTabControls method takes 6 parameters, out of 6 dynDiv has been instantiated where is gListDynamicControls coming from?
And please show us the details about the exception program throws....
Mohammad A Rahman 4-May-12 5:24am View
   
It is really hard to understand what is happening out there by looks of line of code and little description. Please describe bit more.
Mohammad A Rahman 4-May-12 5:08am View
   
Thank you :)
Mohammad A Rahman 3-May-12 5:03am View
   
Thank you Please see the update of the solution:)
Mohammad A Rahman 2-May-12 22:58pm View
   
Thanks VJ :)
Mohammad A Rahman 2-May-12 22:57pm View
   
Thanks VJ :)
Mohammad A Rahman 2-May-12 22:57pm View
   
Thanks VJ :)
Mohammad A Rahman 2-May-12 22:57pm View
   
Thank you very much VJ :)
Mohammad A Rahman 2-May-12 22:56pm View
   
Thanks VJ :)
Mohammad A Rahman 1-May-12 22:50pm View
   
5
Mohammad A Rahman 29-Apr-12 3:57am View
   
Not a problem :)
Mohammad A Rahman 28-Apr-12 21:17pm View
   
Second sentence of your first paragraph actually mean a lot and explain it.

My :)
Mohammad A Rahman 28-Apr-12 21:15pm View
   
Thanks for mentioning the Fluency. Yes, it is awesome that we can use method changing or the fluent interface :)
Well deserve 101 :)
Mohammad A Rahman 28-Apr-12 0:31am View
   
Thank you VJ :)
Mohammad A Rahman 28-Apr-12 0:03am View
   
Not a problem :)
Mohammad A Rahman 27-Apr-12 23:51pm View
   
you need to add System.Configuration dll as reference to you class library and you could use this following method to grab the Conncetionstring by passing the connection string name,
namespace Utilities
{
using System.Configuration;

public static class ConfigurationReader
{
#region Public Methods

///
/// Gets the key value from configuration file.
///

/// <param name="key">The key.</param>
/// <returns>
public static string GetKeyValue(string key)
{
return ConfigurationManager.AppSettings[key];
}

#endregion
}

}
Mohammad A Rahman 27-Apr-12 12:05pm View
   
Not a problem :)
Mohammad A Rahman 27-Apr-12 7:49am View
   
Thank you VJ.
Mohammad A Rahman 27-Apr-12 5:26am View
   
Thank you :)
Mohammad A Rahman 27-Apr-12 3:00am View
   
Thank you :)
Mohammad A Rahman 26-Apr-12 1:01am View
   
:)
Mohammad A Rahman 25-Apr-12 23:48pm View
   
Thank you VJ :)
Mohammad A Rahman 21-Apr-12 17:52pm View
   
Thank you :)
Mohammad A Rahman 20-Apr-12 17:55pm View
   
Thanks Nelek :)
Mohammad A Rahman 20-Apr-12 10:39am View
   
Thanks VJ :)
Mohammad A Rahman 20-Apr-12 0:06am View
   
Not a problem :)
Mohammad A Rahman 19-Apr-12 23:01pm View
   
For giving good suggestions to OP. Anyway, You can ignore it. I will delete the comments.
Mohammad A Rahman 19-Apr-12 22:57pm View
   
5!
Mohammad A Rahman 19-Apr-12 22:53pm View
   
Thanks :)
Mohammad A Rahman 19-Apr-12 22:49pm View
   
Plz see the updated one :)
Mohammad A Rahman 19-Apr-12 20:02pm View
   
Thank you very much VJ :)
Mohammad A Rahman 19-Apr-12 20:01pm View
   
Thank you very much VJ :)
Mohammad A Rahman 19-Apr-12 20:01pm View
   
Thank you very much VJ :)
Mohammad A Rahman 19-Apr-12 17:53pm View
   
Thanks VJ :)
Mohammad A Rahman 19-Apr-12 1:45am View
   
Not a problem :)
Mohammad A Rahman 18-Apr-12 23:11pm View
   
Deleted
See the update in Solution 1
Mohammad A Rahman 18-Apr-12 23:11pm View
   
Deleted
See the update on Solution 1.
Mohammad A Rahman 18-Apr-12 23:11pm View
   
See the update on Solution 1.
Mohammad A Rahman 18-Apr-12 22:24pm View
   
What do you mean by "Simple Proxy"? Proxy pattern Or Asp.Net Service Proxy or What?
Mohammad A Rahman 18-Apr-12 20:03pm View
   
Thank you VJ :)
Mohammad A Rahman 18-Apr-12 17:55pm View
   
not a problem :)
Mohammad A Rahman 18-Apr-12 9:01am View
   
Thanks Tony :)
Mohammad A Rahman 18-Apr-12 8:52am View
   
Thanks Vipin :)
Mohammad A Rahman 18-Apr-12 7:30am View
   
So? What is the question?
Mohammad A Rahman 17-Apr-12 23:32pm View
   
5!
Mohammad A Rahman 17-Apr-12 23:22pm View
   
Where would you want to upload files? Please elaborate the question so we can understand the requirement first. By looking the question it is impossible to answer :(
Mohammad A Rahman 17-Apr-12 6:28am View
   
Great
Mohammad A Rahman 17-Apr-12 6:26am View
   
Excellent!
Mohammad A Rahman 17-Apr-12 3:52am View
   
Try now with updated code :)
Mohammad A Rahman 16-Apr-12 7:10am View
   
Thank you VJ :)
Mohammad A Rahman 16-Apr-12 7:00am View
   
Good Solutions :)
Mohammad A Rahman 16-Apr-12 6:02am View
   
Not a problem :)
Mohammad A Rahman 16-Apr-12 0:39am View
   
Excellent Comments. Thank you very much :)
Mohammad A Rahman 15-Apr-12 23:33pm View
   
Thanks VJ :)
Mohammad A Rahman 15-Apr-12 23:06pm View
   
Good Solution :)
Mohammad A Rahman 29-Mar-12 20:14pm View
   
Thanks for your patience, SAKryukov :)
Mohammad A Rahman 17-Mar-12 23:32pm View
   
Good answer :)
Mohammad A Rahman 17-Mar-12 23:28pm View
   
Good answer.
Mohammad A Rahman 17-Mar-12 23:27pm View
   
Exactly to the point :)
Mohammad A Rahman 4-Mar-12 18:39pm View
   
To the point :)
Mohammad A Rahman 2-Mar-12 19:38pm View
   
To the point :)
Mohammad A Rahman 1-Mar-12 3:13am View
   
Cover everything.
Mohammad A Rahman 25-Feb-12 4:31am View
   
Nice Explanation :)
Mohammad A Rahman 23-Feb-12 21:36pm View
   
Nice :)
Mohammad A Rahman 23-Feb-12 21:35pm View
   
Thank you, for the input. I do understand. But....:)
Mohammad A Rahman 23-Feb-12 20:43pm View
   
Good answer.
Mohammad A Rahman 23-Feb-12 16:44pm View
   
Good Answer.
Mohammad A Rahman 22-Feb-12 2:27am View
   
Is both assembly written using C# or {Com, C#} or { C++, C# }?
Mohammad A Rahman 21-Feb-12 22:51pm View
   
Please explain bit more.
Mohammad A Rahman 21-Feb-12 19:29pm View
   
Good advice.
Mohammad A Rahman 21-Feb-12 16:39pm View
   
It should cover :)
Mohammad A Rahman 21-Feb-12 16:31pm View
   
Good answer :)
Mohammad A Rahman 21-Feb-12 6:22am View
   
Exact point :)
Mohammad A Rahman 21-Feb-12 6:07am View
   
Nice One :)
Mohammad A Rahman 20-Feb-12 15:12pm View
   
great :)
Mohammad A Rahman 20-Feb-12 15:11pm View
   
great :)
Mohammad A Rahman 20-Feb-12 6:53am View
   
Good answer :)
Mohammad A Rahman 20-Feb-12 1:56am View
   
Thanks Varun :)
Mohammad A Rahman 20-Feb-12 1:56am View
   
Does renaming the MyCookie name solve your problem?
Mohammad A Rahman 20-Feb-12 1:48am View
   
Does it solve your problem ?
Mohammad A Rahman 20-Feb-12 1:47am View
   
Good sources as well :)
Mohammad A Rahman 20-Feb-12 0:18am View
   
I agree :)
Mohammad A Rahman 25-Nov-11 5:06am View
   
Thank you.
Mohammad A Rahman 25-Nov-11 1:31am View
   
thank you very much.
Mohammad A Rahman 20-Oct-11 16:28pm View
   
Deleted
Thanks :)
Mohammad A Rahman 18-Oct-11 4:26am View
   
Deleted
Thank you very much. :)
Mohammad A Rahman 12-Oct-11 17:54pm View
   
Deleted
Thank you very much Ravi :)
Mohammad A Rahman 12-Oct-11 1:15am View
   
Deleted
Thank you :)
Mohammad A Rahman 10-Oct-11 7:49am View
   
:)
Mohammad A Rahman 10-Oct-11 3:20am View
   
Thanks Supriya :)
Mohammad A Rahman 9-Oct-11 8:49am View
   
Deleted
Thanks for the suggestions. I created a library named AnLogger(http://www.codeproject.com/KB/trace/AnLogger.aspx), you may like it. :)
Mohammad A Rahman 6-Oct-11 19:21pm View
   
Tested the code and it is working. Have debug the code, try with try..catch to find out if anything is happening there. :)
Mohammad A Rahman 6-Oct-11 18:35pm View
   
Have you try to build the project for ANY CPU and then try the exe on different computers.
Mohammad A Rahman 5-Oct-11 5:25am View
   
Thank you very much Ali :)
Mohammad A Rahman 5-Oct-11 5:24am View
   
Thank you very much Bill :)
Mohammad A Rahman 4-Oct-11 18:54pm View
   
.Net Reflector will give all answer for you questions. Anyway, for the property you declare public int MyProperty { get; set; }, in the background .Net will create following private field
[CompilerGenerated]
private int <myproperty>k__BackingField;

and for the get and set of MyProperty will have following code to access compiler generated private field,

[CompilerGenerated]
public void set_MyProperty(int value)
{
this.<myproperty>k__BackingField = value;
}
[CompilerGenerated]
public int get_MyProperty()
{
return this.<myproperty>k__BackingField;
}

Hope it helps :)
Mohammad A Rahman 4-Oct-11 6:37am View
   
Deleted
Thanks.
Mohammad A Rahman 4-Oct-11 4:09am View
   
Deleted
Thanks Edward :)
Mohammad A Rahman 4-Oct-11 4:00am View
   
Deleted
Thanks Prabhu :)
Mohammad A Rahman 29-Sep-11 6:57am View
   
Deleted
Ram, yes that's why I left comment as "..formatting stuff has not been included.". Thanks :)
Mohammad A Rahman 28-Sep-11 5:11am View
   
Deleted
Thanks Nik66 :)
Mohammad A Rahman 27-Sep-11 0:54am View
   
Deleted
Thanks Mukund :)
Mohammad A Rahman 26-Sep-11 17:15pm View
   
Deleted
Good suggestion. This tips is just an another option to do the job :)
Mohammad A Rahman 23-Sep-11 8:13am View
   
Deleted
Thanks mate, good stuff :)
Mohammad A Rahman 22-Sep-11 5:09am View
   
Deleted
And also I just suggested an alternative, thats all :)
Mohammad A Rahman 22-Sep-11 5:09am View
   
Deleted
Thanks, in here I found something about ToList() http://stackoverflow.com/questions/2774099/tolist-does-it-create-a-new-list
Mohammad A Rahman 20-Sep-11 1:59am View
   
Thanks Prerak :)
Mohammad A Rahman 19-Sep-11 22:15pm View
   
:)
Mohammad A Rahman 17-Sep-11 12:58pm View
   
:)
Mohammad A Rahman 17-Sep-11 7:49am View
   
:)
Mohammad A Rahman 14-Sep-11 2:38am View
   
Thank you :)
Mohammad A Rahman 13-Sep-11 0:47am View
   
Simple, 5 :)
Mohammad A Rahman 7-Sep-11 7:21am View
   
:)
Mohammad A Rahman 6-Sep-11 7:37am View
   
Thank you :)
Mohammad A Rahman 6-Sep-11 7:00am View
   
:( You are absolutely right. Result of long day at work. I updated as you suggested. Thank you.
Mohammad A Rahman 22-Aug-11 4:50am View
   
Deleted
Reason for my vote of 4
Interesting :)
Mohammad A Rahman 22-Aug-11 4:49am View
   
Deleted
Interesting! :)
Mohammad A Rahman 19-Aug-11 20:45pm View
   
It is sad people vote 1 and doesn't give proper technical explanation why I am wrong or why they vote 1.
Mohammad A Rahman 18-Aug-11 9:34am View
   
answer was based on the request, in the question it was mentioned Substring. Anyway, I do agree about the GetFileName(), as framework does good job with that specially, CheckInvalidPathChars...return path.Substring(num2 + 1, (length - num2) - 1);....and so on. :)
Mohammad A Rahman 18-Aug-11 5:01am View
   
Nice link 5 :)
Mohammad A Rahman 18-Aug-11 4:58am View
   
Good answer 5 :)
Mohammad A Rahman 18-Aug-11 4:10am View
   
Thanks Dalek :)
Mohammad A Rahman 18-Aug-11 0:06am View
   
I agree, you are just too quick , 5 :)
Mohammad A Rahman 17-Aug-11 19:34pm View
   
Thanks Espen :)
Mohammad A Rahman 11-Aug-11 7:31am View
   
:)
Mohammad A Rahman 10-Aug-11 22:29pm View
   
great it works. U need to play with code to resolve the other problem. :)
Mohammad A Rahman 10-Aug-11 22:13pm View
   
Copy the Intersect method and put somewhere in your class and call the method and this method will return a string which you can use for example, MessageBox.Show(Intersect ());

Just be aware I wrote a console app to show you, where as you are using a windows app. So just use Intersect method.
Mohammad A Rahman 10-Aug-11 22:06pm View
   
No You dont, the type for item will infer by compiler on compile time. Just run the code you will get output.:)
Mohammad A Rahman 10-Aug-11 22:01pm View
   
Could you please explain bit more. :)
Mohammad A Rahman 10-Aug-11 17:18pm View
   
Thanks Bob :)
Mohammad A Rahman 9-Aug-11 17:17pm View
   
:)
Mohammad A Rahman 8-Aug-11 3:24am View
   
Thanks Dalek :)