RSSCategory: .NET

Image in TextBox & RichTextBox

| December 25, 2010 | 0 Comments

This article deals with how to show Image in TextBox and RichTextBox control. I googled for same but found little or was too complex to implement as per my understanding. Well! The noteworthy point is that in either of methods shared here uses alternative solution. There is no such direct way to do. Second thing is […]

Continue Reading

Update database from DataGridView

| December 21, 2010 | 0 Comments

Most of time developer want their users to be able to update database from DataGridView in Window Forms. So this article deals with concept of how to update tables in database from DataGridView. The main task of updating database is done with the help of System.Data.SqlClient.SqlDataAdapter.Update() method.  System.Data.SqlClient.SqlCommandBuilder generates required command for SqlDataAdapter when Select […]

Continue Reading

Print integers in reverse order using LinkedLists

| December 15, 2010 | 0 Comments

Scenario: You need to make program in C that can accept numbers from user and print integers in reverse order using LinkedLists. Solution: There are three functions: Insert – Insert each number or integer into LinkedList from user. Reverse – Reverse each number in linkedlist starting from first number in linkedlist. PrintList – Print each […]

Continue Reading

Add first ten odd numbers in C

| December 15, 2010 | 0 Comments

This article demonstrates how to add first ten odd numbers in C starting from 1. I am writing this article as I was preparing assignment of SMU MCA First Semester August 2010 MC0061. So I too faced problem for that. Well … this is solution for those students.

Continue Reading

Relative path to file in Solution Explorer

| September 30, 2010 | 0 Comments

You have solution created in C# or in WPF. To this solution you have added a new folder named Images or something else. And to this folder you have added a file named car.jpg. Now you want to access same file in your application. In the following article we are going to share how to […]

Continue Reading

Missing JavaScript Intellisense Items in VS IDE

| August 30, 2010 | 0 Comments

As a developer you might have noticed some of the javascript intellisense items missing while developing website with Visual Studio IDE’s.  I checked in all and found missing javaScript intellisense items in VS IDE such as VS 2005, VS 2008, VS 2010. Why is it so? What’s the reason behind. Read out details here. I searched […]

Continue Reading

AutoDiagrammer

| August 15, 2010 | 0 Comments

“Worthy things should be awarded recognition and must be spread all over the world.” Yes!  Searching on internet about the Visual Studio class diagrams and their means I came to an article where the author Sacha Barber demonstrated an application named AutoDiagrammer & till date I have not seen any best article that explains the […]

Continue Reading

How to set Icons for Window Forms

| August 14, 2010 | 0 Comments

To show icon in the Windows Form’s header you can use Windows Form property Icon from Design view. But if you want to set it programatically have look on code. Code Snippet

Continue Reading

Cross-thread operation not valid

| August 13, 2010 | 0 Comments

What is Cross-thread operation not valid? It is a part of details of InvalidOperationException that is raised when you try to access control of one thread from another thread. Code Snippet There are two controls on Form Button named btnStartThread & second one is TextBox named txtName. And if you execute following code you will […]

Continue Reading

Get folder names in C#

| August 11, 2010 | 0 Comments

Sometimes we need to know all folders in our particular directory. But generally the code used for retrieving folders in directory return folder names with full path. For e.g. my directory X: is having two folders named Folder1 and Folder2. So if I use code I would get something like X:\Folder1, X:\Folder2.  But  I do […]

Continue Reading

Sex Chat Live Jasmin WP-Clear 3.0 Theme