9,868,710 members (43,131 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*
232 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 5
Page Size:
10
·
25
·
50
Author filtered by: S. M. Ahasan Habib
[x]
My vote of 5
by
S. M. Ahasan Habib
Forum Message
15 Apr 2013
Nice!
General Discussions
»
Technical Blog "Metro Ui Alert Message Using Asp.Net User Control & Jquery"
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
13 Apr 2013
Thanks for your wonderful comments. I will try my best.
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
4 Apr 2013
Thanks :)
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
My vote of 5
by
S. M. Ahasan Habib
Forum Message
3 Apr 2013
Nice explanation!
General Discussions
»
Article "A Beginner's Tutorial On Creating Wcf Rest Services"
My vote of 5
by
S. M. Ahasan Habib
Forum Message
1 Apr 2013
Nice!
General Discussions
»
Article "Twitterbootstrapmvc"
Export Sql Table To text file On Local Machine
by
S. M. Ahasan Habib
Answer
31 Mar 2013
license:
CPOL
You can create a powershell script as your requirement and execute it. It will store your sqlserver data to your local or any share location. Just you take a basic idea about powershell if you have not. Then go the following...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Gridview cell access using javascript
by
S. M. Ahasan Habib
Answer
31 Mar 2013
license:
CPOL
asp.net grid view render html table. So when you use javascript then you should travase html table. The following code spinet will help you to understand the process.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-2.0
selected city_id is not getting inserted
by
S. M. Ahasan Habib
Answer
30 Mar 2013
license:
CPOL
Your insert sql code and data binding code is completely alright. What your problem is Your Event handler code. When you change your State you should handle ddlState (state drop down) selected index change event. You should make sure when State is changed then in the same time your above city...
General Programming
»
Uncategorised Quick Answers
»
General
C#
VS2010 Crystal report ask for Username and Password
by
S. M. Ahasan Habib
Answer
29 Mar 2013
license:
CPOL
Crystal Report is different application, Your database(sql express) is different application. Crystal report depends on SqlServer for data. When it need data then it goes to sqlserver. Then sqlserver ask authentication that you currently face. Now i hope you understand crystal report actually...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
C#
C#4.0
Desktop
DOWNLOAD of excel file should be on client machine
by
S. M. Ahasan Habib
Answer
29 Mar 2013
license:
CPOL
For security reason you cannot access client file system from your web application(from browser). Only Internet Explorer can do it with its ActiveX component. Besides that You can access it with Silgerlight/Adobe flash based application which run in a sandbox with browser plugin. What you can do...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
schedule and command to a software with c#...
by
S. M. Ahasan Habib
Answer
29 Mar 2013
license:
CPOL
System.Diagnostics.Process.Sta...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Run Two stored procedures simultaneously in the background worker
by
S. M. Ahasan Habib
Answer
28 Mar 2013
license:
CPOL
I think many ways you can do that.1.You can use 2 Backgroundworker instance for execute 2 different procedure.2. You can use 1 Backgroundworker which will update your progressbar another you can create a thread and run that thread as background thread. That will execute your another...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
BackgroundWorker
how to call the code behind function
by
S. M. Ahasan Habib
Answer
28 Mar 2013
license:
CPOL
First you need to take reference of ScriptManager control from your page.If it is already there to your masterpage then no need. Then from your mobilevalidate method you can call server side method CheckDateTime like as...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
jQuery
Connecting to 2 different servers
by
S. M. Ahasan Habib
Answer
28 Mar 2013
license:
CPOL
There are many ways you can communicate 2 web servers.1. You can create webservice from one web application and consume it from others.2. You can create wcf service from one web application and consume it from others.3. You can create asp.net web api from one web application and call and...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
28 Mar 2013
Thanks :)
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
Re: My vote of 4
by
S. M. Ahasan Habib
Forum Message
26 Mar 2013
Thanks!
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
Re: Good stuff
by
S. M. Ahasan Habib
Forum Message
26 Mar 2013
Thanks!
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
How to test an incoming xml file
by
S. M. Ahasan Habib
Answer
25 Mar 2013
license:
CPOL
You can validate your xml data format(schema) by xsd file. If you go through the following article then you an easily understand the way.Simple code to validate an XML file against a schema file (XSD)[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
XML
Cross-thread operation not valid: Control 'listView1' accessed from a thread other than the thread it was created on
by
S. M. Ahasan Habib
Answer
25 Mar 2013
license:
CPOL
Accessing UI element from different thread is not possible. Most possibly your code is running under different thread. If so then you can change your code and run it under main (ui) thread. If you need to access it from different thread then simply read the value as you normally do. Only to...
General Programming
»
Uncategorised Quick Answers
»
General
C
ASP.NET
Re: excellent!
by
S. M. Ahasan Habib
Forum Message
25 Mar 2013
Thanks for your comment. You comment inspire me :)
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
Re: IoC = 4x slower and code bloating
by
S. M. Ahasan Habib
Forum Message
25 Mar 2013
A general statement that is "Nothing can be achieved without cost". The statement can also be applied with IOC container case. IOC container may be decrease some performance and code readability, debu
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
what are the best books for asp.net?
by
S. M. Ahasan Habib
Answer
24 Mar 2013
license:
CPOL
You can buy and read the following books:1. ASP.NET 4 Unleashed -By Stephen Walther2. Programming Microsoft ASP.NET 3.5 -By Dino Esposito3. Programming ASP.NET 3.5 -By Jesse Liberty
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP
ASP.NET
ASP.NET MVC Controller Dependency Injection for Beginners
by
S. M. Ahasan Habib
Article
23 Mar 2013
license:
CPOL
In this article I demonastrate a very simple and straightforward way to inject controller dependency to ASP.NET MVC framework with constructor.
Web Development
»
Asp.Net
»
General
C#
ASP.NET
.NET
Architect
Dev
Beginner
Intermediate
C#
.NET
C#4.0
, +
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
20 Mar 2013
Thanks!
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
CommunicationException was unhandled by user code
by
S. M. Ahasan Habib
Answer
19 Mar 2013
license:
CPOL
Please read the link. It will solve your problem.http://social.msdn.microsoft.com/Forums/en-US/silverlightweb/thread/85b4b91e-7aa6-4f7b-82ed-8ecf30e9bfef/[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
WCF
Silverlight
How to automatically update a table in sqlserver
by
S. M. Ahasan Habib
Answer
19 Mar 2013
license:
CPOL
You can write a windows service or Console Application which will do it for you. The application periodically(you will set the interval) update that table based on your logic. In console application you can run it with the help of Windows Task Scheduler. I prefer Console app(running with...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL
Server
How to check existing Pages name in asp.net?
by
S. M. Ahasan Habib
Answer
19 Mar 2013
license:
CPOL
If you need to check a particular aspx file is exists or not in your project/web site then first you have to get the root directory physical file. After that you can check it with Directory object that the file is exists or not. The code example likeprotected void Page_Load(object sender,...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
Re: My vote of 4
by
S. M. Ahasan Habib
Forum Message
19 Mar 2013
Thanks for your comments. Yes I will.
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
Re: My vote of 3
by
S. M. Ahasan Habib
Forum Message
19 Mar 2013
Thanks for your valuable comments. Yes you are correct. English is my second language. But i will try my best to improve my english language skill in future.
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
@ProductID which was not supplied
by
S. M. Ahasan Habib
Answer
16 Mar 2013
license:
CPOL
you can send storedprocedure parameters various ways. One example likeobjCmd.Parameters.Add(new SqlParameter("@ProductID", 1001));
General Programming
»
Uncategorised Quick Answers
»
General
C#
MVC razor view content refreshing
by
S. M. Ahasan Habib
Answer
16 Mar 2013
license:
CPOL
If requirement is "Portion of the Page refresh" then my suggestion is you can use ajax. Means if you click then you to to server for any operation with asynchronous way and get result from your ajax callback and refresh your page portion with javascript. You can take jquery's help for all ajax...
General Programming
»
Uncategorised Quick Answers
»
General
Razor
MVC4
Impersonation not working in ASP.net
by
S. M. Ahasan Habib
Answer
16 Mar 2013
license:
CPOL
Your impersonated user(register either web.config or other way) has not proper permission in that directory in your production server. You just assign appropriate permissions to that directory to the impersonate user.
General Programming
»
Uncategorised Quick Answers
»
General
asp.net4
Convert half empty byte array to string?
by
S. M. Ahasan Habib
Answer
16 Mar 2013
license:
CPOL
you can remove empty array. Your code should look like byte[] MainArray = new byte[4096]; byte[] String = Encoding.ASCII.GetBytes("hello world"); Array.Copy(String, 0, MainArray, 0, String.Length); MainArray = MainArray.Where(v => v >...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Nice Article
by
S. M. Ahasan Habib
Forum Message
16 Mar 2013
Thanks
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
execute programm in background in c#
by
S. M. Ahasan Habib
Answer
15 Mar 2013
license:
CPOL
Various ways you can do it. 1. You can create a thread and set its property background. Start the thread when you need from your application.2. You can use System.ComponentModel.BackgroundWorker class from your web application. It will take care all your background program running job.3....
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
i tried the code but it is not working
by
S. M. Ahasan Habib
Answer
15 Mar 2013
license:
CPOL
Yes you did little mistake. Inside your loop for (irows = 0; irows
General Programming
»
Uncategorised Quick Answers
»
General
C#
Please Help Case Between Syntax
by
S. M. Ahasan Habib
Answer
15 Mar 2013
license:
CPOL
From your code i got 3 when child 26(as you expected). Just removed first breakete() from your tsql query insidedeclare @level numeric(18)declare @Child numeric(18)=26set @level=( CASE WHEN @Child
General Programming
»
Uncategorised Quick Answers
»
General
SQL
SQL-Server
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
15 Mar 2013
Thanks
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
My vote of 5
by
S. M. Ahasan Habib
Forum Message
14 Mar 2013
Nice article!
General Discussions
»
Article "Asp.Net Signalr Chat Room"
My vote of 5
by
S. M. Ahasan Habib
Forum Message
14 Mar 2013
nice!
General Discussions
»
Article "Top 20 Exciting Features Of Sql Server 2012 – Part 2"
how to populate comboBox with all database name available in PC
by
S. M. Ahasan Habib
Answer
14 Mar 2013
license:
CPOL
You can connect any sqlserver database from your application and execute that query with ado.net.SELECT name as DatabaseName FROM sys.DatabasesYou will got all database name from that sqlserver.
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
Re: IOC Container?
by
S. M. Ahasan Habib
Forum Message
14 Mar 2013
Thanks for your comment. Yes, you are correct. By the way i go for Windsor as IOC container.
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
13 Mar 2013
Thanks Boss :)
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
how run 'PageMethods' in asp.net
by
S. M. Ahasan Habib
Answer
13 Mar 2013
license:
CPOL
You just make your webmethod as static.System.Web.Services.WebMethod]public static void Test(){ HttpContext.Current.Session.Abandon();}If not maked it static then PageMethods is undefind error raised from javascript. Except that static, all remaining part is ok.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
12 Mar 2013
thanks!
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
My vote of 5
by
S. M. Ahasan Habib
Forum Message
12 Mar 2013
Nice one!
General Discussions
»
Article "Why(S) & How(S) Of Asp.Net Mvc Part 1"
Re: My vote of 5
by
S. M. Ahasan Habib
Forum Message
12 Mar 2013
Thanks
General Discussions
»
Article "Asp.Net Mvc Controller Dependency Injection For Beginners"
How to call Master page Javascript validation on each page
by
S. M. Ahasan Habib
Answer
7 Mar 2013
license:
CPOL
you handle form submit event from your master page and check your textbox value. If it is empty then return false else return true. Return false means your form will not submit to the server. True means it can process further.$('#yourFormId').submit(function() { return...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
how to call serverside function onblur and ontexhchange event of textbox
by
S. M. Ahasan Habib
Answer
7 Mar 2013
license:
CPOL
you need use ajax for that. You can use jquery library for ajax communication. example likefunction getData(){$.ajax({ type: "POST", url: "test.aspx",//you can use any web method as well data: { name: "John", location: "Boston" }//parameters if you want to send...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
write/read file in resuorce in DLL
by
S. M. Ahasan Habib
Answer
7 Mar 2013
license:
CPOL
You can read/write resource assembly(dll) on runtime. You can read the thread. Hope it will solve your problem.
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Page 1 of 5
1
2
3
4
5
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