15,746,302 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by BoxyBrown (Top 32 by date)
BoxyBrown
26-Jun-12 11:48am
View
I think better to use DateTime from = DateTime.Parse(txt_from_date.Text);
or get CultureInfo from client.
BoxyBrown
26-Jun-12 11:36am
View
What values are in txt_from_date.Text and txt_to_date.Text?
BoxyBrown
25-Jun-12 11:49am
View
s = string.Format("{0}{1}", s.Substring(s.Length - lengthOfMovingPart),s.Substring(0, s.Length - lengthOfMovingPart));
this is correct
BoxyBrown
25-Jun-12 11:45am
View
I think i've mistake with order of params. I'll check it now. Sorry
BoxyBrown
19-Aug-11 9:27am
View
ConsoleKeyInfo key = Console.ReadKey(true);
int input = Convert.ToInt32(key.KeyChar.ToString());
switch(input)
{
...
BoxyBrown
19-Aug-11 9:16am
View
Sorry missed line.
ConsoleKeyInfo key = Console.ReadKey(true);
BoxyBrown
19-Aug-11 9:14am
View
convert your input key symbol to int.
'1' -> 1
BoxyBrown
19-Aug-11 9:04am
View
if i remove ToString(), i've got your situation.
BoxyBrown
19-Aug-11 9:03am
View
int input = Convert.ToInt32(key.KeyChar.ToString());
switch (input)
{
case 1:
Console.WriteLine("1");
break;
case 2:
Console.WriteLine("2");
break;
case 3:
Console.WriteLine("3");
break;
default:
Console.WriteLine("default");
break;
}
try this one. But I better work around Convert.ToInt32(key.KeyChar.ToString());
BoxyBrown
19-Aug-11 8:54am
View
I think error is in other logic.
BoxyBrown
19-Aug-11 8:45am
View
and what you mean by "but it goes to the unexpected way"?
BoxyBrown
18-Aug-11 12:52pm
View
I know, but for my task such difference doesn't matter.
BoxyBrown
18-Aug-11 12:05pm
View
Anyway thank you. Now I have information to think about.
BoxyBrown
18-Aug-11 12:04pm
View
I want to count words in some text and get most frequency words from it. (to learn most frequency unknown words before reading knew book in foreign language) I thought to merge such words like peter and peters.
BoxyBrown
18-Aug-11 8:00am
View
I think it wouldn't work also because of locking file while using Image.FromFile(). You'll get error on delete.
BoxyBrown
18-Aug-11 5:52am
View
sorry for wrong solution.
BoxyBrown
17-Aug-11 8:34am
View
May be you should specify Table of DataSet? for ex. dgDtParameters.DataSource = dsobbtemp.Table[0].
BoxyBrown
16-Aug-11 4:00am
View
But if you write question and describe problem we can give you more exact answer.
BoxyBrown
15-Aug-11 8:16am
View
And may be it will be better to put your "form" tag in "div".
BoxyBrown
15-Aug-11 7:58am
View
There are some tags without closing. For ex. "<asp:ContentPlaceHolder ID ="cp1" runat="server">".
BoxyBrown
12-Aug-11 6:53am
View
<pre lang="cs">private void Button1_Click(object sender, EventArgs e)
{
if(isFirst)
{
listBox1.Items.Add("1");
listBox1.Items.Add("2");
isFirst = false;
}
else
{
listBox1.Items.Clear();
}
}</pre>
This work.
Can you post what code doesn't work?
BoxyBrown
12-Aug-11 6:09am
View
Try bind data or refresh after you clear control. But better to look at code.
BoxyBrown
12-Aug-11 4:57am
View
Where you publish site? on the same machine or another?
BoxyBrown
10-Aug-11 12:03pm
View
Deleted
Can you post how you read lines? You use StreamReader?
BoxyBrown
10-Aug-11 11:56am
View
Deleted
Can you post how you read lines? You use StreamReader?
BoxyBrown
10-Aug-11 11:55am
View
I think "private get" is bad thing anyway.
BoxyBrown
10-Aug-11 11:50am
View
How do you read lines? You use StreamReader?
BoxyBrown
10-Aug-11 11:02am
View
You mean that 11th line can also contain "class=myAnswer" and if you fail with 12th line (checking condition "calss=myReference") you should analyse 11th and 13th lines pair?
BoxyBrown
10-Aug-11 10:44am
View
what exactly you want to do? What you want to see in dropdownlist?
BoxyBrown
9-Aug-11 12:20pm
View
May be this help you http://www.codeproject.com/KB/install/Installation.aspx
BoxyBrown
9-Aug-11 11:05am
View
You compile first A than B?
BoxyBrown
9-Aug-11 10:34am
View
Deleted
You compile first A than B?
Show More