15,888,008 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 C++ questions
View Javascript questions
View Visual Basic questions
View Python 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 berrymaria (Top 137 by date)
berrymaria
9-Jul-23 20:35pm
View
hahah yes he didn't read carefully. lol
berrymaria
12-Dec-18 22:06pm
View
Ohh i see, if that's the case.. then i'll rest my case.. thanks for your reply..
berrymaria
12-Dec-18 0:49am
View
Yes Sir, correct. I have to right click then click Refresh button in the explorer..
berrymaria
6-Dec-18 22:24pm
View
can you give me example blogs or link..
berrymaria
4-Sep-18 3:18am
View
Hmmm how about the viewing to what column has been updated?
berrymaria
31-Aug-18 20:20pm
View
Hi Santosh, it will be a problem if I'll use the create_dt in where clause, since in audit logs, it can may be multiple, not just the given (2 records only). I also need to display on what column has changed. Thank you.
berrymaria
31-Aug-18 6:50am
View
Yes, I used triggers.. that is why it is from same table..
berrymaria
31-Aug-18 5:51am
View
Maybe you can ask the System-Owner what's the credentials then..
berrymaria
2-Feb-17 21:21pm
View
Hi Sir. Thank you for your answer. I'm doing the backup in the actual server Sir, after saving it in the drive in the actual server I cannot see it when I open the location to where I save it. I research it in google and it says about permission issues. I tried their solution but it seems nothing works for me. :(
berrymaria
1-Aug-16 2:47am
View
I tried this Sir, as your advise..
label1.BeginInvoke(
new Action(() =>
{
for (int i = 1; i <= 1000; i++)
{
this.label1.Text += string.Format("{0}. This is a test.\n", i);
}
}
));
Thread.Sleep(10000);
Yes no error anymore. but my Progress Bar will freeze.. instead of displaying Marquee, while looping.. Please help.
berrymaria
1-Aug-16 2:47am
View
Deleted
I tried this Sir, as your advise..
label1.BeginInvoke(
new Action(() =>
{
for (int i = 1; i <= 1000; i++)
{
this.label1.Text += string.Format("{0}. This is a test.\n", i);
}
}
));
Thread.Sleep(10000);
Yes no error anymore. but my Progress Bar will freeze.. instead of displaying Marquee, while looping.. Please help.
berrymaria
1-Aug-16 2:07am
View
I have encountered a new error Sir..
berrymaria
1-Aug-16 2:06am
View
Yes Sir, i did not update the value of the progress bar because I just want to use the Marquee Style..
berrymaria
1-Aug-16 1:39am
View
Hi Sir Garth, I already updated my code.. Please help..
berrymaria
1-Mar-16 20:21pm
View
Hi Sir, I tried this..
Works in VS 2005/2012.. (I set the Encoding in VS2005 to Unicode - CodePage 1200)
public const string バー・ = "0";
Errors in VS2015:
public const string バー・ = "0";
Error CS1056 Unexpected character '・'
berrymaria
1-Mar-16 20:19pm
View
Hi Sir, I tried this..
Works in VS 2005/2012.. (I set the Encoding in VS2005 to Unicode - CodePage 1200)
public const string バー・ = "0";
Errors in VS2015:
public const string バー・ = "0";
berrymaria
1-Mar-16 4:30am
View
Hi Sir, this is the example.. Please advise? This line runs in VS 2013..
https://dl.dropboxusercontent.com/u/28759525/middle%20dot.png
but doesn't in VS2015/2012 ..
public const string バー·ー = "0"; error due to ·
public const string バーー = "0"; no error
berrymaria
1-Mar-16 4:26am
View
Hi Sir, public const string バー·ー = "0";
public const string バーー = "0"; has no error, but if there is · error now occurs...
berrymaria
1-Mar-16 3:53am
View
Hi Sir, this is the example.. Please advise? This line runs in VS 2013..
https://dl.dropboxusercontent.com/u/28759525/middle%20dot.png
but doesn't in VS2015/2015 ..
berrymaria
1-Mar-16 3:53am
View
Hi Sir, this is the example.. Please advise? This line runs in VS 2013..
https://dl.dropboxusercontent.com/u/28759525/middle%20dot.png
but doesn't in VS2015/2015 ..
berrymaria
1-Mar-16 3:51am
View
Deleted
Hi Sir, this is the example.. Please advise? This line runs in VS 2013..
https://dl.dropboxusercontent.com/u/28759525/middle%20dot.png
but doesn't in VS2015/2015 ..
berrymaria
29-Feb-16 19:40pm
View
We have an old code and it has a katakana dot, when compiled to Visual Studio 2015, it has an error. Please what to do?
berrymaria
17-Nov-14 0:44am
View
i agree to this...
berrymaria
19-Oct-14 23:14pm
View
glad to help you :)
berrymaria
29-Mar-14 2:45am
View
Optimize its speed performance @Mehdi
berrymaria
3-Feb-14 2:47am
View
+5 !
berrymaria
8-Oct-13 2:16am
View
Yes, that's what I meant. See the tags above. It's C# Windows Forms. Not Web Forms.
berrymaria
7-Oct-13 21:32pm
View
This is not C# in Windows Forms.
berrymaria
7-Oct-13 21:32pm
View
This is not C# in Windows Forms.
berrymaria
4-Oct-13 22:44pm
View
+5!
berrymaria
4-Oct-13 3:38am
View
Hi Ayesha, maybe you could use the DocumentInfo.DocID or the dbo.Department.DepID or any ID that you can link to your ApproveType Table.
Note: You need to link the ApproveType Table so that ApproveType column is visible in your query.
berrymaria
4-Oct-13 3:23am
View
So far as I read your code, the reason why you got the error "A local variable named 'X' is already defined in this scope" is because you initialize int []X twice. so with int[]Y
berrymaria
4-Oct-13 2:45am
View
Umm, what do you mean? Could you please explain it more? What value would you like to get?
berrymaria
23-Aug-13 5:29am
View
Yes that can be too :) Thanks.
Already updated it.
berrymaria
23-Aug-13 5:14am
View
Hi, can you please improve your question? Make it more understandable.
berrymaria
23-Aug-13 5:06am
View
Deleted
Using VS C#? or VS C++?
berrymaria
13-Aug-13 1:18am
View
WOW. Nice :)
berrymaria
12-Aug-13 23:36pm
View
Deleted
WOW! It really solved. I wonder how will it be using C#?
berrymaria
31-Jul-13 20:01pm
View
Please accept it as an answer. :)
berrymaria
31-Jul-13 4:16am
View
Updated :)
berrymaria
31-Jul-13 2:56am
View
http://www.codeproject.com/Articles/90218/Changing-Keyboard-Layout
berrymaria
30-Jul-13 20:20pm
View
I agree with you.
berrymaria
30-Jul-13 1:19am
View
Deleted
thank you
berrymaria
29-Jul-13 21:46pm
View
I agree.
berrymaria
29-Jul-13 21:34pm
View
Ahh, okay. I didn't get any notifications. You didn't reply on my comment. See my answer below. It might help you. :)
berrymaria
29-Jul-13 20:26pm
View
I agree.
berrymaria
29-Jul-13 20:20pm
View
Do you mean Reading XML Data into a DataTable?
berrymaria
29-Jul-13 6:04am
View
See below.
berrymaria
29-Jul-13 6:03am
View
Done anything?
berrymaria
29-Jul-13 4:20am
View
Can you show some code? Or where are you stuck.
berrymaria
29-Jul-13 1:08am
View
Deleted
Hi, May I know on how you did it? I got this problem too.
berrymaria
29-Jul-13 1:08am
View
Deleted
Hi, May I know on how you did it? I got this problem too.
berrymaria
28-Jul-13 23:45pm
View
thank you :)
berrymaria
28-Jul-13 23:17pm
View
Sorry but your answer doesn't help me.
berrymaria
28-Jul-13 21:42pm
View
Deleted
hi, i got the same problem, will you please help me on how did you do it? Can you please post an example query of it? Thanks.
berrymaria
26-Jul-13 5:00am
View
Form1 contains the datagridview control, so with the datatable, Pass the DataTable to Form2.
berrymaria
26-Jul-13 4:59am
View
A better way would be for Form1 to pass the DataTable to Form2 when it creates it.
berrymaria
26-Jul-13 4:53am
View
thank you :)
berrymaria
26-Jul-13 4:34am
View
Please accept my answer :)
berrymaria
26-Jul-13 4:15am
View
Sorry, but I don't get what you mean.
berrymaria
26-Jul-13 4:11am
View
I agree!
berrymaria
26-Jul-13 3:41am
View
thank you! :)
berrymaria
26-Jul-13 3:41am
View
thank you! :)
berrymaria
26-Jul-13 3:41am
View
thank you! :)
berrymaria
26-Jul-13 3:39am
View
thank you! :)
berrymaria
26-Jul-13 2:15am
View
you're welcome! :)
berrymaria
25-Jul-13 23:29pm
View
Not sure if that's the exact query OP wants. But hey! You did output it!
Well done! My +5! :)
berrymaria
25-Jul-13 23:24pm
View
Post only once. Removed the other.
Besides, your query provided doesn't answer the OP.
berrymaria
25-Jul-13 2:13am
View
Above query shown is just an example. And I ask since I don't know how will I do it. Is my question not clear enough?
berrymaria
23-Jul-13 1:22am
View
Deleted
What's the error?
berrymaria
21-Jul-13 20:08pm
View
You're welcome! :)
berrymaria
19-Jul-13 5:42am
View
And you can set on how do you like it to be viewed. You can use DevExpress tool for that.
berrymaria
19-Jul-13 5:41am
View
Deleted
And you can set on how do you like it to be viewed. You can use DevExpress tool for that.
berrymaria
19-Jul-13 5:36am
View
That is why there is Improve Question.
When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
berrymaria
19-Jul-13 5:31am
View
I think it now depends on your source that is why it looks like that.
berrymaria
19-Jul-13 5:28am
View
You're welcome :) and Thank you too! :)
berrymaria
19-Jul-13 5:12am
View
Oh! I just thought you need to assign and cast ComplaintID to bigInt, but then it was the CompntID to be Varchar. Can you accept my answer? :)
berrymaria
19-Jul-13 4:06am
View
Oh! :( I don't find any wrong with my query. Since I really tested it in the first place. But I added ORDER BY clause though. Thanks for the vote anyways:)
berrymaria
19-Jul-13 3:50am
View
Oh, I thought you're the one asking the question. But yes. I used two tables.
Isn't clear though?
berrymaria
19-Jul-13 3:49am
View
Yes, there are two tables. I'm using Table_1 and Table_2.
Have you tried executing my query?
berrymaria
19-Jul-13 3:49am
View
Deleted
Yes, there are two tables. I'm using Table_1 and Table_2.
Have you tried executing my query?
berrymaria
18-Jul-13 1:07am
View
thank you :)
berrymaria
17-Jul-13 20:43pm
View
What is the error?
berrymaria
17-Jul-13 3:29am
View
cannot link in what?
berrymaria
17-Jul-13 2:34am
View
great :)
berrymaria
16-Jul-13 22:15pm
View
What exactly command you'll gonna use?
berrymaria
16-Jul-13 4:42am
View
what is the value of you txtInceptionDate.Text ?
berrymaria
16-Jul-13 4:25am
View
Deleted
I think you should store it on a variable with a data type of integer.
Like this:
int a = 2;
int b = 1;
if (a > b)
{
return true;
}
berrymaria
16-Jul-13 2:17am
View
No one will answer to you when you're asking like that on this site.
berrymaria
16-Jul-13 2:09am
View
HAHAHAHA. My +5! :D
berrymaria
16-Jul-13 2:08am
View
thanks! :]
berrymaria
16-Jul-13 2:06am
View
thank you! :))
berrymaria
16-Jul-13 1:57am
View
Does it work?
berrymaria
16-Jul-13 1:56am
View
HAHAHAH :D
berrymaria
16-Jul-13 1:52am
View
Try to listen to your instructor. Or you can ask your instructor to answer it for you.
berrymaria
15-Jul-13 23:02pm
View
gee thanks :D haven't thought of that :]
berrymaria
15-Jul-13 3:56am
View
Have you tried this? Example:
dataTable.Columns["Marks"].ColumnName = "SubjectMarks";
berrymaria
15-Jul-13 3:53am
View
comboBox1 and comboBox2 contains the name of the columns in the Classify2? What is your problem with that? Why do you need to rename your database column names?
berrymaria
15-Jul-13 3:50am
View
Deleted
I don't understand why there is comboBox1 and comboBox2. What is that for?
berrymaria
15-Jul-13 2:29am
View
:) great!
berrymaria
15-Jul-13 2:26am
View
Why there is single quote in your query?
Try to use this.
da = new SqlDataAdapter("select " + a + "," + a1 + " from probablitystate1 ", cn.con);
berrymaria
15-Jul-13 2:26am
View
Deleted
Why there is single quote in your query?
Try to use this.
da = new SqlDataAdapter("select " + a + "," + a1 + " from probablitystate1 ", cn.con);
berrymaria
15-Jul-13 2:18am
View
Is the table source of the combox1 and combobox2 is probablitystate1 ?
berrymaria
15-Jul-13 1:34am
View
The problem is your connection string. Please check again your connection string.
berrymaria
14-Jul-13 22:01pm
View
Deleted
There is no shortcut keys on it. Only Tools->Options->Text Editor.
berrymaria
14-Jul-13 22:01pm
View
Deleted
There is no shortcut keys on it. Only Tools->Options->Text Editor.
berrymaria
14-Jul-13 20:27pm
View
your welcome :)
berrymaria
13-Jul-13 3:08am
View
don't include as source(empid,empname)
berrymaria
13-Jul-13 3:07am
View
SELECT empid, empname
FROM Employee
berrymaria
12-Jul-13 20:33pm
View
Could you try to change
cmd.Parameters.AddWithValue("@LoginUser", SqlDbType.NVarChar).Value = txtloginuser.Text
to
Dim Name As String = txtloginuser.Text
cmd.Parameters.Add("@UserName", SqlDbType.NVarChar).Value = Name;
berrymaria
12-Jul-13 20:17pm
View
Use the BarAndDockingController component to change the Ribbon skin. You can use the DefaultLookAndFeel component to change the skin used in the entire application.
berrymaria
12-Jul-13 20:10pm
View
see this thread: http://stackoverflow.com/questions/260441/how-to-create-relationships-in-mysql
berrymaria
12-Jul-13 20:10pm
View
Deleted
see this thread: http://stackoverflow.com/questions/260441/how-to-create-relationships-in-mysql
berrymaria
12-Jul-13 5:24am
View
Try to see this link:
http://stackoverflow.com/questions/4645704/c-sharp-display-images-randomly-and-one-after-another
berrymaria
12-Jul-13 4:57am
View
Remove the inner join, then Select Distinct? Have you already check the table design? (There are might also data that made a difference to each other data, like the Datetime that's why you can't get it distinct.)
berrymaria
12-Jul-13 4:47am
View
Can you just remove your inner join? You're not using it in the select statement.
berrymaria
12-Jul-13 4:41am
View
Have you tried SELECT DISTINCT {...} FROM tableName LEFT JOIN ?
berrymaria
12-Jul-13 4:26am
View
Is your columnName a varchar? or what is the data type of it?
berrymaria
12-Jul-13 4:11am
View
SELECT CASE WHEN columnName IS NULL THEN '0' ELSE columnName END FROM tableName
berrymaria
12-Jul-13 4:06am
View
Maybe there's something wrong with your linking of rule1.fnlwgt and probability.fnlwgt, or there is still another field that you have to link for you to get the distinct data.
berrymaria
12-Jul-13 4:04am
View
Deleted
Maybe there's something wrong with your linking of rule1.fnlwgt and probability.fnlwgt, or there is still another requirement for you to get the distinct data.
berrymaria
12-Jul-13 3:49am
View
da = new SqlDataAdapter("SELECT DISTINCT rule1.Age, rule1.workclass, rule1.fnlwgt, rule1.education, rule1.maritalstatus FROM rule1 INNER JOIN probablity ON rule1.fnlwgt = probablity.fnlwgt", cn.con);
berrymaria
12-Jul-13 3:42am
View
you accepted my answer.. and then you undo it.. then you accepted it .. then undo.. then accepted.. then undo..
berrymaria
12-Jul-13 3:38am
View
Do you need a help on your query?
berrymaria
11-Jul-13 21:44pm
View
Check this thread
http://www.codeproject.com/Questions/283546/Reporting-Report-viewer-VB-net
berrymaria
11-Jul-13 2:23am
View
See this link:
http://httpapplication.blogspot.com/2010/07/oledbconnection-string-for-excel-csv.html
Tab Delimited
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=FilePathWithoutFileName;Extended Properties='text;HDR=YES;FMT=TabDelimited'
berrymaria
11-Jul-13 2:23am
View
Deleted
See this link:
http://httpapplication.blogspot.com/2010/07/oledbconnection-string-for-excel-csv.html
Tab Delimited
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=FilePathWithoutFileName;Extended Properties='text;HDR=YES;FMT=TabDelimited'
berrymaria
10-Jul-13 23:14pm
View
Could you change your data source? I tried to replicate, and add mine FMT=TabDelimited but it doesn't return any error.
Below is my example, but then the extended properties is not 'text.
string strCon = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Employees.xlsx;Extended Properties=""Excel 12.0 XML;FMT=TabDelimited;HDR=Yes;IMEX=1""";
or try to put a semicolon before Extended Properties in your connection.
connect = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & Application.StartupPath & "\segdata.accdb" & _
";Extended Properties='text;FMT=TabDelimited;HDR=YES'"
berrymaria
10-Jul-13 23:13pm
View
Deleted
or try to put a semicolon before Extended Properties.
berrymaria
10-Jul-13 23:12pm
View
Deleted
Could you change your data source? I tried to replicate, and add mine FMT=TabDelimited but it doesn't return any error.
Below is my example, but then the extended properties is not 'text.
string strCon = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Employees.xlsx;Extended Properties=""Excel 12.0 XML;FMT=TabDelimited;HDR=Yes;IMEX=1""";
berrymaria
10-Jul-13 22:17pm
View
Couldn't you just add another column (empcode,empname) in your emp table which is in the another server?
berrymaria
10-Jul-13 4:40am
View
I don't understand what's your question. Can you please explain it further and the details of your problem.
berrymaria
10-Jul-13 3:38am
View
:D
berrymaria
9-Jul-13 5:39am
View
Hi, please see this examples:
http://stackoverflow.com/questions/14374348/refresh-button-refreshing-data-grid-view-after-inserting-deleting-updating
http://stackoverflow.com/questions/15526067/c-sharp-refresh-datagridview-when-updating-or-inserted-on-another-form
berrymaria
7-Jul-13 23:44pm
View
I'm using http connection to upload files to an ftp server. How will I do it using windows form? I mean, how can I upload large files across the server given that there are some limit?
berrymaria
3-Jul-13 2:28am
View
Yes, there is a limit.
berrymaria
3-Jul-13 1:46am
View
Let's say I'll be uploading an Excel file with the size of 40MB. As I upload it, there's a tendency that the connection will be lost.
Show More