15,893,668 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 SujayC (Top 16 by date)
SujayC
2-Jul-16 1:11am
View
Why are you using Group by Clause in the query when there is no aggregation involved in the select statement? Use Group By clause only when you need to perform aggregation operation on columns other than the one in group by.
Try removing that group by clause in case you only need a flat list of all claims and client between the date range! or clear your requirement.
SujayC
16-Apr-16 7:23am
View
Are you using OpenXML or Microsoft.Office.Interop.Excel dll for generation of spreadsheet? Please share sample code that you have used.
SujayC
11-Sep-15 1:27am
View
sample code is added.
SujayC
8-Sep-15 2:19am
View
I respect "your Opinion".... I shall leave this issue open for other people who like to help learners learn, and not just satisfy their own personal interest. Thanks !!
SujayC
8-Sep-15 1:50am
View
Okay.... as I said, I am learning WPF so was wondering if there's a way using xaml only to achieve this behavior?
SujayC
8-Sep-15 1:33am
View
Sorry, I didn't understood what your meant by that.... nevertheless, this was something I came up while learning WPF so not a "requirement" to be precise...
SujayC
3-Aug-15 7:14am
View
There are way to get an integer value but I am not certain about their authenticity. As per my experience they have always failed to give me unique value. You can still give them a shot one example is like ABS(CHECKSUM(NEWID())) or SUBSTRING(CAST(ABS(CHECKSUM(NEWID())) AS VARCHAR),0,5) just to shorten the length of digits within the number.
SujayC
3-Aug-15 2:56am
View
What solutions have you tried so far?
please share your pseudo code block to understand you problem correctly.
SujayC
25-May-15 5:17am
View
Solution 2 worked for me...
SujayC
23-Apr-15 4:09am
View
Thanks for this solution. Just have a query, does the value of inParams["PackageLocation"] need to be file location at remote computer or it can be local path as well.... Basically i need to install one msi on remote machine but the size of MSI is quite large so I don't want to copy that file over to remote machine can this be achieved by passing local path in inParams["PackageLocation"] property?
SujayC
20-Jan-15 1:59am
View
share syntax for your button please, your question is not clear enough, just a hint make that button with type = "submit" see if that helps.
SujayC
13-Jan-15 11:05am
View
sorry if i wasn't clear in my previous comment what i meant was the following
function successHandler(data) {
var jsonObject = JSON.parse(data.body);
var dataArr = $.makeArray(jsonObject.d.results);
var resultArr = $.map(dataArr, function (item) {
return { 'label' : item.Title, 'value' : item.Url }
});
var str = '';
$.each(resultArr, function (key, value) {
str += (value.label + " " + value.value);
});
$("#result").text(str);
}
SujayC
13-Jan-15 5:25am
View
Although not exactly sure what you are looking for....You may use action attributes like HTTPGET and HTTPPOST to filter two actions with same name. One shall be called when its a GET request another one for POST request. With POST request you can save the data, and with GET request you can retrieve the data to same action method.
SujayC
13-Jan-15 5:15am
View
$("#result").text(value[key].label + " " + value[key].value);
try changing the above line of code to
var str = ''; //this statement should be out of each block
str += value.label + " " + value.value);
$("#result").text(str);
value in the each loop will itself be individual json object from the array. Further
Further, there seems to be some syntax/code formatting error in your updated snippet, hope you have corrected that as well.
SujayC
4-Jan-12 4:06am
View
can you provide some code snips or sample code to better understand the problem. I have similar pages in my project they are working fine !!
SujayC
20-Jun-11 3:25am
View
Thanks for the prompt response. As i mentioned above i tried using contentDocumnet and contentWindow both but they only work when page inside iframe belongs to same domain of the parnet page (that's what cross domain policy of browser says). So my requirement here is something like say for example, the iframe first defaults with "bing.com" then user search something inside that iframe, say like "jQuery", after getting the list of website links of other domain user clicks on one of them, now i would like to know which link user has currently clicked and would like to populate the text box with that url.... I completely agree that i need to do this with
onload
event of iframe, but i believe the same can be acheived with
$(document).ready(function(){ });
as well inside iframe. But i am unable to find a way to trace the url of currently loaded page as contentDocument.href is giving "Permission Denied" exception !!!
Show More