9,867,109 members (48,826 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*
51 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: Prasad C.M.
[x]
Javascript Asp.net Validation
by
Prasad C.M.
Answer
13 May 2013
license:
CPOL
Just change OnClientClick ="javascript:validate()" to OnClientClick ="return validate()"
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
how to fetch missed name from another table
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
try like this ..conn.Open();DataTable dtusers = new DataTable(); SqlDataAdapter da = new SqlDataAdapter("select name from admin_table where name not in (select name from daily_att where tdate='"+tdat+"' ) ", conn); SqlCommandBuilder cmd = new...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
when i click the generate button output to be shown in gridview
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
try with single query ...sql = "Select studid,Bfid,Rate,Class from student,batch";after this bind grid
General Programming
»
Uncategorised Quick Answers
»
General
C#
Unable to parse JSON string error in my Phonegap project
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
Try by removing double quote "vehicleId" as vehicleId[ { vehicleId: "1", status: "Running", position: "x", battery: "25", distanceTravelled: "123", destination: "y", freeSeats: "2", speed: "32" }]
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
Mobile
Android
JSON
PhoneGap
jquery selector suggestion
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
Try this .. simple one ..$(".jcrop-holder div:not('.img')").remove();OR$(".jcrop-holder div:not('img')").remove();
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
jquery selector suggestion
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
Try this .. $(document).ready(function () { $("#btn").click(function () { var allListElements = $(".jcrop-holder").find('*'); ...
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
ASP.NET TextBox's content validation !
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
Try This ... function isNumberic(evt) { var charCode = (evt.which) ? evt.which : event.keyCode if (charCode > 31 && (charCode 57)) return false; return true; ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Visual-Studio
C#
C#4.0
AjaxFileUpload1_UploadComplete event firing if i pass query string for the page
by
Prasad C.M.
Question
7 Sep 2012
license:
CPOL
HI .. I am using AjaxFileUpload1 of Ajax control toolkit.I am passing query string to page where i am using AjaxFileUpload1 control(Say for example for page WebForm1.aspx?Key=22)But problem here is if i pass query string to WebForm1.aspx pagethat time protected void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Ajax
SQL Server 2008 Error: Saving changes is not permitted
by
Prasad C.M.
Tip/Trick
22 Apr 2012
license:
CPOL
How to fix this error.
Database
»
Database
»
Sql Server
SQL
.NET
SQL-Server
DBA
ADO.NET
Beginner
Intermediate
SQL2008R2
Re: Tip
by
Prasad C.M.
Forum Message
21 Apr 2012
ur right.. thx.. Prasad C.M.
General Discussions
»
Article "Sql Server 2008 Error : Saving Changes Is Not Permitted"
Problem with condition c#
by
Prasad C.M.
Answer
21 Apr 2012
license:
CPOL
ok.. Just try this... All in one..Code for reading data from file..OpenFileDialog openFileDialog = new OpenFileDialog();openFileDialog.ShowDialog();string[] dataFromFile = System.IO.File.ReadAllLines(openFileDialog.FileName);Array.Sort(dataFromFile);listBox1.DataSource =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Date and Time in asp.net
by
Prasad C.M.
Answer
20 Apr 2012
license:
CPOL
Just Use this code..protected void UpdateTimer_Tick(object sender, EventArgs e){ Label3.Text = "Last Updated at : " + DateTime.Now.AddMinutes(-5).ToLongTimeString();}
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to split strings in sql server
by
Prasad C.M.
Answer
20 Apr 2012
license:
CPOL
First, create a functioncreate function SplitString ( @str nvarchar(4000), @separator char(1) ) returns table AS return ( with tokens(p, a, b) AS ( select 1, 1, ...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
EXCEL INTERLOP CHART ERROR C# - A share violation has occurred. (Exception from HRESULT: 0x80030020 (STG_E_SHAREVIOLATION))
by
Prasad C.M.
Answer
14 Apr 2012
license:
CPOL
Please cross check the version of theInterop.Microsoft.Office.Interop.Excel.dllInterop.Microsoft.Office.Core.dllthese two dll s with your refence.
General Programming
»
Uncategorised Quick Answers
»
General
C#
VB
Excel
VB.NET
charts
Charting
Asp.net : Problems accessing controls of child gridview
by
Prasad C.M.
Answer
14 Apr 2012
license:
CPOL
I dont know how u r binding child grid view?Here is one exaple
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Asp.net : Problems accessing controls of child gridview
by
Prasad C.M.
Answer
14 Apr 2012
license:
CPOL
Here is One more Solution...protected void GridView2_RowUpdating(object sender, GridViewUpdateEventArgs e){ int index = GridView1.EditIndex; GridViewRow row = GridView1.Rows[index]; GridView childGridView = (GridView)row.FindControl("GridView2"); string model =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Asp.net : Problems accessing controls of child gridview
by
Prasad C.M.
Answer
14 Apr 2012
license:
CPOL
Instead of thisGridView gvwnested = (GridView)GridView1.Rows[e.RowIndex].Cells[1].FindControl("GridView2");Just try this one GridView gvwnested = (GridView)GridView1.Rows[0].Cells[1].FindControl("GridView2");Here u cant use GridView1.Rows[e.RowIndex] Since u r calling this...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Asp.net : Problems accessing controls of child gridview
by
Prasad C.M.
Answer
13 Apr 2012
license:
CPOL
I dont know how you are using gridviews, So i am just assuming GridView inside GridView like as follows.I hope this will help you. AutoGenerateColumns="False" onrowupdating="GridView1_RowUpdating"> ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to use membership for locking user in asp.net website?
by
Prasad C.M.
Answer
23 Jun 2011
license:
CPOL
Try This One... connectionString= "data source=.\SQLEXPRESS; Integrated Security=SSPI; AttachDBFilename=|DataDirectory|\aspnetdb.mdf; User Instance=true" providerName="System.Data.SqlClient"/>
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SqlServer
I never wrap single line statements - only multiple lines get wrapped. [modified]
by
Prasad C.M.
Forum Message
23 Jun 2011
I never wrap single line statements - only multiple lines get wrapped. Prasad C.M. modified on Thursday, June 23, 2011 6:20 AM
General Discussions
»
Survey "Do You Wrap Single Line Statements In Braces (Or Begin/End)?" (16 May 2011)
JavaScript Date Format Problem
by
Prasad C.M.
Question
22 Jun 2011
license:
CPOL
This is My Codevar txtFromDate = document.getElementById("").value;var txtToDate = document.getElementById("").value;var D1 = new Date(txtFromDate);var D2 = new Date(txtToDate);if(D1 > D2) alert("FromDate cannot be greater than...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Avoiding Multiple Clicks of Button
by
Prasad C.M.
Answer
22 Jun 2011
license:
CPOL
Here is one Simple Solution... Just Try It..--> Inside btnSearch_Click Event MentionbtnSearch.Enabled = false--> Use One more Button "Clear"--> And Inside btnClear_Click Event MentionbtnSearch.Enabled = true
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
Silverlight
C#4.0
how to download a file from the server in Asp.net 2.0
by
Prasad C.M.
Answer
16 Jun 2011
license:
CPOL
Try This One..string filepath = Server.MapPath("-- File Path Here --");// Create New instance of FileInfo class to get the properties of the file being downloadedFileInfo myfile = new FileInfo(filepath);// Checking if file existsif (myfile.Exists){// Clear the content of the...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how insert row in gridview?
by
Prasad C.M.
Answer
15 Jun 2011
license:
CPOL
U Can Try This Aslo...Go GridView PropertySet "ShowFooter" property to true
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how can i retrieve table data from sqlserver and it must bibd in asp gridcontrol
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Try This...SqlConnection con = new SqlConnection("Data Source=(local);Database=UrDatabaseName;uid=sa;pwd=sa");con.Open();string Query = "Select * from Employee";SqlDataAdapter da = new SqlDataAdapter(Query, con);DataTable DT = new DataTable();da.Fill(DT);GridView2.DataSource =...
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
.NET
Page 1 of 3
1
2
3
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