9,869,444 members (37,814 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*
52 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 2
Page Size:
10
·
25
·
50
Author filtered by: Ram Balak Sharma
[x]
Outlook 2013 context menu on mail item?
by
Ram Balak Sharma
Answer
11 Apr 2013
license:
CPOL
Hi,you will have to user Ribbons to create context menu on mail items. this will work on outlook 2010 and above version.Ribbon1.xml is as below. label="Upload Email" tag="my Mail" visible="true" ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Visual-Studio
Outlook
VS2012
2013
Re: My vote of 5
by
Ram Balak Sharma
Forum Message
20 Feb 2013
Thanks Symon Ram Balak sharma .Net Architect Q3 technogies Gurgaon India
General Discussions
»
Article "Difference In Layer And Tier Architecture."
Thanks For good article
by
Ram Balak Sharma
Forum Message
25 Jul 2012
Hi Mathew, I am using MUNQ in my project and i am facing one major issue as below. In my Project i am using multiple Databases and it will decide when user will login then connection will establis
General Discussions
»
Article "Munq Ioc Container – Creating A Thread Local Storage Lifetime Manager"
this is simple but you wil have to write onkeypress for each...
by
Ram Balak Sharma
Forum Message
13 Dec 2011
this is simple but you wil have to write onkeypress for each and every textbox if there are more than 1 text box, also if you need a textbox in master page for search feature then this option will no
General Discussions
»
Alternative Tip "How To Prevent Textbox Postback When Hitting Enter Key In Asp.Net"
Re: [My vote of 1] Address class in loose coupling example is missing inheritance declaration
by
Ram Balak Sharma
Forum Message
9 Dec 2011
Hi Seishin, i haven't explain the dependency injection, i only explain the tight and loose coupling.i agree with you there are lot of good article for dependency injection. and i have posted with
General Discussions
»
Article "Tight Coupling And Loose Coupling"
How to Improve ASP.NET Performance
by
Ram Balak Sharma
Tip/Trick
27 Nov 2011
license:
CPOL
Best practices for ASP.NET code for improving performance.
Web Development
»
Asp.Net
»
General
ASP.NET
Synchronous and Asynchronous Web Service Invocation in Java script
by
Ram Balak Sharma
Tip/Trick
6 Nov 2011
license:
CPOL
How to call synchronous and asynchronous way web service method in JavaScript by using JSON
Web Development
»
Web Services
»
General
Javascript
JSON
WebService
Difference in layer and tier architecture
by
Ram Balak Sharma
Tip/Trick
6 Nov 2011
license:
CPOL
What is the difference in both architectures and benefits
Development Lifecycle
»
Design And Architecture
»
General
C#
How to show the multiple contents in Dropdownlist
by
Ram Balak Sharma
Answer
4 Nov 2011
license:
CPOL
Drop down extenderand open the table on extender click
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Re: Difference between 3 layer and 3 tier architecture
by
Ram Balak Sharma
Forum Message
3 Nov 2011
N-layers of application may reside on the same physical computor(same tier) and the components in each layer communicates with the components of other layer by well defined interfaces.Layered architec
Web Development
»
Asp.Net
Re: Thanks a lot Brian. i am trying to share for managed code as...
by
Ram Balak Sharma
Forum Message
1 Nov 2011
Thanks a lot Brian. i am trying to share for managed code as well.
General Discussions
»
Article "How Improve Asp.Net Performence"
Trying to convert a webpage into pdf format
by
Ram Balak Sharma
Answer
1 Nov 2011
license:
CPOL
This might be helpfull[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
Page.IsValid what is purpose of this statement in programming.what it does
by
Ram Balak Sharma
Answer
1 Nov 2011
license:
CPOL
This will check your page validation are ok or not.if any control havs any validation and user press the submitt button then it will check the page is valid or not.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how create the Pre-Genrated Views in EF4.0
by
Ram Balak Sharma
Tip/Trick
19 Oct 2011
license:
CPOL
How improve performance of EF
General Programming
»
Programming Tips
»
General
EF4.0
How to improve entity framework Performence for first time login
by
Ram Balak Sharma
Question
17 Oct 2011
license:
CPOL
What is the best option to set in mergeoption for entity framework for performance point?
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to prevent textbox postback when hitting Enter key in ASP.NET
by
Ram Balak Sharma
Tip/Trick
17 Oct 2011
license:
CPOL
Stop postback in text box when hitting the Enter key, by using jQuery
Web Development
»
Client Side Scripting
»
General
ASP.NET
jQuery
Security in ASP.net MVC by using Anti-Forgery token
by
Ram Balak Sharma
Tip/Trick
13 Oct 2011
license:
CPOL
To implement security on submit the page in MVC by using Anti-Forgery Token
General Programming
»
Programming Tips
»
General
C#
ASP.NET
Java
Ajax
MVC
script
How to programmatically turn off IE's Protected Mode?
by
Ram Balak Sharma
Answer
11 Oct 2011
license:
CPOL
I hope this weill help.http://msdn.microsoft.com/en-us/library/dd565659(v=vs.85).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
IE8
Amazon Web Service with C#
by
Ram Balak Sharma
Answer
11 Oct 2011
license:
CPOL
you can call the web service in Window application also, add the reference of Amazon service then call where you want.
General Programming
»
Uncategorised Quick Answers
»
General
C#
write cookies in window application
by
Ram Balak Sharma
Question
11 Oct 2011
license:
CPOL
Hi all ,Can we write cookies in windows application?
General Programming
»
Uncategorised Quick Answers
»
General
C#
calculate no of days betwwn 2 dates
by
Ram Balak Sharma
Answer
10 Oct 2011
license:
CPOL
(startDate - endDate ).TotalDays
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Very nice!
by
Ram Balak Sharma
Forum Message
10 Oct 2011
Thanks Navneet Ram Balak sharma .Net Architect Q3 technogies Gurgaon India
General Discussions
»
Article "How Improve Asp.Net Performence"
this article is only for asp.net web form not for MVC
by
Ram Balak Sharma
Forum Message
10 Oct 2011
this article is only for asp.net web form not for MVC
General Discussions
»
Alternative Tip "How To Improve Asp.Net Performance"
site search with meta tags
by
Ram Balak Sharma
Answer
10 Oct 2011
license:
CPOL
Please add meta tag in your master page you can add your keywork in comma separated
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Object reference not set to an instance of an object
by
Ram Balak Sharma
Answer
10 Oct 2011
license:
CPOL
A data table object is a reference type that has to have a value. You don’t have to use the “new” keyword, but by default the value is Nothing/null. You would have to at least initialize to dtSchema = new DataTable, before it will compile in C#, or run without exception in VB.Net
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
caching data in a website
by
Ram Balak Sharma
Answer
10 Oct 2011
license:
CPOL
Simple when you are binding the dropdown then store your datga source to cache and before binding check the cache is null or emptyif null or empty then fetch from db else read from cache.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
When does this error occur?
by
Ram Balak Sharma
Answer
9 Oct 2011
license:
CPOL
Hi this error will cone when you are opening you appliucation with outer folder. like when you will open the main folder which have web.config file then this will not come.I hope this will help you.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Re: Vote of 5
by
Ram Balak Sharma
Forum Message
9 Oct 2011
Thanks Ram Balak sharma .Net Architect Q3 technogies Gurgaon India
General Discussions
»
Article "How Improve Asp.Net Performence"
Bind data with JSON face error of Invalid postback or callback argument
by
Ram Balak Sharma
Answer
9 Oct 2011
license:
CPOL
•Disable eventvalidation (bad idea, because you lose a little of security that come with very little cost). •Use ASP.NET Ajax UpdatePanel. (Put the listbox in the Updatepanel and trigger a update, if you add or remove listbox. This way viewstate and related fields get updates and...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
JSON
Events and delegates in C#
by
Ram Balak Sharma
Answer
9 Oct 2011
license:
CPOL
When class will load then it will create a event menthod testFunction.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Response.Redirect() Not working with update panel
by
Ram Balak Sharma
Answer
6 Oct 2011
license:
CPOL
Before giving a solution I would like to explain the response.redirect.this mean you are pysically moving from one page ot another page it wil aslo change the browser url. so it will always make a post back.if you dont want to complete post back then i think you should use some IFrame concept
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
passing data between parent page and popup window using asp.net
by
Ram Balak Sharma
Answer
5 Oct 2011
license:
CPOL
I will suggest that use modal popups, by this way u dont need to use session.you can easily fnd the checked row in main page.
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
ASP.NET
Javascript
C#3.5
Adding bool value in Session in C#
by
Ram Balak Sharma
Answer
5 Oct 2011
license:
CPOL
bool b=true;Session["Permission"]=b.ToString()and when retive from session then use bool.parse();
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
about list concept, to know how is ti works
by
Ram Balak Sharma
Answer
5 Oct 2011
license:
CPOL
It means You are not including the reference of Chating.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Some Code is not working in mozilla6
by
Ram Balak Sharma
Answer
5 Oct 2011
license:
CPOL
it should work without any issue,Please check it by Firebug.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
CSS
Can we Bind The With Two Data Sets
by
Ram Balak Sharma
Answer
5 Oct 2011
license:
CPOL
Please merge both data source in one then bind
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Not Required Refreshing Page After Submit
by
Ram Balak Sharma
Answer
5 Oct 2011
license:
CPOL
There are couple of way to implemement this.1. Use ClientClick and pass all information through the AJAX.Post metthod2. You can create the web serive and call those service by JSON3. You can use UpdatePanel concept, this is the easiest way by by this way if you page has multiple...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to call c# function within a javascript function
by
Ram Balak Sharma
Answer
4 Oct 2011
license:
CPOL
There are 2 way.1. var url = "Sample.aspx/GetLanguageItem"; $(document).ready(function () { $("#btn").click(function () { $.ajax({ url: url, type: 'POST', ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Javascript
Rebuild and Reorganizing the index on SQL Server
by
Ram Balak Sharma
Tip/Trick
4 Oct 2011
license:
CPOL
Improve SQL server performance by rebuild and reorganizing the indexes
Database
»
Database
»
General
SQL
Server
how to save image in ms access database
by
Ram Balak Sharma
Answer
4 Oct 2011
license:
CPOL
Please have a look this articlehttp://msdn.microsoft.com/en-us/library/4f5s1we0(VS.71).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#3.5
VB09
Ajax modal popup file download problem
by
Ram Balak Sharma
Answer
4 Oct 2011
license:
CPOL
You have to create a http handler for this and call this handler from java script
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to read or write text file using asp.net
by
Ram Balak Sharma
Answer
3 Oct 2011
license:
CPOL
You can read or write the file out side the application folder as well but you will have the ful right on that folder.and define that path in web.config file and use the streamReader and Streamwriter.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Re: Needs some work
by
Ram Balak Sharma
Forum Message
2 Oct 2011
Hi Richard, I have updated my article as you told Step by Step process. Please have a look and let me know it is ok or not. Ram Balak sharma .Net Architect Q3 technogies
General Discussions
»
Article "Convert Ilist To Data Table"
Re: Needs some work
by
Ram Balak Sharma
Forum Message
30 Sep 2011
Hi Richard, Thanks for your valuable suggesations, i have updated the article as per your comments,Please have a look and let me know if you think i need some thing more. Ram
General Discussions
»
Article "Convert Ilist To Data Table"
Removing Substring in asp.net with c#
by
Ram Balak Sharma
Answer
29 Sep 2011
license:
CPOL
I think the best solution is use string .split() method and select the first arraystring[] str=text.split(';')str[0]=Angel Nursery School;
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
change node place in xml
by
Ram Balak Sharma
Answer
29 Sep 2011
license:
CPOL
I hope this will work.XmlDocument xmlDocument = new XmlDocument(); xmlDocument.PreserveWhitespace = false; xmlDocument.Load(@"file.xml"); XmlNode fieldNode = xmlDocument.SelectSingleNode( @"/root/field[@name = '3']"); if (fieldNode != null) {...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
XML
Excel is returing empty data
by
Ram Balak Sharma
Answer
29 Sep 2011
license:
CPOL
I think you need to change the line as belowResponse.ContentType = "application/ms-excel";instead of Response.ContentType = "application/vnd.ms-excel";and you need to add these linesResponse.ContentEncoding = System.Text.Encoding.UTF8; ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to get two table data at a time
by
Ram Balak Sharma
Answer
29 Sep 2011
license:
CPOL
Please claify you are writing directly queries or using and OR mapper like Like LinQto SQl or entity framework.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Yes, This is the way to convert data table to string but if ...
by
Ram Balak Sharma
Forum Message
28 Sep 2011
Yes, This is the way to convert data table to string but if you wan to call By JSOn then it could not covert in array collection, this way you can only converto to string. what i did convert data tabl
General Discussions
»
Alternative Tip "Convert Datatable To String By Extension Method"
Convert DataTable to String by Extension Method
by
Ram Balak Sharma
Tip/Trick
28 Sep 2011
license:
CPOL
Useful when calling a C# method from JavaScript by using JSON which returns a DataTable.
Languages
»
C#
»
General
C#3.0
C#
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid