15,914,222 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 wonder-FOOL (Top 73 by date)
wonder-FOOL
24-Apr-15 3:58am
View
Ordering by color will change the line number order. I think I should somehow group by the duplicate row numbers and then order it or manupilate.
As a second information I wrote the detail part to make my question to be more understandable.
For example; Let's say: On the detail part line number 5; Detail data can be a and b. So ordering on the detail column will not make any sence.
But no matter what on the duplicate rows color code red always comes first then the color LightGreen.
Sorry for not being clear on the question. My basic need is;
- Line number is important it has to be grouped by color. (Saying it seems easy but I couldn't do it)
wonder-FOOL
18-Sep-14 2:18am
View
Thank you Sergey. I find Richard's answer more practical and less time consuming in my current schedule. But your answer also makes sense. I appreciate the help and your time spent on answering my question.
wonder-FOOL
18-Sep-14 2:16am
View
Thanks that is the most practical answer IMO.
wonder-FOOL
29-Aug-14 1:52am
View
If I manually change the web.config file will that work? Also how can I be sure that I made the correct changes?
wonder-FOOL
21-Aug-14 3:14am
View
Thank you thats what I just need
wonder-FOOL
21-Aug-14 2:29am
View
The unique id is combination of Company and EmployeeID. There might be same EmployeeID's but Company will make it distinct from one to another.
wonder-FOOL
21-Aug-14 2:28am
View
Thank you very much for your help but I am getting an grouping error on the query.
wonder-FOOL
17-Jul-14 5:06am
View
Hello Matt,
I really appreciate your help. Thank you very much for the descriptive solution you gave. It is the solution that I needed.
Also you are right about "Principal". I typed it wrong since English is not my native language.
Have a great day.
wonder-FOOL
28-Feb-14 6:35am
View
Yeah I have seen that solution earlier while searching for an answer but I couldn't figure out a solution thats why I asked it here.
wonder-FOOL
28-Feb-14 6:34am
View
Hi, Vedat, no I didn't do the deletion of the refeneces and readding them. But I have tried cleaning the project but it didnt help. Anyways Maciej's solution fixed it. Thank you for your time tho.
wonder-FOOL
28-Feb-14 6:32am
View
Hello Maciej thanks for your help that indeed solved my problem but can you tell me why or how? Because with NuGet I did install MySqlData, EF.. but it didn't solve my prolem. By installing this driver what it did? Also when I build and publish my project A to the production environment, do I have to install that MySQL connector to the production environment as well? Again your help is much appreciated.
wonder-FOOL
7-Nov-13 11:02am
View
Thank you.
wonder-FOOL
1-Nov-13 5:16am
View
Thank you.
wonder-FOOL
1-Nov-13 4:45am
View
I have just updated my question. I have already have a post-build event there. Does it allow me to put multiple lines of code? Or should I rewrite the existing one? Thank you very much for the answer.
wonder-FOOL
26-Sep-13 3:03am
View
Both tables are generated the same way but the rows which contains the data differs. So the headers match. So this elimates your concerns on the second paragraph. The link actually solves my problem but I am just curious if there is a better solution. Tho thank you very much for your answer, time and efforts.
wonder-FOOL
18-Sep-13 4:50am
View
Thank you for your valuable help.
wonder-FOOL
18-Sep-13 4:50am
View
Deleted
Thank you very much for your help. 5+ for the LINQ solution :)
wonder-FOOL
7-Aug-13 4:10am
View
Thank you
wonder-FOOL
25-Jun-13 3:04am
View
Thank you.
wonder-FOOL
6-May-13 2:38am
View
Thank you sir.
wonder-FOOL
18-Apr-13 4:44am
View
Just saw it. Thanks :) f I can 5+ you again I could but I have already did it :S
wonder-FOOL
18-Apr-13 4:39am
View
Discard my last question:
SELECT SUM(P.ITEMAMOUNT) AS AMOUNT, P.COMPANYID AS COMPANY, SUBSTR(P.ACCOUNTID, 1,5) AS ACCOUNT, (SELECT ACC.ACCOUNTDESC FROM ACCOUNTS ACC WHERE ACC.ACCOUNT = SUBSTR(P.ACCOUNT,1,5)) FROM PRODUCTS P INNER JOIN ACCOUNTS A ON P.COMPANY = A.COMPANY AND P.ACCOUNTID = A.ACCOUNTID WHERE P.ACCOUNTID LIKE '1%' GROUP BY P.COMPANY, SUBSTR(P.ACCOUNTID, 1,5), A.ACCOUNTDESC ORDER BY P.COMPANY, SUBSTR(P.ACCOUNTID, 1,5)
But if you have an more effictive one I would love you to share it. If not still your help is greatly appreciated :) Thanks.
wonder-FOOL
18-Apr-13 4:20am
View
HEre I call again :) If I want to AccountDesc field how should I update the sql query? Because when I changed the query to:
SELECT SUM(P.ITEMAMOUNT) AS AMOUNT, P.COMPANYID AS COMPANY, SUBSTR(P.ACCOUNTID, 1,5) AS ACCOUNT, A.ACCOUNTDESC
FROM PRODUCTS P INNER JOIN ACCOUNTS A ON P.COMPANY = A.COMPANY AND P.ACCOUNTID = A.ACCOUNTID
WHERE P.ACCOUNTID LIKE '1%'
GROUP BY P.COMPANY, SUBSTR(P.ACCOUNTID, 1,5), A.ACCOUNTDESC
ORDER BY P.COMPANY, SUBSTR(P.ACCOUNTID, 1,5)
I have returning results with the sameaccountid but different account description due to
last 3 digits. Like
100-10 DolarAcc (100-10-001), 100-10 EuroAcc (100-10-002)
But in the Accounts table I have a description for 100-10 as Account For ABC Company. I don't know if I am clear but if you can edit the query such that it will be awesome thank you very much for your help.
To be more clear in that Accounts table
100-10 stand for Accounts ABC Company
100-10-001 = Dolar Acc For ABC company
100-10-002 = Euro Acc For ABC company
so in the querys result breakdown can we generalize the accountdes column to Accounts ABC Company like we did on the Accounts column?
wonder-FOOL
18-Apr-13 3:17am
View
Hello Maciej thank you very much for your fast response.
wonder-FOOL
27-Mar-13 5:04am
View
Thank you that helped a lot and you are right about the overload.
wonder-FOOL
27-Mar-13 5:04am
View
Thank you very much. Now I have a better understanding.
wonder-FOOL
27-Mar-13 4:38am
View
Seems like I should use Except method but can you explain me how this method matches the EmployeeID's? Shouldn't I add something like .Select(x => x.EmployeeID) to it? Thank you very much for the answer btw.
wonder-FOOL
27-Mar-13 3:51am
View
Thanks.
wonder-FOOL
27-Mar-13 3:50am
View
THanks.
wonder-FOOL
22-Mar-13 12:01pm
View
please see my updates.
wonder-FOOL
22-Mar-13 5:45am
View
Thanks. A bit delayed but rewarded :)
wonder-FOOL
22-Jan-13 4:44am
View
Thanks but I have found it with a much simplier and optimized way. I have provided it as a solution.
wonder-FOOL
22-Jan-13 4:37am
View
Ok I have updated my question. I hope that clears it out.
wonder-FOOL
22-Jan-13 4:20am
View
Thank you for your answer but I have already knew the Except method but I couldnt find a way to remove the items between the list that I want the items to be removed and the items that is intersected.
wonder-FOOL
11-Jan-13 4:56am
View
Thank you!
wonder-FOOL
11-Jan-13 4:56am
View
Thank you!
wonder-FOOL
10-Jan-13 8:13am
View
I have added the columns that table has. I will be working on the same table so there is no need to join external tables.
wonder-FOOL
10-Jan-13 7:35am
View
Thanks.
wonder-FOOL
4-Nov-12 14:26pm
View
Sorry for my english. I will try to rectify it again. I have images stored in a database. I want these images to be displayed in my webpagein a time interval. I want to accomplish this by using javascript. I dont know how I should display them meaning even which control I should use to load the images and write a code in javascript which will change the images lets say in every 5 seconds. I dont know if this made it clear.
wonder-FOOL
25-Sep-12 20:47pm
View
Actually Sergey I am not asking which development platform I will be more comfortable with? Instead I am trying to find out if there is a platform which helps me develop an application one for all :) Because I am trying to shorten the development time, instead of developing platform specific applications. I don't know if that's makes sense.
wonder-FOOL
25-Sep-12 20:47pm
View
Deleted
Actually Sergey I am not asking which development platform I will be more comfortable with? Instead I am trying to find if there is a platform which helps me develop an application one for all :) Because I am trying to shorten the development time, instead of developing platform specific applications. I don't know if that's makes sense.
wonder-FOOL
14-Mar-12 22:34pm
View
in my where statement i might have 6 different filtering options not one as datetime you mentioned.
wonder-FOOL
14-Mar-12 15:58pm
View
thanks
wonder-FOOL
14-Mar-12 15:58pm
View
Thank you.
wonder-FOOL
14-Mar-12 15:57pm
View
You posted the same link with Uday later than 2 mins but I will give you the credit also :) Thanks for the link.
wonder-FOOL
9-Mar-12 17:43pm
View
Thank you.
wonder-FOOL
9-Mar-12 17:43pm
View
Thanks. AppendDataBoundItems="true" solved it for me.
wonder-FOOL
30-Jan-12 12:26pm
View
Hello Sergey, thank you very much for your answer I totally understand and accept your solution. Also I have updated the question can you check it again. I will appreciate it if you have any further suggestions? I have seen that SEVERE: Caught an exception: java.net.SocketException: Connection reset by peer: socket write error
For this particular exception: This usually happens when the connection was reset by the peer -- that is, when the client unexpectedly closed the socket. This happens when the user clicks "stop", or "reload", or "back",
or enters a new URL, or closes his Internet connection, while a resource is still being downloaded (before your server gets to close its socket). To be more specific,
• The browser started a request and the user pressed STOP.
• The browser started an request in one frame and JavaScript on another frame told it to go somewhere else (which has the same effect as a user pressing STOP).
• You have a meta refresh reload someplace that is firing so fast that the previous request hasn't had a chance to complete yet. The five second periodicity makes me pretty suspicious of this.
For precaution I am thinking setting the HTTP session timeout for my application to a shorter interval like 1-2 minutes to resolve this problem. It might be the session which takes up time cleaning up from the server.
wonder-FOOL
25-Jan-12 19:41pm
View
:) I know how to accept the answer. At first I have 5ed you because I thought some other people might answer it but seems like noone did it so i went ahead and marked it as an answer now.
wonder-FOOL
25-Jan-12 12:44pm
View
I have voted 5+ thank you very much for the detailed answer I really appreciate it and respect your solutions. Thanks.
wonder-FOOL
21-Jan-12 12:20pm
View
Hello Abey thank you very much for the answer. I have tried allowing disabling javascript popus, iframe and such stuff from tools -> options menu but I have no idea why I cannot able to view it. It is weird that some people can able to see it and none of my computers cant right now.
wonder-FOOL
21-Jan-12 12:20pm
View
Deleted
Hello Abey thank you very much for the answer. I have tried allowing disabling javascript popus, iframe and such stuff from tools -> options menu but I have no idea why I cannot able to view it. It is weird that some people can able to see it and none of my computers cant right now.
wonder-FOOL
13-Jan-12 19:35pm
View
with all my respect but your solution is useless. of course i am iterating after binding the gridview. there are other fields that i didnt show there just a bound field for example i can read its value but cant read the itemtemplate.. weird...
wonder-FOOL
3-Jan-12 11:57am
View
Thanks Dylan. what a carelessness of mine.. i hope 2012 wont continue like this :)
wonder-FOOL
3-Jan-12 11:35am
View
I have applied a.rmaStatus.Value = 0. The error message is similar but this time instead of nullable int it is replaced with just int. "Operator '||' cannot be applied to operands of type 'int' and 'int'".
wonder-FOOL
28-Dec-11 17:28pm
View
thanks John. I appreciate it.
wonder-FOOL
26-Dec-11 23:52pm
View
although it is answered later than the other 2 solutions your solution is correct i will also accept it. thanks
wonder-FOOL
26-Dec-11 23:50pm
View
Thank you for the answer and the wonderful links.
wonder-FOOL
26-Dec-11 23:49pm
View
Thank you for the answer.
wonder-FOOL
23-Dec-11 3:23am
View
Under your question you can see "Improve question" if you look a little more to its right there you will see a red cross, it delete the question. if you can not do it let me know and i will delete it for you.
wonder-FOOL
16-Dec-11 11:33am
View
Thank you. I have checked the link and tried it. I worked :) Also , the funny thing is, I have also asked the question on the link that you provided lol.
wonder-FOOL
16-Dec-11 11:17am
View
Sara thank you for your answer but still it didnt display the message box that I want :(
wonder-FOOL
15-Dec-11 22:57pm
View
Thank you for your answer but your 2 links doesnt address my issue and they are not helping me. In first one basically says that beware of the session expiration. Since I indicated in my question that I have retrieved the value and can see it this means that session havent expired yet. for your second link I have no idea how you come up with msgbox to not display ok button? i didnt ask such a thing like that :) and seems like the link is broken.
wonder-FOOL
8-Dec-11 12:22pm
View
It is not a homework. I was just reviewing a code and in the code there is a nullable int so I asked this question because of my curiousity. But your second paragraph explained me the basic idea about it. Thank you for your answer.
wonder-FOOL
8-Dec-11 12:20pm
View
I think the link is broken.
wonder-FOOL
28-Nov-11 13:56pm
View
No I havent received any exceptions. The code is inside a try-catch block. It is sending the email to the recipients but except the attachments. RMAConfig is a class that I have created. The value of RMAConfig.PdfPath's value is "./Data/Return Documentation/" i dont see any problem with that since I have used the same path to save the file. Do you think it might be something related to the permissions?
wonder-FOOL
18-Oct-11 11:14am
View
So I am assuming you are getting the null reference error in this line " imgProduct.ImageUrl = "/ShoppingCart/ProductPics.ashx?pid" + p.ProductID.ToString() + "&s" + Settings["product_picSize"].ToString();" if so make sure the values are correct and not "NULL" also check if the path exists otherwise there shouldnt be a problem.
wonder-FOOL
6-Oct-11 11:26am
View
Well, first of all thank you very much for your answer I really appreciate it. To be more clear, what I am trying to do, when clicked on this link button, i need to get the date value from that row and compare that value with today's date, and if it is more than X, I need to have a confirm box, if the answer of this confirm box is ok i need more process to be done.
wonder-FOOL
26-Sep-11 19:37pm
View
Thank you. Yeah string.Format() solved it.
wonder-FOOL
9-Sep-11 16:37pm
View
Thank you very much for your answer.
wonder-FOOL
19-Aug-11 13:18pm
View
Thank you I understand it later on with more research but what you have said is corrrect but seems likeit can be possible only in browser which allows the new File API. SO using the readAsDataURL function on the FileReader interface in FileAPI will solve this issue.
wonder-FOOL
18-Aug-11 12:23pm
View
Well the file is a custom created file and I am saving the file outside the virtual folder. Somewhere in C: drive. Not the ISS folder. If i understand your answer correct, you are saying that i can not open this file which is under c: and it should be under my ISS folder? If I am wrong or misunderstand it,can you please explain it in a different way? Thanks for your answer though.
wonder-FOOL
5-Aug-11 20:03pm
View
Deleted
Thanks :)
Show More