9,869,444 members (31,064 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
143 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 3
Page Size:
10
·
25
·
50
Author filtered by: deepakdynamite
[x]
print notepad from batch file?
by
deepakdynamite
Answer
13 May 2013
license:
CPOL
http://www.robvanderwoude.com/printfiles.php[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Common Language Runtime detected an invalid program
by
deepakdynamite
Answer
13 May 2013
license:
CPOL
Please see below links...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
changing format of seconds into dd:mm:ss
by
deepakdynamite
Answer
13 May 2013
license:
CPOL
select CAST(DATEDIFF(dd,'2013-04-16 05:00:00' , '2013-04-19 20:00:10') as varchar) +':'+convert(char(5), dateadd(ss, DATEDIFF(ss,'2013-04-16 05:00:00' , '2013-04-16 20:00:10'), cast(0 as DateTime)) , 108)
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
changing format of seconds into dd:mm:ss
by
deepakdynamite
Question
12 May 2013
license:
CPOL
Following Query returns me Number difference in format of "HH:MM:SS"select convert(char(8), dateadd(ss, DATEDIFF(ss,'2013-04-16 05:00:00' , '2013-04-16 20:00:10'), cast(0 as DateTime)) , 108)output of above query is " 15:00:10 " which is correct but if i change query as below...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Export to excel from Grid
by
deepakdynamite
Question
1 Apr 2013
license:
CPOL
Hello everyone,I am using following code to export data to excel.table.RenderControl(htw);// render the htmlwriter into the responseResponse.Write("");Response.Write("");Response.Write("
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Excel
Export output of sql query to Excel sheet
by
deepakdynamite
Question
28 Mar 2013
license:
CPOL
Hello Everyone,I am using following query to export output of query to an excel file.insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Projects\Book1.xls;', 'select * from [sheet1$]') SELECT N_APP_DESCRIPTION FROM N_APP_APPLICATIONHere i am trying to...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
SQL-Server
Excel
Why to dispose objects explicitly ?
by
deepakdynamite
Question
22 Mar 2013
license:
CPOL
Why its highly recommended to dispose all objects/Datasets/Datatables in finally block when .net have its own Garbage collector which handles memory deallocation automatically and runs after specific interval.Thanks in advance.
General Programming
»
Uncategorised Quick Answers
»
General
.NET
setting subreport as Landscape
by
deepakdynamite
Question
4 Feb 2013
license:
CPOL
Hello Everyone,I have a main report which loads in Portrait having one subreport. My requirement is to load subreport as landscape in main report which is Portrait. Any idea ?Thanks,
General Programming
»
Uncategorised Quick Answers
»
General
RDLC
Update Query using Table variable in sql server
by
deepakdynamite
Question
29 Jan 2013
license:
CPOL
I have this table in procedureDECLARE @tbl_copy TABLE ( BasicObsEntered NVARCHAR(20), BasicObsEnteredDate NVARCHAR(100), [STATUS] nvarchar(10), CategoryOne nvarchar(30), NAME nvarchar(125), ItemName nvarchar(125), [Value] nvarchar(60), UnitOfMeasure...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Tables
My vote of 5
by
deepakdynamite
Forum Message
24 Dec 2012
Nice explanations with examples
General Discussions
»
Article "Multi Core Programming Using Task Parallel Library With .Net 4.0"
Jquery, How to change the mouse cursor on an event
by
deepakdynamite
Answer
23 Dec 2012
license:
CPOL
try this $("element").cursor("pointer")
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
Calling a console application from a web application on a button click
by
deepakdynamite
Answer
23 Dec 2012
license:
CPOL
HelloCheck this out http://forums.asp.net/p/933817/1101287.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Before inserting a record in the database to validate that there is?
by
deepakdynamite
Answer
23 Dec 2012
license:
CPOL
Hello,You can use IF NOT EXISTS AS WELL....
General Programming
»
Uncategorised Quick Answers
»
General
Mobile
Android
Sqlite
Need code for marquee
by
deepakdynamite
Answer
23 Dec 2012
license:
CPOL
Check this out...http://www.quackit.com/html/codes/stop_marquee.cfm[^]Go though various examples available in this.Here is your solution :Go on... press the button!
General Programming
»
Uncategorised Quick Answers
»
General
HTML5/CSS
How to pass id of textbox to.js file
by
deepakdynamite
Answer
23 Dec 2012
license:
CPOL
Hello,Check this out. I hope this will help youhttp://forums.asp.net/t/1384485.aspx[^]You will have to pass reference of textbox to external js file's function
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
jQuery
Sorting in sql server
by
deepakdynamite
Question
18 Dec 2012
license:
CPOL
Hello Everyone,I want to sort few records which actually contains Duration but they are in nvarchar datatype.. For eg. Select '33:14:14' as 'Duration'UNIONSelect '1:16:36' as 'Duration'UNIONSelect '0:3' as 'Duration'UNIONSelect '0:29' as 'Duration'UNIONSelect '02:12:39'...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Sorting
two colors in td as background
by
deepakdynamite
Question
18 Dec 2012
license:
CPOL
I want to create square shaped table cell which will have grey color in lower triangle and blue in upper triangle.
General Programming
»
Uncategorised Quick Answers
»
General
HTML
HTML5/CSS
web page without .aspx extension
by
deepakdynamite
Answer
18 Dec 2012
license:
CPOL
Check this out [^]URL Rewriting in ASP.NET 2.0[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
hi how to print the particular record to the crystal report
by
deepakdynamite
Answer
18 Dec 2012
license:
CPOL
Please go through thisHow to print particular record using crystal report in visual studio 2005[^]
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
HOW CAN I SHOW TIME OF THREE COUNTRY ZONE IN HTML PAGE
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Use Javascript , check this out http://www.codingforums.com/archive/index.php/t-87591.html[^]
General Programming
»
Uncategorised Quick Answers
»
General
HTML
how to insert string data into a temp table rowwise
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Check this out http://stackoverflow.com/questions/3265316/how-to-split-and-insert-csv-data-into-a-new-table-in-single-statement[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
combobox coding in C#
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Check this out :http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindexchanged.aspx[^]http://stackoverflow.com/questions/3263240/how-to-stop-a-comboboxs-selectedindexchanged-event-from-firing-when-the-form-lo[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
find empty excel file in c#
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Whenever we create any blank excel file, File is created with default size. say 24kb or something like that... track that figure and compare your file size against that figure. I guess this will help you to know if file is empty or not
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Sending Mail with Embedded Doc File by asp.net
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Check this out :http://stackoverflow.com/questions/9270125/sending-email-with-attachment-that-accepts-particular-file-type-in-asp-net-c-sha[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP:NET
How to edit(update,clear,delete) the values(redirected to another page) using querysrting
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Check this out :http://forums.asp.net/t/1058011.aspx/1/10[^]http://blog.oscarscode.com/dot-net/redirect-to-another-page-with-javascript-in-asp-net/[^]Apart from this, Create a linkbutton with Text = "" and write post-back (click event) method for that link button. In the postback...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Pass Array element as Array
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
It's not exactly solution Instead, Can you try to assign it like shown below :byte[4][] channelArr = new byte[4][];channelArr[0]= ch11;channelArr[1]= ch12;channelArr[2]= ch13;
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
how to reset session variable using java script
by
deepakdynamite
Answer
9 Nov 2012
license:
CPOL
Check this out JavaScript - How to Set values to Session in Javascript[^]you can assign null instead of values
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
ASP.NET
Javascript
C#
how to create log out page after click log out page donot come back in previous page in asp.net
by
deepakdynamite
Answer
8 Nov 2012
license:
CPOL
you will have to explicitly redirect it to log out page. and make sure you have cleared all sessions before redirecting it to log out page
General Programming
»
Uncategorised Quick Answers
»
General
ASP:NET
Is it bater using temp table insted of CTE in paging?
by
deepakdynamite
Answer
8 Nov 2012
license:
CPOL
Check this out http://stackoverflow.com/questions/690465/which-are-more-performant-cte-or-temporary-tables[^]http://stackoverflow.com/questions/1531835/sql-2005-cte-vs-temp-table-performance-when-used-in-joins-of-other-tables[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL
SQL-Server
SQL-Server
SQL2008
Message box in asp.net
by
deepakdynamite
Answer
6 Nov 2012
license:
CPOL
Check this out how to display messages in asp.net using C# language?[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Origin is not allowed by access-control-allow-origin in rest services with WEBAPI
by
deepakdynamite
Question
4 Oct 2012
license:
CPOL
Hello Everyone,We have created REST services using web API and successfully deployed on our Testing Servers. When check those services using POSTER (tool comes as addon in Mozilla and used for testing services), we get perfect output. But when we do Jquery Ajax call, we face error of "...
General Programming
»
Uncategorised Quick Answers
»
General
Ajax
jQuery
JSON
REST
JSONP
webapi
Converting data received from webservice
by
deepakdynamite
Question
3 Sep 2012
license:
CPOL
i need to change our c# code that reads the datatable in the web service and have it read the odata and convert directly or use as a datatable. i need a datatable provider that uses odata
General Programming
»
Uncategorised Quick Answers
»
General
C#
OData
How to call webservice in asp.net using jquery?
by
deepakdynamite
Answer
31 Aug 2012
license:
CPOL
Hello,Chec...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Hiding Server control through JQuery
by
deepakdynamite
Question
31 Aug 2012
license:
CPOL
Hello,I am trying to hide textbox on click of Server control. But seems like its not working
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
jQuery
odata conversion to data table
by
deepakdynamite
Question
31 Aug 2012
license:
CPOL
Hello,Is it possible to convert Odata into DataTable and Vice-Versa ?Thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
OData
create zip file in asp.net
by
deepakdynamite
Answer
30 Aug 2012
license:
CPOL
Hello,Have a look at this , I hope this will help you outSimple Application to Zip and UnZip files in C# using J#[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Creating Rest Services
by
deepakdynamite
Question
30 Aug 2012
license:
CPOL
Hello,I am completely new for creating REST Services, after looking at some links i got basic idea about it. But still i don't know how to return UserDefined Datatypes for Eg : How can i return List (i,e. List of User Class) or DataTable using Rest Services.Please suggest.
General Programming
»
Uncategorised Quick Answers
»
General
C#
WCF
REST
My vote of 1
by
deepakdynamite
Forum Message
23 Aug 2012
asda
General Discussions
»
Enable Debug.Assert Under Asp.Net
sorting of data in sql server on the basis of Alphanumeric
by
deepakdynamite
Question
21 Aug 2012
license:
CPOL
1. Here is the table structureEmployeeID EmployeeName Rank1 Deepak First2 Kaushal Second3 Pankaj First4 Rahul Third5 Riyaz Fourth6 vimal Five6 Suresh FourthI want to display it in ascending order as shown below...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Method implementation of interfaces
by
deepakdynamite
Question
20 Aug 2012
license:
CPOL
If a class is implementing two interfaces and both the interfaces is having a method with the same name. Then Is it possible? If yes, then how that class will implement both of those methods?
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
VB
VB.NET
showing masked nput into Textbox
by
deepakdynamite
Question
13 Aug 2012
license:
CPOL
I have a textbox where customer will enter their credit card number . I want to show it like XXXXXXXX5615 in text box.Any idea ?
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Steps to create SSIS package which will transfer data from MYSql to Sql Server
by
deepakdynamite
Question
27 Jul 2012
license:
CPOL
Hello Everyone,I don't know how to use SSIS package, After looking at some links i came to know how to use that but still i am not able to do that for transferring data from Mysql to sql server. I would appreciate if someone could help me to find out steps for creating SSIS package for...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
MySQL
SSIS
Which one is better IIS of Apache.
by
deepakdynamite
Question
24 Jul 2012
license:
CPOL
What are the factors which decides which server to use i.e IIS or Apache .And which one of them serves better when application is on .net technologies.Thanks,Deepak
General Programming
»
Uncategorised Quick Answers
»
General
IIS
Apache
Deployment and Setup
by
deepakdynamite
Answer
13 Jul 2012
license:
CPOL
Hello ,You need to install Crystal reports before you run your setup. When i was using 2008 , i use to setup CRRedist2008_x86.msi first and then use to install my exe.Same must be available for 2012 also.
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#
C#4.0
CrystalReports
How to convert int to Datetime
by
deepakdynamite
Answer
13 Jul 2012
license:
CPOL
Hello,use this constructor to create object of DateTime Class and pass values accordingly.http://msdn.microsoft.com/en-us/library/xcfzdy4x.aspx[^]Once you get this , Go through this link which will guide you how to use find DateDifference...
General Programming
»
Uncategorised Quick Answers
»
General
VC++
Pdf to word Conversion
by
deepakdynamite
Question
13 Jul 2012
license:
CPOL
Hello,Is there any free 3rd party dll like Itext is available for converting PDF into Word ?Thanks,Deepak
General Programming
»
Uncategorised Quick Answers
»
General
C#
PDF
ASP.Net-4.0
Send Email with attachment of 23 MBusing C#
by
deepakdynamite
Question
29 Jun 2012
license:
CPOL
Hello,I am sending email with an attachment of 22 MB and code ends up with an error i,e " The operation was time-out". This code works fine with files of 1 MB.Here is the code used by ME :try{ mail = new MailMessage(); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
email
ASP.Net-4.0
Validation returns true after postback
by
deepakdynamite
Question
18 Jun 2012
license:
CPOL
Hello Everyone,I have page which generated dynamic control and also apply RequiredField Validation at runtime. Everything works fine but when i click on dropdown and page postbacks, Validations in javascripts always return true even though data isn't available in required Fields. But when i...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Javascript
Telerik
File corrupted after download
by
deepakdynamite
Question
7 Jun 2012
license:
CPOL
Hello everyone,I am using this code to download file which is working fine in whole application.I am trying to download Excel file using this code . After download when i try to open excel file, it pop up's a warning that file is corrupted and some data will be removed or lost. After...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Excel
Generating PDF from content of DIV tag
by
deepakdynamite
Question
27 Apr 2012
license:
CPOL
Hello Everyone,I have page with a div control , i want to generate pdf from that div control without using third party tool like ItextSharp or any other.Thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
PDF
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid