9,869,444 members (43,344 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*
132 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: Anurag Sinha V
[x]
Retriving partial data using any Jquery library on asp.net sql server project
by
Anurag Sinha V
Answer
8 May 2013
license:
CPOL
try this link:http://dimaxweb.github.io/jquery-paged-scroll/[^]-anurag
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
SQL-Server
Ajax
jQuery
Knockout.js
Re: I think you should discuss versioning strategy
by
Anurag Sinha V
Forum Message
24 Apr 2013
Hi..Thank you for your comment..Really appreciate that.. Will go through your link and will try to understand and make use of it. -Regards Anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
Re: Competition winners
by
Anurag Sinha V
Forum Message
21 Apr 2013
Thank you.. My article got 7th place...:) regards anurag
General Discussions
»
The Lounge
how compare two textbox dates in javascript
by
Anurag Sinha V
Answer
21 Apr 2013
license:
CPOL
http://stackoverflow.com/quest...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Competition winners
by
Anurag Sinha V
Forum Message
21 Apr 2013
It shows only the winners... Any other link where we could see the final standings?
General Discussions
»
The Lounge
Competition winners
by
Anurag Sinha V
Forum Message
21 Apr 2013
Hello People, Well this query might be a little weird, but how to know who won the monthly competitions held over here at CP. My article was in bid for the Best Web Dev article, for which voting e
General Discussions
»
The Lounge
Populate a Drop Down List using AJAX PageMethods and Javascript
by
Anurag Sinha V
Question
18 Apr 2013
license:
CPOL
Hello People,Greetings from Anurag..Ran into a problem today. I am trying to populate a dropdownlist via AJAX PageMethods,values for the DropDown list have to come from a SQL table.Wrote a function in the Data Access Layer which actually returns a List after interacting with the SQL...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
Ajax
How to display data based on dropdownlist and textbox and view button clicks
by
Anurag Sinha V
Answer
16 Apr 2013
license:
CPOL
Hi,This should get you started:protected void ddl_OnSelectedIndexChanged(){string x=DDLDepartmentInventory.SelectedItem.Value;string y=txtBoxPassword.Text;DataTable dt=PopulateGrid(x,y);gridview1.DataSource=dt;gridview1.DataBind();}public DataTable PopulateGrid(string...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL-Server
Populate a dropdownlist via another dropdownlist using AJAX and PageMethod
by
Anurag Sinha V
Question
16 Apr 2013
license:
CPOL
Hello people,Got into a weird problem, hope experts out here would be able to help.I am trying to populate a dropdownlist namely ddlStates when the values in the dropdownlist ddlCountry changes.I don't want to use the OnSelectedIndexChanged event of the dropdownlist and AutoPostBack...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Ajax
My vote of 5
by
Anurag Sinha V
Forum Message
10 Apr 2013
Quite Informative..My 5
General Discussions
»
Article "An Absolute Beginner's Tutorial On Cross Site Scripting(Xss) Prevention In Asp.Net"
Re: My Vote of 5
by
Anurag Sinha V
Forum Message
10 Apr 2013
Thank you... Appreciate it.. -Anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
Understanding Sql Query
by
Anurag Sinha V
Answer
8 Apr 2013
license:
CPOL
Its basically a ternary operator. The question mark combined with the colon sign.Works like this:string name = ABooleanExpression ? "Jack" : "Jill";If the boolean exp is true then the variable name will be assigned as Jack, if not then the variable name will be Jill.Refer this...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Binding grid in MVC3 architecture
by
Anurag Sinha V
Answer
8 Apr 2013
license:
CPOL
Hey,Have a look at the below URL.It might help you..http://www.dreamincode.net/forums/topic/229962-mvc-3-webgrid-inside-a-webgrid/[^]-Anurag
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Very Good Article for a beginner
by
Anurag Sinha V
Forum Message
7 Apr 2013
Thank you...Appreciate it.. Have a look at its sequel too.. -Anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
One confusion
by
Anurag Sinha V
Forum Message
5 Apr 2013
Hey, Thanks for a great article..it has been a reference to me..My 5 though.. :) Well, while coding a similar stuff, I encountered that the video does not play until you give 'https' in place of 'htt
General Discussions
»
Article "Displaying Videos From Youtube Channel In Asp.Net Website"
Remove data from database autometically at particular amount of time
by
Anurag Sinha V
Answer
5 Apr 2013
license:
CPOL
delete from dbo.Table where Date_Column
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to convert TextBox result to Unicode characters?
by
Anurag Sinha V
Answer
5 Apr 2013
license:
CPOL
Hi, You might wana check the below link, it is pretty useful.Google Translator[^]Try to implement it in your application.-Anurag
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
WinFrom
WCF: From a Beginner's perspective & a Tutorial
by
Anurag Sinha V
Article
4 Apr 2013
license:
CPOL
This article tries to dig in as to what is WCF, how to code WCF services
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
.NET3.5
C#
ASP.NET
Architect
Dev
WCF
Design
Beginner
.NET
.NET4
Re: Good Article
by
Anurag Sinha V
Forum Message
4 Apr 2013
Thank you..Appreciate it..Have a look at its sequel too..the URL is below: WCF: From a Beginn
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
instance failure in con.open()
by
Anurag Sinha V
Answer
3 Apr 2013
license:
CPOL
Hi,Why are you using static string variable in the first place?Code your connection string something as below:SqlConnection xconn = new SqlConnection(ConfigurationManager.ConnectionString["connectionStrings"].ToString());where connectionStrings is defined in the config file. You...
General Programming
»
Uncategorised Quick Answers
»
General
C#
need help in content control in wpf
by
Anurag Sinha V
Answer
3 Apr 2013
license:
CPOL
Hi, A basic Google search yielded me the following results. May be they can help you too. Have a look:http://www.wpftutorials.com/2011/03/content-controls.html[^]http://10rem.net/blog/2010/02/05/creating-customized-usercontrols-deriving-from-contentcontrol-in-wpf-4[^]-ANurag
General Programming
»
Uncategorised Quick Answers
»
General
WPF
now am create button here how set image on the button
by
Anurag Sinha V
Answer
3 Apr 2013
license:
CPOL
Hi,Have an image tag and a button in your form and on the onclick event of the button, write something as below:protected void button_click(){ImageID.ImageUrl="Images/pic.jpg";}It should do the trick.
General Programming
»
Uncategorised Quick Answers
»
General
Java
Java SE
J2EE
how to bind tree view from data base in wpf (user control)
by
Anurag Sinha V
Answer
3 Apr 2013
license:
CPOL
Hi, Have a look at the below url's..you will get a good idea.http://stackoverflow.com/questions/6558881/usercontrol-databinding-with-a-treeview[^]http://stackoverflow.com/questions/6648560/treeviewitem-using-user-control-and-binding[^]Happy coding!!!-Anurag
General Programming
»
Uncategorised Quick Answers
»
General
WPF
What is MVC in asp.net?
by
Anurag Sinha V
Answer
3 Apr 2013
license:
CPOL
Hi,Segregation of layers is the main view behind implementation of MVC. Have a look at the below...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Re: My vote of 4
by
Anurag Sinha V
Forum Message
3 Apr 2013
thank you... -anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial-Sequel"
Re: Good artical simply enough for beginner
by
Anurag Sinha V
Forum Message
2 Apr 2013
thank you..appreciate it...you can find articles on WCF too written by me.. -Anurag
General Discussions
»
Article "Web Services:From A Beginner's Perspective"
Stuff
by
Anurag Sinha V
Forum Message
2 Apr 2013
Your articles are pretty good and easy to get along with...5 from me.. -Anurag
General Discussions
»
Article "A Beginner's Tutorial For Understanding Wcf Instance Management "
WCF: From a Beginner's perspective and a tutorial - Sequel
by
Anurag Sinha V
Article
2 Apr 2013
license:
CPOL
This article gives a tutorial on consuming WCF service in ASP.NET web site and to create AJAX enabled WCF Service.
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
C#
ASP.NET
.NET
Architect
Dev
WCF
Beginner
developing website in asp.net
by
Anurag Sinha V
Answer
1 Apr 2013
license:
CPOL
Hi,There are a lot pf tutorials available on the internet to start with. Have a look at the below URLs:http://www.w3schools.com/aspnet/default.asp#gsc.tab=0[^]http://msdn.microsoft.com/en-us/library/aa581782.aspx[^]http://asp.net-tutorials.com/basics/first-website/[^]They would help...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Re: nice
by
Anurag Sinha V
Forum Message
27 Mar 2013
Thank you.Appreciate it.. -Anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
Img tag in Add section of Web.Config
by
Anurag Sinha V
Question
26 Mar 2013
license:
CPOL
Hi people,I am having a strange problem.I want to have a add tag containing an img tag under appSettings section in web.config file, so that in my code-behind I can call Server.MapMethod method and make use of it.The code builds successfully but it shows a sort of error as:The...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
web.Config
Write to an Excel File using WPF
by
Anurag Sinha V
Question
26 Mar 2013
license:
CPOL
Hi Folks,Have a disturbing doubt, hope mentors at CP would be able to assist.I have a simple WPF application, in which there is a button.The button is supposed to write data to an excel sheet, which ain't happening.I get an error while building the application that:'Window' is an...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WPF
Excel
InteropServices
Re: Good article for a beginner.
by
Anurag Sinha V
Forum Message
26 Mar 2013
Thank you. Appreciate it... Regards Anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
Re: HAPPY HOLI
by
Anurag Sinha V
Forum Message
26 Mar 2013
Happy Holi everybody...miss Mom's ghujiya and dahi-vada...god those were the days.... :) Office calling on Holi's eve too... :zzz: :zzz: -Anurag
Non-English Language
»
General Indian Topics
Re: many images missing
by
Anurag Sinha V
Forum Message
25 Mar 2013
Thank you..Would you mind voting the article?... :) -Regards Anurag
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
Re: many images missing
by
Anurag Sinha V
Forum Message
25 Mar 2013
Hello BigTimber@home, I again cross checked it, images are intact and pretty ok. Would you mind if you would directly browse over to the following URL?
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
Re: many images missing
by
Anurag Sinha V
Forum Message
25 Mar 2013
Hi Can you have a look again? All the images are intact and the article is fine from my end. I double checked before submitting because I have a lot of images in the article. Can you try in some
General Discussions
»
Article "Wcf: From A Beginner's Perspective & A Tutorial"
work with Cannon SDK
by
Anurag Sinha V
Answer
20 Mar 2013
license:
CPOL
https://github.com/esskar/Cano...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to replace last characters from a string using jquery/javascript?
by
Anurag Sinha V
Answer
20 Mar 2013
license:
CPOL
Hi,You can use Splice method to remove the last object.Store your stuff as an array, find the index of the element which you wana delete and use splice method over it.var arrayMy=[1,2,3,4];var x=arrayMy.indexOf(4);arrayMy.Splice(x,1);hope it helps.-Anurag
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
jQuery
How to replace last characters from a string using jquery/javascript?
by
Anurag Sinha V
Answer
20 Mar 2013
license:
CPOL
Hi,You can use Splice method to remove the last object.Store your stuff as an array, find the index of the element which you wana delete and use splice method over it.var arrayMy=[1,2,3,4];var x=arrayMy.indexOf(4);arrayMy.Splice(x,1);hope it helps.-Anurag
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
jQuery
Image from SQL Database
by
Anurag Sinha V
Answer
20 Mar 2013
license:
CPOL
HI folks..thought sm stuffs and took help from the above solution and have finally solved this issue.I was missing a stuff.Have kept the image name in the Db and instead of assigning the ImageUrl in the .aspx page, I am assigning it in the aspx.cs page.Something like...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
Image from SQL Database
by
Anurag Sinha V
Question
20 Mar 2013
license:
CPOL
Hi Folks,Have a weird ask.I have 4 sections in a web page, out of which one section is an image.A SQL table having 5 columns is prepared, corresponding to the 4 sections of the web page.Even the image name is stored in one of the column of the table.My requirement is how to apply...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
[Solved]Display data from SQL columns to ASP.NET labels in a web page
by
Anurag Sinha V
Answer
15 Mar 2013
license:
CPOL
Hi people,Found out the solution by some R & D..:) and hence thought of sharing.Since we don't have a DataSource property for an ASP.NET label, we can't bind the Db directly to the label.Instead, we can use SqlDataReader to iterate throught the query provided and then equating the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
[Solved]Display data from SQL columns to ASP.NET labels in a web page
by
Anurag Sinha V
Question
15 Mar 2013
license:
CPOL
Hello people, Am stuck on a piece of code.Basically I need to display data from SQL table to few labels in an ASP.NET page.I created a method in a class file(Data Access layer), which selected the whole table from the SQL db and returned to the aspx.cs page as a DataTable,on the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
how to bind values from sql tables to grid view
by
Anurag Sinha V
Answer
14 Mar 2013
license:
CPOL
Hi,Have a data access layer as a class file to actually differentiate between your presentation class and your code logics.Create a method in your class file as below:public DataTable PopulateGrid(){//Have a connection object here, name it as xconn...SqlDataAdapter da=new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
how to pass the control to unfilled textbox
by
Anurag Sinha V
Answer
14 Mar 2013
license:
CPOL
Client side code:function CallMe(){var x= document.getElementById("id of textbox").value;if(x=="" || x==null){alert("Some stuffs are missing");}}Then you can call this Javascript code from your C# code behind as below:protected void button_click(object sender,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to save listbox value in sqlserver
by
Anurag Sinha V
Answer
13 Mar 2013
license:
CPOL
Hi,Have a look at the below code:It iterates for the number of items in your listbox and inserts them into the table in sql.Just a sample code..you can enhance it further, and don't forget to use try-catch-finally block..protected void Button1_Click(object sender, EventArgs e) ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
C#4.0
need a simply tutorial
by
Anurag Sinha V
Answer
13 Mar 2013
license:
CPOL
have a look at the below links:A POP3 Client in C# .NET[^]http://dustyreagan.com/tutorial-on-how-to-open-and-read-email/[^]http://www.developerfusion.com/article/4071/how-to-pop3-in-c/2/[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
SPEED FOR MY WEBSITE
by
Anurag Sinha V
Answer
13 Mar 2013
license:
CPOL
Hi,You can have a look at the below suggestions:1)Have a domain cache in your .net code.Ideally your application should cache all the columns from the tables which you need for the very first time when the application is accessed.Then from the second time onwards, it should use the...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
how to pass the control to unfilled textbox
by
Anurag Sinha V
Answer
13 Mar 2013
license:
CPOL
Hi,On button click event, you can add the below code:if(string.IsNullorEmpty(TextBox1.Text)){TextBox1.Focus();}-Regards
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid