9,868,710 members (39,417 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: Faisal(mfrony)
[x]
Re: My vote of 5
by
Faisal(mfrony)
Forum Message
13 May 2013
Did you Vote ? But i cant see any vote there . By the way it helps you that's enough. Thanks you
General Discussions
»
Tip/Trick "Bind Object With Functions In Javascript"
Re: Code does not work - It works mostly my Vote of 4
by
Faisal(mfrony)
Forum Message
12 May 2013
Hi, Calculator.["sub"] is wrong i think it is Calculator["sub"]() the dot(.) is not needed. Did you vote ? if you feet problem sill please let me know,will try to give better solution. Thanks
General Discussions
»
Tip/Trick "Bind Object With Functions In Javascript"
Re: My vote of 4
by
Faisal(mfrony)
Forum Message
7 May 2013
Thanks
General Discussions
»
Article "Understand Single Responsibility And Interface Segregation"
Re: Sorry, but I simple don't get your example.
by
Faisal(mfrony)
Forum Message
6 May 2013
Here is my another revision
General Discussions
»
Article "Understand Liskov Substitution"
Understand Liskov Substitution
by
Faisal(mfrony)
Article
5 May 2013
license:
CPOL
This Article will help you to better understand the LSP
Development Lifecycle
»
Design And Architecture
»
Application Design
C#
.NET
Advanced
Understand Open Closed Principle and Dependency Inversion
by
Faisal(mfrony)
Article
5 May 2013
license:
CPOL
This article will help you better understand OCP and DI.
Development Lifecycle
»
Design And Architecture
»
General
C#
ASP.NET
.NET
CEO
Architect
Design
Advanced
Re: CalculatePriceAfterTax
by
Faisal(mfrony)
Forum Message
5 May 2013
Hi, Thanks Paulo for answering, I am the author . I didn't take this code from any other places it just comea on my mind and I wrote that one. Thanks
General Discussions
»
Article "Understand Single Responsibility And Interface Segregation"
Re: Sorry, but I simple don't get your example.
by
Faisal(mfrony)
Forum Message
5 May 2013
Many thanks for your valuable comments. No need to say sorry , you point me the right direction. Submitting another revision quickly. i get the point you mention. Thanks again for giving me the scope
General Discussions
»
Article "Understand Liskov Substitution"
Re: Good Job! Very clearly and useful~
by
Faisal(mfrony)
Forum Message
4 May 2013
Thanks, for your valuable comments.
General Discussions
»
Article "Understand Single Responsibility And Interface Segregation"
Understand Single Responsibility and Interface Segregation
by
Faisal(mfrony)
Article
3 May 2013
license:
CPOL
This Article will help you to better understand the SRP (single responsibility principle) and ISP(Interface Segregation principle)
Development Lifecycle
»
Design And Architecture
»
Application Design
C#
.NET
Advanced
Re: A few suggestions.
by
Faisal(mfrony)
Forum Message
2 May 2013
Yes of-course you can raise point and i really appreciate your suggestion. I will look into this. Thanks
General Discussions
»
Article "Understand Open Closed Principle And Dependecy Inversion"
Re: My vote of 5
by
Faisal(mfrony)
Forum Message
2 May 2013
Thanks
General Discussions
»
Article "Understand Open Closed Principle And Dependecy Inversion"
Re: My vote of 5
by
Faisal(mfrony)
Forum Message
2 May 2013
Thank you , Your comments inspire me . I will try my best.
General Discussions
»
Article "Understand Open Closed Principle And Dependecy Inversion"
Bind Object With Functions in JavaScript
by
Faisal(mfrony)
Tip/Trick
1 May 2013
license:
CPOL
This tip will show the power of closure in OO JavaScript
Web Development
»
Client Side Scripting
»
General
Javascript
Advanced
Re: Are you showing production code in your examples?
by
Faisal(mfrony)
Forum Message
1 May 2013
No Not at all its just a dummy code
General Discussions
»
Article "Code Smells Or Speaks"
Re: More expressive, but still unreadable
by
Faisal(mfrony)
Forum Message
1 May 2013
Thank you very much for suggesting me the right way.
General Discussions
»
Article "Code Smells Or Speaks"
Re: [My vote of 1] Dear lord, your code doesn't just smell, it stinks.
by
Faisal(mfrony)
Forum Message
1 May 2013
Thank you very much for directing me on the right way and helping me in learning. Thanks again
General Discussions
»
Article "Code Smells Or Speaks"
Code Smells or Speaks
by
Faisal(mfrony)
Article
30 Apr 2013
license:
CPOL
This article will help you to think a different way while writing code.
Development Lifecycle
»
Design And Architecture
»
General
C#
count the total number of specified characters in a url using windows form c#
by
Faisal(mfrony)
Answer
18 Apr 2013
license:
CPOL
string str="@@##$$";int count = str.Where(p=>p=='@').Count();
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to clear datagrid values after click save button
by
Faisal(mfrony)
Answer
18 Apr 2013
license:
CPOL
This will clear your grid DataGridView1.DataSource = null;DataGridView1.DataBind()
General Programming
»
Uncategorised Quick Answers
»
General
C#
Master Page how to hide div of master page in particular webform asp.net c# Error
by
Faisal(mfrony)
Answer
18 Apr 2013
license:
CPOL
You can try thisthis.Page.Master.FindControl("Id of control that have runat=server")
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Linq Dynamic group by statement
by
Faisal(mfrony)
Answer
15 Apr 2013
license:
CPOL
var gcols = new string[] { "CarType", "Colour" }; var result = dt.AsEnumerable() .GroupBy(x => new[] { x.Field(gcols.FirstOrDefault()), ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
LINQ
selected dropdown value into the list box(multiple values) and then insert those into database with the same id
by
Faisal(mfrony)
Answer
14 Apr 2013
license:
CPOL
var ddl = this.DropDownList1.Items.Cast>(); var lst = this.lstid.Items.Cast>(); if (ddl.ToArray().Intersect(lst.ToArray()).Count() == ddl.Count()) { //insert to database } else { ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
hai,how do button action events genaret in alertbox at the time insert values in database
by
Faisal(mfrony)
Answer
12 Apr 2013
license:
CPOL
function confirm_meth(){ if( confirm("Do you want to continue!Click 'YES'")) { document.writeln ("You had click on 'YES' Button"); } else { document.writeln ("You had clic on 'NO' Button"); }}
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to convert string array to int array without using loops.
by
Faisal(mfrony)
Answer
12 Apr 2013
license:
CPOL
Array.ConvertAll(strArr ,p=>Convert.ToInt32(p));Hope this will Work
General Programming
»
Uncategorised Quick Answers
»
General
C#
convert
arrays
Custom List from actual List (without duplicates)
by
Faisal(mfrony)
Answer
12 Apr 2013
license:
CPOL
list1.GroupBy(p=>p.YourElement...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Alert and Post the page in Asp.Net
by
Faisal(mfrony)
Answer
12 Oct 2012
license:
CPOL
Please replace the this with Page ScriptManager.RegisterClientScriptBlock(Page, Page.GetType(), "clientscript", "alert('Your details have successfully registered with us. Kindly check your mail inbox to login.')", true);Hope this will help youThanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
what is the deal with the IEnumerable interface?
by
Faisal(mfrony)
Answer
21 May 2012
license:
CPOL
Like the way you ask the question.Asking a question is much better than siting unknown.By the way, IEnumerator is an interface wich is designed to access each element of a list. whenever you want to access an element of a list it internally calls the interface.Below link will help...
General Programming
»
Uncategorised Quick Answers
»
General
C#
what is the target for a delegate
by
Faisal(mfrony)
Answer
30 Nov 2011
license:
CPOL
HiDelegate is a reference of a method.You find it very useful when you need to calla method of parent from the child control.Because you cant access any method of parent from child.Declare delegate in child control . In parent control point it . and call when needed from child.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Problem to refresh the page everytime to show the label and to make buttons invisble
by
Faisal(mfrony)
Answer
3 Nov 2011
license:
CPOL
Hi Just rebind your grid and after that update the update panel.this.UPDATEPANEL_ID.update(); UPDATEPANEL_ID is the id of your update panel.Hope it works.ThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
ajax Calendar popup Unable
by
Faisal(mfrony)
Answer
17 Oct 2011
license:
CPOL
For Calender you set PopupButtonID="ImageBotton1" but there is not control holding id "ImageBotton1" the following code workd thererunat="server" ImageUrl="~/images/calander.gif" />ThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
Read Keys Dynamically In Web Form ?
by
Faisal(mfrony)
Answer
8 Sep 2011
license:
CPOL
Hi,I just want to Share my Ideas not the solution its up to you.1) You can write code on text change event and call db populate the grid -> which is very slow process synchronous call.2) Use Page method get the out put source and build the tag at run time and set it to a div's...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
asynchronous & synchronous call
by
Faisal(mfrony)
Answer
8 Sep 2011
license:
CPOL
Hi,Below link will help you to understandasynchronous & synchronous callThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
providing drag and drop to image on table in asp.net
by
Faisal(mfrony)
Answer
8 Sep 2011
license:
CPOL
hiuse this concept i rember i use this. View the Page source will help you.SwapableThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C++
ASP.NET
providing drag and drop to image on table in asp.net
by
Faisal(mfrony)
Answer
8 Sep 2011
license:
CPOL
Hi,I cant give you any specific solution .But I did that type of work usingjQueryDraggablejQuerydroppableyou can see the link hope it helps youThanksFaisalHiPlease follow the link i hope it will exactly what you are looking forExampleIf it solve your problem pleas mar...
General Programming
»
Uncategorised Quick Answers
»
General
C++
ASP.NET
How to delete row in Grid.
by
Faisal(mfrony)
Answer
8 Sep 2011
license:
CPOL
Hi,You need to rebind the grid after deleting each item with your updated data source.If you post more code it will help me to provide specific answerThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
clear the session while browser is closed
by
Faisal(mfrony)
Answer
16 Aug 2011
license:
CPOL
Hope this might help youhttp://weblogs.asp.net/kodali/archive/2010/04/29/asp-net-session-on-browser-close.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Sharepoint
add a textbox control manually problem
by
Faisal(mfrony)
Answer
8 Jul 2011
license:
CPOL
Hiif you write like below it only availabe on client browser means u can call this control by using client script(javascript/jQuery) but not in C# .cs file but if you want to access the control from C# .cs file u have to use runat attribute . if you runat="SERVER"thanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
Errors
call c# function in JavaScript Function
by
Faisal(mfrony)
Answer
30 Jun 2011
license:
CPOL
You can use Page Method callPlease look below linkhttp://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/[^]ThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
Javascript
how to create dynamic button array in Asp.net?
by
Faisal(mfrony)
Answer
29 Jun 2011
license:
CPOL
Below code Might Help YouListlist = new List(); for (int runs = 0; runs
General Programming
»
Uncategorised Quick Answers
»
General
C#
Add 1 new row for each row and then update all the records, but it JUST Update 1 / 2 records of Girdview ?
by
Faisal(mfrony)
Answer
28 Jun 2011
license:
CPOL
please check the grid bind code is it in (!isPostback ) block if not then do itThis might solve your problemThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
print the current form
by
Faisal(mfrony)
Answer
27 Jun 2011
license:
CPOL
altr + printscreen then paste in printthanksfaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
how set keypress in form in c#
by
Faisal(mfrony)
Answer
27 Jun 2011
license:
CPOL
forms' onkeypressevent write a javascript function which detectes the key code if it is 32(space bar ascii) then call (selector).click() using jquery.below link might help youhttp://forums.asp.net/t/1219638.aspx/1ThanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
keypress
how to write query ? insert data in 2 table
by
Faisal(mfrony)
Answer
27 Jun 2011
license:
CPOL
You can use trigger please look at thisthis might help youhttp://khanrahim.wordpress.com/2009/12/04/how-to-write-trigger-in-sql-server-2005/thanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
C#
SQL-Server
Crystal report ask for database id and password
by
Faisal(mfrony)
Answer
27 Jun 2011
license:
CPOL
I face the same problem the problem I found that i am not passing the same parameter value as it was it .rpt file from my cs filethanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
CrystalReports
Gridview RowIndex Error - Index was out of range...
by
Faisal(mfrony)
Answer
27 Jun 2011
license:
CPOL
how or what you set on e.CommandArgument are u setting the rowindex values in e.CommandArgument this migth be the case.thanksfaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
count number of pages
by
Faisal(mfrony)
Answer
27 Jun 2011
license:
CPOL
is your data is in gridview common mistakeInstead of using Gridview.Rows.count you can use table.rows.count here table is Gridview datasource tablethanksFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how the connectionstring is retrieve from this code
by
Faisal(mfrony)
Answer
24 Jun 2011
license:
CPOL
Put a debug point here trace using F10 put the value in quick watch window
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
C#
.NET
Not able to retrieve dataset
by
Faisal(mfrony)
Answer
24 Jun 2011
license:
CPOL
Check the web.config is your path for dbconnection is ok.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how to hide a submitted row dynamically in grid view
by
Faisal(mfrony)
Answer
24 Jun 2011
license:
CPOL
You can try the following from t1 in db.Table1join t2 in db.Table2 on t1.field not equals t2.fieldselect new { t1.field2, t2.field3}regardsFaisal
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
Server
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid