9,867,803 members (39,770 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*
54 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: Prasad C.M.
[x]
Public variable invoking incorrect result
by
Prasad C.M.
Answer
14 May 2013
license:
CPOL
Try by changing to static variablepublic string anz;aspublic static string anz;
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
.NET4
how to view a "$" in my label
by
Prasad C.M.
Answer
14 May 2013
license:
CPOL
Try like this ..'>
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Remove duplicate data From table in sqlserver table
by
Prasad C.M.
Answer
14 May 2013
license:
CPOL
Try this one ..SELECT Name, MAX(ID) FROM tablenameGROUP BY Name
General Programming
»
Uncategorised Quick Answers
»
General
sqlserver2008
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
Display Images in gridview
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Check Out This Link You May Get Solution...Displaying Images from a Database in a GridView
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#3.5
Insert Trigger MS SQL 2008
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Here is the SolutionCREATE Trigger trg_AON AFOR INSERTASBeginDeclare @Col1 int, @Col2 varchar(20)Select @Col1=i.col1,@Col2=i.col2FROM Inserted iINSERT INTO B VALUES(@Col1,@Col2)End
General Programming
»
Uncategorised Quick Answers
»
General
C#
Any Free Third Party Tree View Control Available ?
by
Prasad C.M.
Question
13 Jun 2011
license:
CPOL
Any Free Third Party Tree View Control Available ?That Should Work In Visual Studio 2003I Used WebControls Released by Microsoft(Microsoft.Web.UI.WebControls)But that is working Only in IENot in other Browser Like SafariSo Im thinking to useFree Third Party Tree View...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to attach one or more files in a mail.
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Check Out This Link..You May Get Solution..ASP.NET email with multiple attachmentsAs Per Ur CodeJust Create More Attachment ObjectAnd That One AlsomyMess.Attachments.Add(objAttachment1);myMess.Attachments.Add(objAttachment2);
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
allow only one decimal point in a Text Box in Asp.Net. how to write javascript function?
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Here is JavaScript..function Validate(form) { var TB = form.TextBox1.Value Var str = TB.split(/\./); if(str.length>2) return false; return true;}And TextBox
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
i want one label field when i click rowediting button
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Here is The Solution..Define CustomerID Field as follows..Inside EditItemTemplate Text=''>...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Drop Down List not displays age correctly in gridview
by
Prasad C.M.
Answer
13 Jun 2011
license:
CPOL
Instead Of This One " >U Can Directly UseSo That Age Will Load for Each Employee
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Drop Down List not displays age correctly in gridview
by
Prasad C.M.
Answer
12 Jun 2011
license:
CPOL
Here Is the Solution...Change In ItemTemplateDataSource=''ToDataTextField=''Like This... '>
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Require JavaScript Validation bw From date and To date Texboxes
by
Prasad C.M.
Question
12 Jun 2011
license:
CPOL
Hello, I have two Textboxes txtFromDate and txtToDateFor this I want JavaScript Function that Should validate--> From Date should be less than To Date--> To DAte should be greater than From DateNote: I am Using Calender Extender Control fromAjax Control Toolkit for these both...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Modal pop up extender hiding problem in asp.net
by
Prasad C.M.
Answer
12 Jun 2011
license:
CPOL
Do You Want Code to Hide ModalPopUp ?Y Im asking this means If We Click or Press Enterthe ModalPop COntrol Will automatically Close.Ok Any Way...If Yes Here is the Simple Solution ...ModalPopupExtender1.Hide();Check Out This..
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to load modalpopup with button click inside datalist
by
Prasad C.M.
Answer
10 Jun 2011
license:
CPOL
style="background-color: #CC33FF" > style="background-color: #3399FF; cursor:move" >
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to load modalpopup with button click inside datalist
by
Prasad C.M.
Answer
10 Jun 2011
license:
CPOL
Here Is One Solution..protected void Button1_Click(object sender, EventArgs e){ ModalPopupExtender1.Show();}Check Out This...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
linking two dropdown list using asp.net vb code
by
Prasad C.M.
Answer
10 Jun 2011
license:
CPOL
Do You Mean Cascading DropDownList ?If That SoCheck Out This Link...Cascading DropDownList
General Programming
»
Uncategorised Quick Answers
»
General
VB
ASP.NET
Code
Navigate to Top of the Page and to Bottom of the Page on Clicking Link Button
by
Prasad C.M.
Question
10 Jun 2011
license:
CPOL
Hello, I Want a C# Code to Navigate to Top of the Pageand to Bottom of the Page on Clicking Link ButtonOr ButtonTOPBOTTOM
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
how to display images in areport
by
Prasad C.M.
Answer
10 Jun 2011
license:
CPOL
Try To Store Images in Memory StreamInstead of Saving Images File PathSo That U CAn Directly Bind that Value to Report..May Be This LInk Will Helpfull to YouCheck OUt This...ImageSaveInDataBaseAnd Check THis Link Aslo...ImagesInReportView
General Programming
»
Uncategorised Quick Answers
»
General
VS2008
Visual-Studio
Create Conection String
by
Prasad C.M.
Answer
9 Jun 2011
license:
CPOL
First Import NameSpaceusing System.Data.SqlClient;And Use Following CodeSqlConnection SqlCon = new SqlConnection("server=UrSQLserverName;database=DatabaseName;uid=SqlUserID;pwd=SqlPassword");And Then Open Sql ConnectionSqlCon.Open()And Do Ur Sql Operations....
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
Beginner
create the meta data from class
by
Prasad C.M.
Answer
9 Jun 2011
license:
CPOL
Check OUt HereYou May get SolutionMeta Data
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
has radiobuttonList replaced radiobutton in asp.net. If not, in what situation can we use radiobutton
by
Prasad C.M.
Answer
9 Jun 2011
license:
CPOL
Link For Radio Button ListLink For Radio ButtonCheck Out These Two....
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
has radiobuttonList replaced radiobutton in asp.net. If not, in what situation can we use radiobutton
by
Prasad C.M.
Answer
9 Jun 2011
license:
CPOL
Check Out This LinkRadioButton vs RadioButtonList This May Help You...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Searching from database.
by
Prasad C.M.
Answer
9 Jun 2011
license:
CPOL
As I Understood Ur QuestionI Given Solution Like As Follows
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
C#3.5
want to rename the column of Data grid view
by
Prasad C.M.
Answer
9 Jun 2011
license:
CPOL
Here is One Solution For That...Use Alias Name for each Column Name Inside Query that U R going to executeLike This..Select catID as Cat ID, desc as Description, catName as Category Name from UrTable
General Programming
»
Uncategorised Quick Answers
»
General
C#
select content page gridview from master page without querystring
by
Prasad C.M.
Answer
8 Jun 2011
license:
CPOL
Hey Don't Use this code inside PAge_Load EventTextBox txt = (TextBox)Master.FindControl("TextBox1");Or Else Do One thing place one more button in content pageand inside button_Click Event Use this CodeIt will work...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
ASP.NET
C#
SQL-Server
C#4.0
Page 1 of 2
1
2
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