15,917,329 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 josh-jw (Top 127 by date)
josh-jw
5-Apr-15 10:48am
View
given the answer
josh-jw
5-Apr-15 10:48am
View
answer is no.error not occuring at mebership provider class.
josh-jw
3-Apr-15 12:47pm
View
any solution for it?
josh-jw
2-Dec-14 5:10am
View
even not for upload, some other process also its happening.within 1 or 2 sec process staus showing as aborted.But i am able to upload same doc in chrome. In IE (all version) only issue
josh-jw
9-Jul-14 1:20am
View
how to convert string to json
josh-jw
1-Jul-14 4:28am
View
if higher level web.config is there, then how we can handle this task?
josh-jw
1-Jul-14 4:28am
View
if higher level web.config is there, then how we can handle this task?
josh-jw
1-Jul-14 2:36am
View
is it possible to handle in web config ?
josh-jw
20-Aug-13 8:40am
View
var self = this;
josh-jw
20-Aug-13 8:40am
View
var self = this;
josh-jw
20-Aug-13 7:41am
View
in table more than one record is there. each record have history . when i click on any item i am able to get the item and show the history. but clicked on second record ,not getting updated
hisoty means history of second record.when i put break point checked in my javascript file.i can see updated value in my observable array. but that updated data is not loading in html.i dnt know if there any issue in using $ data for binding
josh-jw
6-Aug-13 4:46am
View
In my case i am displaying item selected from the list. i am able to get the selected item. but dont know ,how to call a partial view and bind this data
josh-jw
6-Aug-13 3:44am
View
i am using knockout js.so how can i do this functionality?
josh-jw
5-Aug-13 4:20am
View
In that example i am getting id as undefined.
josh-jw
5-Aug-13 3:41am
View
do you know how to do it in knockout.js?
josh-jw
5-Aug-13 3:41am
View
do you know how to do it in knockout.js?
josh-jw
26-Jul-13 8:14am
View
thanks
josh-jw
26-Jul-13 8:13am
View
where i add that hide code?
josh-jw
26-Jul-13 8:10am
View
will you please update it in your solution
josh-jw
26-Jul-13 8:09am
View
Deleted
will you please update this in your result.
josh-jw
26-Jul-13 7:01am
View
is the div visibility is set to hidden for show every 30 sec?
josh-jw
26-Jul-13 6:43am
View
thanks for reply. how to fade the div, so that the message is will hide after some seconds.
josh-jw
9-Jul-13 1:34am
View
check this link
http://stackoverflow.com/questions/3395154/android-read-an-xml-file-with-http-get
josh-jw
3-Jul-13 6:27am
View
check this link:
http://stackoverflow.com/questions/1748977/making-textview-scrollable-in-android
josh-jw
30-Jun-13 23:57pm
View
if (cursor.moveToFirst()) {
do {
eno_db=c.getString(1);
} while (cursor.moveToNext());
}
josh-jw
29-Jun-13 0:58am
View
fi you did it in AsyncTask, then no extra code needed.check it with your application and let me know if any pbm.
josh-jw
29-Jun-13 0:36am
View
show ur fixed code
josh-jw
28-Jun-13 8:39am
View
if you did the upload functionality in AyncTask , then uploading will done in background and if any call come , it will not interrupt the uploading.
josh-jw
17-Jun-13 6:30am
View
in which event you want to change the background?
josh-jw
17-Jun-13 0:05am
View
welcome.
josh-jw
10-Jun-13 5:48am
View
I have the JsonArray with values. i want to display that values in gridview. for that how to set header and display proper values under header
josh-jw
5-Jun-13 4:22am
View
after that what to do in build.gradle file
josh-jw
5-Jun-13 2:07am
View
i am getting thsi message
We will provide a UI to configure project settings later. Until then, please manually edit your build.gradle file to configure source folders, libraries and dependencies.
NOTE THAT EDITS MADE IN THE FOLLOWING DIALOG DO NOT AFFECT THE GRADLE BUILD.
The dialog can be used for temporary adjustments to SDKs etc
josh-jw
4-Jun-13 23:32pm
View
thanks.
josh-jw
4-Jun-13 6:41am
View
in android studio , hoe we can add ksoap library? there is no option like properties of project for add jar file
josh-jw
4-Jun-13 6:25am
View
thnx. i will go through it.
josh-jw
4-Jun-13 6:11am
View
ur link is not working. plz give any useful links.
josh-jw
22-May-13 7:43am
View
you are correct . :)
josh-jw
15-May-13 8:11am
View
yes.
josh-jw
15-May-13 7:59am
View
yes.
josh-jw
15-May-13 7:50am
View
if my link helps you ,please mark it as answer.Thank you
josh-jw
15-May-13 7:34am
View
check this link
http://www.codeproject.com/Articles/42272/Populate-TreeView-Menu-with-XML
josh-jw
6-May-13 8:29am
View
check this one
http://stackoverflow.com/questions/11046572/make-javascript-alert-yes-no-instead-of-ok-cancel
josh-jw
28-Mar-13 3:46am
View
Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() =>
{
calcBill();
}), DispatcherPriority.Background);
josh-jw
27-Mar-13 8:55am
View
you have to create a full-text indexed on ur table
check this link
http://msdn.microsoft.com/en-us/library/ms187317%28v=sql.105%29.aspx
josh-jw
27-Mar-13 8:22am
View
You can use CONTAINS SELECT * FROM table_name WHERE CONTAINS(column_name , '"*value*"') check this link for more info http://msdn.microsoft.com/en-us/library/ms187787%28v=sql.105%29.aspx
For CONTAINS you need to create a FULL TEXT INDEX on the table.
josh-jw
27-Mar-13 8:18am
View
Deleted
You can use CONTAINS
SELECT *
FROM table_name
WHERE CONTAINS(column_name , '"*value*"')
check this link for more info
http://msdn.microsoft.com/en-us/library/ms187787%28v=sql.105%29.aspx
josh-jw
22-Mar-13 8:34am
View
otherwise go for dataGridView1_CellClick event
josh-jw
22-Mar-13 8:32am
View
check
if (e.RowIndex == -1)
then return ,otherwise do the functionality
josh-jw
22-Mar-13 8:26am
View
In which datagrid event you are calling this code block?
josh-jw
22-Mar-13 4:38am
View
ok . :)
josh-jw
22-Mar-13 4:36am
View
Deleted
ok.:)
josh-jw
22-Mar-13 4:31am
View
ok
josh-jw
22-Mar-13 4:15am
View
?
josh-jw
22-Mar-13 4:00am
View
table 1
1 minu
2 eric
3 levin
4 zod
table 2
1 we
josh-jw
22-Mar-13 3:59am
View
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[table1](
[id] [bigint] NULL,
[name] [nchar](10) NULL
) ON [PRIMARY]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[table2](
[id] [bigint] NULL,
[name] [nchar](10) NULL
) ON [PRIMARY]
josh-jw
22-Mar-13 3:23am
View
i have a doubt. the inner selected query with order by is working fine. when running outer query
SELECT T.ID,T.name
FROM (select TOP 100 PERCENT id,name from table_2 order by name) T
records are not in order.
josh-jw
22-Mar-13 3:14am
View
YES.i tested correct.thanks a lot gvprabu.
josh-jw
22-Mar-13 3:11am
View
How we can predict that only 100 records will be there?if it contains more than 100 , what we will do?
josh-jw
22-Mar-13 3:01am
View
How we can predict that only 100 records will be there?if it contains more than 100 , what we will do?
josh-jw
22-Mar-13 2:54am
View
ERROR SHOWING
"The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified"
josh-jw
22-Mar-13 2:12am
View
thanks for reply.but i would like a query without using a temperory table.is there any other way to do this functionality?
josh-jw
22-Mar-13 1:51am
View
no.
josh-jw
8-Mar-13 7:14am
View
Creates a new Dialog and DialogViewModel
Binds the DialogViewModel.EditableContentProperty to the ListBox's SelectedItem
Dialog.DataContext = DialogViewModel
Dialog.ShowDialog()
josh-jw
1-Mar-13 2:59am
View
Check that observable collection contain updated value.
josh-jw
22-Feb-13 1:05am
View
THANKS
josh-jw
22-Feb-13 0:44am
View
in this query if i give any value to @TYPE like
set @TYEP='ABC' .then error showing invalid column name 'ABC'
josh-jw
22-Feb-13 0:30am
View
in my query if @CAMP is '' ,no need where condition,means have to select all records.same in the case of @TYPE.
josh-jw
22-Feb-13 0:22am
View
yes did.but same error showing like "Incorrect syntax near 'AND'".
here in this case when @camp have value and @type is empty query is like select * from libmast where campus='05' and .
josh-jw
19-Feb-13 7:19am
View
i want to retrieve all the records with a condition that in where clause like if my input parameter @campus is '' select all the record.otherwise Campus=@campus
josh-jw
23-Jan-13 1:11am
View
give your crystal report name
josh-jw
22-Jan-13 4:52am
View
please put a break point in
Dim cmd As MySqlCommand = New MySqlCommand("select * from demodata where name='" + ComboBox1.Text + "'", con)
and check whether combobox1.text having the right value.
josh-jw
22-Jan-13 4:41am
View
Deleted
<datagrid autogeneratecolumns="False" height="200" itemssource="{Binding}" horizontalalignment="Left" margin="48,63,0,0" name="dataGrid1" verticalalignment="Top" width="200">
josh-jw
22-Jan-13 4:40am
View
Deleted
<datagrid autogeneratecolumns="False" height="200" itemssource="{Binding}" horizontalalignment="Left" margin="48,63,0,0" name="dataGrid1" verticalalignment="Top" width="200">
josh-jw
22-Jan-13 3:31am
View
welcome.if you feel this solution helps you,please mark it as answer.
josh-jw
22-Jan-13 2:07am
View
in page_load event write
Gridview1.visible = false;
in button clcik event
Gridview1.visible = true;
josh-jw
22-Jan-13 0:02am
View
in ur new tab. and put downloading code in button click.(button in new tab).if you use crystal report 13, there is a default option for saving report in different format like pdf ,word etc.
josh-jw
21-Jan-13 1:10am
View
what error you are getting?
josh-jw
16-Jan-13 23:33pm
View
cmd = new SqlCommand("select * from purchase", UGIcon);
SqlDataReader s = cmd.ExecuteReader();
while (s.Read())
HERE you have one connection and its not closed , but in else statement you are going to open a sqldatareader connection.means two sql datareader connection is open at that time.
josh-jw
16-Jan-13 7:50am
View
Deleted
in solution explorer you can see your project name. then right click the project name. then right click the page you edited, you can see check in option, thats for updating your code to tfs, if you want to edite right click the file you can see check out for edit. before check out a file , try to take the latest of that file. otherwise file will be conflict.
josh-jw
16-Jan-13 7:47am
View
welcome. if you feel my solution help you, please mark it as answer.
josh-jw
16-Jan-13 7:42am
View
in solution explorer you can see your project name. then right click the project name, then you can see get latest version option, if your project added in the tfs.
josh-jw
16-Jan-13 3:24am
View
my xml contain 6 records. and i want to loop 6 times and need each record for other operation like
while(count<=6)
set accountno=//value
josh-jw
16-Jan-13 1:51am
View
Deleted
welcome. :).if you feel it as answer please mark my solution as answer.
josh-jw
16-Jan-13 1:27am
View
Deleted
without seeing your table result , i am not sure about this join. one thing do give a group by clause .
josh-jw
16-Jan-13 1:22am
View
without seeing your table result , i am not sure about this join. one thing do give a group by clause .
josh-jw
16-Jan-13 0:21am
View
string Image;
Image=//give any valid image path.then only if condition will work.
josh-jw
15-Jan-13 0:04am
View
how can i add a url as source in media element.i use like
this.videoelement.Source = new Uri(@"http://www.youtube.com/watch?v=r-04JH7GGCI", UriKind.Absolute);
its not working
josh-jw
14-Jan-13 0:04am
View
how to set binding element property
josh-jw
9-Jan-13 7:30am
View
for filtering in user interface. how we can use while loop in this scenario? is it possible to select one row from result set and send title to stored procedure in while loop?
josh-jw
9-Jan-13 6:48am
View
didnt get any idea .i think i cant do bulk insertion.loop concept have to implement here.
josh-jw
9-Jan-13 6:26am
View
BUt we cant do insertion inside function.
josh-jw
9-Jan-13 6:08am
View
is there any other way to do this scenario?
josh-jw
9-Jan-13 6:08am
View
actually current task is that one .i know that will not help.but i have to do like that only. if do the scenario with i explained above i am getting error like
"Only functions and extended stored procedures can be executed from within a function."
josh-jw
9-Jan-13 5:58am
View
i want to achieve the scenario like my book table containing 10 title and i want to insert that title like each word as one record into master table.i want to do
selecting and inserting at a time,like bulk insertion.
josh-jw
9-Jan-13 5:45am
View
i would like to say another scenario.
is it possible that i call one stored procedure inside a function and after that i call that function in query like
select title,fn(title) from book.?
josh-jw
9-Jan-13 4:27am
View
Thanks,Griff.
Is it possible that my table containing 10 tiltes.within one select i can pass all titles into this approach and do the above operation?
josh-jw
9-Jan-13 3:55am
View
CREATE PROCEDURE PROCEDURE_NAME
AS
BEGIN
//your insert query
//your update query
end
josh-jw
3-Jan-13 0:04am
View
In the same scenario
var filename= Directory.GetFiles(name,"*.*",SearchOption.AllDirectories).Where(file => Regex.IsMatch(file, @"^.+\.(wav|mp3|jpg)$"));
its not working.i am not getting any files like folder inside another folder.
josh-jw
3-Jan-13 0:04am
View
In the same scenario
var filename= Directory.GetFiles(name,"*.*",SearchOption.AllDirectories).Where(file => Regex.IsMatch(file, @"^.+\.(wav|mp3|jpg)$"));
its not working.i am not getting any files like folder inside another folder.
josh-jw
2-Jan-13 23:41pm
View
Thank you, Sergey
josh-jw
2-Jan-13 23:41pm
View
thnx chris.
josh-jw
2-Jan-13 5:34am
View
Deleted
please go through that link.
josh-jw
2-Jan-13 5:34am
View
Deleted
http://www.codeproject.com/Questions/303612/How-to-get-Mac-Address-of-Client-Machine-in-asp-ne
josh-jw
2-Jan-13 4:47am
View
is it there any other method for get all the folders in E drive that contains .jpg images.
josh-jw
2-Jan-13 4:45am
View
if i use Directory.GetDirectories then also the same problem.
josh-jw
2-Jan-13 4:40am
View
debugging of getfile method is not completing.
josh-jw
2-Jan-13 4:38am
View
if i give
string temp = @"E:\SamplePictures";
as path then i will get the image path. but i want all the images from different folders in E drive
josh-jw
2-Jan-13 4:36am
View
yes.there is E drive and there are imgaes in different folders.yes i stepped through debugger ,when debugging getfile method,the project is running and not going to next file for debugg.
josh-jw
2-Jan-13 4:25am
View
here in
string[] files = Directory.GetFiles(usbRoot, "*.jpg", SearchOption.AllDirectories);
i am not getting the files.the project is running mode,still waiting,and no response
josh-jw
21-Dec-12 5:39am
View
its not working
josh-jw
21-Dec-12 2:50am
View
thnx aarti..:).
josh-jw
21-Dec-12 2:08am
View
thnx aarti
josh-jw
18-Dec-12 1:30am
View
thnx for reply.also we can go for like these.DATEADD(DAY, DATEDIFF(day, 0, GETDATE()), 0)
josh-jw
17-Dec-12 7:44am
View
dataset and selecting first datatable
josh-jw
11-Dec-12 2:28am
View
thanks for reply.i think this should be work in asp page.but i am working in wpf application.if you have any idea please suggest me.
josh-jw
11-Dec-12 1:20am
View
check it .
http://www.codegod.com/wpf-3d-animations-and-textures-AID439.aspx
josh-jw
7-Dec-12 1:12am
View
yes.if u have any idea please suggest me.
josh-jw
7-Dec-12 1:05am
View
thanks kunal for reply.but in my case if entered date manually like 12/7/0001.date picker accepting and it will throw error like "SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.".please let me know if you have any idea
josh-jw
1-Nov-11 7:54am
View
i am getting all records. but when gris is loading last row record is cutted. means its half part is showing. i ahve to scroll down to see full row.
josh-jw
19-Sep-11 8:15am
View
Yes .i am using latest service pack.i used your code.now the same problem is facing.
josh-jw
5-Apr-11 2:20am
View
thnx
josh-jw
5-Apr-11 2:19am
View
thanx
josh-jw
14-Mar-11 0:25am
View
thanks.
josh-jw
3-Mar-11 2:05am
View
thanks for solution.
josh-jw
3-Mar-11 1:37am
View
i created a grid with 3 rows.. i want to dispaly that values in th respected textbox for edit when i clicked on the specific row in the grid...
josh-jw
3-Mar-11 0:25am
View
ok
Show More