9,868,710 members (42,146 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*
53 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: snehal harawande
[x]
Code Coverage for Regression Tests (Manual/Auto)
by
snehal harawande
Article
12 May 2013
license:
CPOL
This article presented how to use code coverage during regression tests (auto/manual).
Platforms, Frameworks & Libraries
»
.Net Framework
»
Instrumentation
.NET3.5
C#
XML
.NET
Architect
Dev
QA
Beginner
Intermediate
C#
, +
how to consume wcf method which is return type list in aspx.cs file
by
snehal harawande
Answer
1 May 2013
license:
CPOL
Check another example.http://www.dotnetspeaks.com/DisplayArticle.aspx?ID=29[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
WCF
how to consume wcf method which is return type list in aspx.cs file
by
snehal harawande
Answer
1 May 2013
license:
CPOL
Check example given in below linkhttp://www.c-sharpcorner.com/uploadfile/dhananjaycoder/collection-in-wcf/[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
WCF
how to consume wcf method which is return type list in aspx.cs file
by
snehal harawande
Answer
1 May 2013
license:
CPOL
While Adding service reference select list as return type for array.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
WCF
Handle DateTime in .net
by
snehal harawande
Answer
19 Apr 2013
license:
CPOL
user DateTime.ToString("dd/MM/yyyy).
General Programming
»
Uncategorised Quick Answers
»
General
C#
Aspnet
Ajax tabcontainer and modal popup extender
by
snehal harawande
Answer
16 Apr 2013
license:
CPOL
Recently I used AjaxTabContainer with Modalpopup it worked.I placed modalpopup outside the tab container & called from code.Use below link http://jamestsai.net/Blog/post/How-to-use-ASPNET-AJAX-UpdatePanel-in-ModalPopup.aspx[^]Download sample...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to open excel of .xlsx/.csv file in asp.net
by
snehal harawande
Answer
16 Apr 2013
license:
CPOL
Use below link to open.download excel fileExporting DataGrid to Excel, Word and Text Files[^]To upload data from excel use below linkImport Data from excel to SQL server using C# in ASP. NET[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how to upload a group of files using fileupload in asp.net
by
snehal harawande
Answer
14 Apr 2013
license:
CPOL
Check out below msdn linkhttp://msdn.microsoft.com/en-us/library/aa479405.aspx[^]You can also use AjaxFileUpload Controlhttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AjaxFileUpload/AjaxFileUpload.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Web-Development
File-Upload
website
About the Session showing the error mess Object reference not set to an instance of an object.
by
snehal harawande
Answer
14 Apr 2013
license:
CPOL
amperayani is correct use if(session["username"]!=null) in master.Why u r redirecting to master page from login page?You should redirect to .aspx page.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to attach an attachment to the email ?
by
snehal harawande
Answer
11 Apr 2013
license:
CPOL
While working on email functionality I also had same issue.It's because we are directly using file name from upload.To solve issue I saved the file from uploaded to temporary upload folder on server.Then send the mail with attachment.After that clear uploaded file from temporary upload...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
How to attach an attachment to the email ?
by
snehal harawande
Answer
8 Apr 2013
license:
CPOL
There are quite a few overloads to create an Attachment, none of them match the way you initialised the Attachment.When creating an Attachment the second parameter needs to be either NULL or identify a valid MIME-type for your attachment.Please refer below...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
An exception has occurred during data insertion in ssis
by
snehal harawande
Answer
8 Apr 2013
license:
CPOL
In create statement column is not allowing null as below[OrigLoanAmt] [decimal](18, 0) NOT NULL,Change it to allow null.
General Programming
»
Uncategorised Quick Answers
»
General
SSIS
common save ,edit delete ,add function in asp,net
by
snehal harawande
Answer
8 Apr 2013
license:
CPOL
Please refer below linksInsert, Update, Delete with Gridview ... Simple Way[^]http://aspnet-with-c-sharp.blogspot.in/2011/02/insertupdatedelete-in-gridview-aspnet.html[^]http://www.aspdotnetcodes.com/GridView_Insert_Edit_Update_Delete.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how to publish asp.net website on Internet
by
snehal harawande
Answer
4 Apr 2013
license:
CPOL
You needs to register for domain of your website. Domains are acquired through a Domain Registry agent. Often, these companies also provide hosting services. GoDaddy is one, for example.You will first need to find a name that isn't already taken and register it. This makes it "yours" -- at...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
publish
Error in deserializing body of request message for operation in WCF
by
snehal harawande
Answer
4 Apr 2013
license:
CPOL
Try Below Linkshttp://stackoverflow.com/questions/12578492/error-in-deserializing-body-of-request-message-for-operation-try-changing-maxn[^]http://stackoverflow.com/questions/2765598/wcf-the-maximum-nametable-character-count-quota-16384-has-been-exceeded-whil[^]
General Programming
»
Uncategorised Quick Answers
»
General
WCF
How to do multiple column search using MYSQL?
by
snehal harawande
Answer
3 Apr 2013
license:
CPOL
For such scenarios you needs to implement dynamic query.Check below linkhttp://flylib.com/books/en/1.142.1.57/1/[^]
General Programming
»
Uncategorised Quick Answers
»
General
PHP
MySQL
How to make a html master page without using ASP.NET Master pages
by
snehal harawande
Answer
3 Apr 2013
license:
CPOL
Master Page is concept of Asp.Net.Before ASp.net in ASP or HTML we simply use to copy paste code for common layout.
General Programming
»
Uncategorised Quick Answers
»
General
HTML
Masterpage
using next button in c#
by
snehal harawande
Answer
28 Mar 2013
license:
CPOL
As you said there are 3 records then inc should vary from 0 to 2.& Condition if (inc
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to delete row from dataGridView and also from Database?
by
snehal harawande
Answer
28 Mar 2013
license:
CPOL
On delete button click try to delete data from database.Then retrieve data & bind to grid.
General Programming
»
Uncategorised Quick Answers
»
General
C#
DataGrid
WinForm
The IAsyncResult object provided does not match this delegate.
by
snehal harawande
Answer
26 Mar 2013
license:
CPOL
Please provide more details with steps what u r doing n code.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
XML
Making GridView Clickable
by
snehal harawande
Answer
26 Mar 2013
license:
CPOL
You needs to use Templates for edit update & deletePlease use belowlinksEditable GridView in ASP.NET 2.0[^]Full-featured Editable GridView Control[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
asp.net code for treeview
by
snehal harawande
Answer
25 Mar 2013
license:
CPOL
Please check below linkhttp://msdn.microsoft.com/en-us/library/d4fz6xk2(v=vs.80).aspx[^]ASP.NET TreeView Control & the Client's Browser[^]http://msdn.microsoft.com/en-us/library/d4fz6xk2%28v=vs.80%29.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Automating executable code
by
snehal harawande
Answer
25 Mar 2013
license:
CPOL
You needs to create Sql Server Agent jobs for such requirements.Please refer below links & serch for more info.http://www.aspsnippets.com/Articles/Automated-Email-Notifications-using-SQL-Server-Job-Schedular.aspx[^]http://msdn.microsoft.com/en-us/library/ms190268.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Making GridView Clickable
by
snehal harawande
Answer
25 Mar 2013
license:
CPOL
You can unable AutoSelectColumn & write code for event SelectedIndex Change.So that extra column shown to select grid view row.You can also use below links to do this without using AutoselectColumn property & make complete row click able. But I never tried...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to use join in update query
by
snehal harawande
Answer
25 Mar 2013
license:
CPOL
Use merge instead of update as belowMERGE INTO Sales_Import USING RetrieveAccountNumber ON Sales_Import.LeadID = RetrieveAccountNumber.LeadIDWHEN MATCHED THEN UPDATE SET AccountNumber = RetrieveAccountNumber.AccountNumber;...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
asp.net web application deployment on another pc not server
by
snehal harawande
Answer
25 Mar 2013
license:
CPOL
You need Sql Server on that machine.You can create deployment package 1) open output window2) right click project Create Build Deployment package3) open folder from path given in output window4) Copy & paste contents from package folder to destination system & host in iis.5) Change...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to use multiple DB in single application
by
snehal harawande
Answer
25 Mar 2013
license:
CPOL
Solution will be simple as below1) Add connection string for centralized db in web.config. & use it while login user in.2) Store user specific connection string in user login details table in another column or in another table.3) During user log in get user data with specific connection...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Asp.net Page LifeCycle How to explain in Interviews
by
snehal harawande
Answer
24 Mar 2013
license:
CPOL
Check below link by Shivprasad koiralaASP.NET Application and Page Life Cycle[^]For interview purchase Shivprasad koirala book for interview. It is very nice.
General Programming
»
Uncategorised Quick Answers
»
General
Mobile
Android
Error Message "Operation must use an updateable query"
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Please check below linksoperation must use an updateable query ms access[^]http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/d2d32558-78a8-4cbd-9f3f-114d7f4d4705[^]
General Programming
»
Uncategorised Quick Answers
»
General
VB
Access
VB.NET
how to login user in asp website using session
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Check below msdn link for formsAuthentication exampleExplained: Forms Authentication in ASP.NET 2.0[^]Also Check below linkForms Authentication in ASP.NET with C#: Advance[^]Check Video onUsing ASP.NET Forms Authentication [^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
after resetting IIS how can i redirect to login page
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Check session value in page loadIf required value is null then redirect to home page which redirects to diferent page based on user roles.
General Programming
»
Uncategorised Quick Answers
»
General
MVC
Adding images with .tiff extensions in database and also in server folder
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Check below links for storing files in dbhttp://archive.aspsnippets.com/post/Save-and-Retrieve-Files-from-SQL-Server-Database-using-ASPNet.aspx[^]http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=112[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
I want user to save data somewhere then edit this data finally save this data through grid-view in sql table
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Hi Varun,You can use session object for this purpose.Steps1) in page init initialise dataset2) in page load not postback get data from db if required & store in session object3) in page load in post back get data from session.4) in actions like add/update/delete do actions on dataset...
General Programming
»
Uncategorised Quick Answers
»
General
ADO.NET
C#
SQL-Server
SQL2008
C#4.0
ASP.Net-4.0
Getting error while storing data into database
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Such error occurs when we have infinite loop. Please check
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Save data from Dynamic Created Gridview to DataBase
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Simply gather data from different grids & then insert in the db table.
General Programming
»
Uncategorised Quick Answers
»
General
Gridview
One Data grid view to show the two data table values while the gride view click
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Not Sure but below link might help youhttp://forums.asp.net/t/1792541.aspx/1[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Message contract in WCF
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Hi Buddy,You r using property as operation contract that's why do r not getting values in soap.Creating property as operation contract is not advicible.Use property as Datamember as explained in below...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WCF
about choosing field...
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Computer Engineering-Require to give pretest-fees are much high-vast portion so needs to mug up answers-More Theoritical than Practicals-Duration 4 yrsComputer Science-no pre-test-vast portion so need to mug up answers-Yearly paterns which puts pressure during exams-More...
General Programming
»
Uncategorised Quick Answers
»
General
software
When I use Outer Apply in place of Left Join in Query Joining ?
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Don't have much infromation but check below linkshttp://www.mssqltips.com/sqlservertip/1958/sql-server-cross-apply-and-outer-apply/[^]http://technet.microsoft.com/en-us/library/ms175156(v=sql.105).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to add new row in gridview in asp.net(C#) when we allow paging true and page size="5"
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
Error is because of this linefor (int i = 1; i
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
load data from an access table
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
No You don't need to add any reference.Just use System.Data.OleDb. Details given in below link.http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/8ee73442-f28b-49ab-a4d9-8b550f841aa4/[^]Also...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Auto_Increment Column in SQL Server 2000
by
snehal harawande
Answer
22 Mar 2013
license:
CPOL
IDENTITY is supported in SQL Server 2000. Please check below linkhttp://msdn.microsoft.com/en-us/library/aa933196(v=sql.80).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL
SQL-Server
Difference between Foreach loop and enumerator..?!?
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
foreach is just a shortcut, that simplifies performing the collection enumeration. From http://support.microsoft.com/kb/307484[^], which describes how to create a custom collection (implementing IEnumerable):How does this work? For Each calls the GetEnumerator method to create the Enumerator...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
.NET
Search Name in Drop down List and enter text in textbox, only match or character contain show in drop down list
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
You needs to use AJAX extender for this functionality which gets list using webservice when you type a word or letter in text box.Use AJax Autocomplete Control for this as given in below linkhttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
ASP.NET
.NET
Services
how can i compare values of grid view itams(with rang higher or lower)
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
In grid row databound event you can check values & change color for cell values using below codeint columnIndex = 1;int rowIndex = 2;// create bold font based on the default font Font newFont = new Font(dataGridView1.Font, FontStyle.Bold);dataGridView1[columnIndex, rowIndex].Style.Font...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How can I configure WCF method visibility?
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
each operation from the service contract is exposed in WSDL. That is how WCF works. So each client consuming service WSDL can "use" it.If you want to hide method based on flag then use if case to execute method if flag true.Otherwise do not execute anything.
General Programming
»
Uncategorised Quick Answers
»
General
.NET
WCF
What is Generics in c sharp? How can we use this and what is its use
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
Use below msdn link to understand generics in detailhttp://msdn.microsoft.com/en-gb/library/512aeb7t(v=vs.80).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Generics
Connection string Error in .net4.5
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
Such Exception generally occurs when you use infinite loop.Check if you r having infinite loop.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
4.5
Delete Multiple Tables in MS ACCESS 2007
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
You needs to set foreign Key Constraint with cascade rule.So that, when you delete parent record all child records gets deleted.Similar thing you can done manually in a single stored proc asFirst delete all child records then delete parent record.
General Programming
»
Uncategorised Quick Answers
»
General
msaccss
Querying using Entity Framework
by
snehal harawande
Answer
21 Mar 2013
license:
CPOL
Try entity framework tutorial on below link. Very nicehttp://www.entityframeworktutorial.net[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Framework
entity
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid