Browse by Tags

Tagged Content List
  • Wiki Page: C# Eseguire un controllo ricorsivo su più TextBox.(it-IT)

    Mediante questa funzione saremo in gradi di andare a verificare se all'interno di uno o più controlli TextBlock ci sia un determinato valore. Andiamo ad analizzare il codice C# private bool CheckText ( string []values, params TextBox []tetxboxes) { var result = false ; ...
  • Wiki Page: C# Convertire un carattere ASCII in stringa (it-IT)

    Mediante questo esempio di codice e possibile eseguire la conversione di un carattere ASCII in una stringa . Mediante il metodo TryParse della struct Int verifichiamo se possibile eseguire la conversione del testo in un numero intero , questo perchè potrebbereo essere passati dei caratteri non validi...
  • Wiki Page: C# Eseguire la somma dei dati di una colonna su foglio Excel(it-IT)

    A volte capita la necessità di dover eseguire dei calcoli con dei dati presi da altri file , in questo esempio vedremo come poter eseguire la somma dei dati di una colonna da un file excel. Prendiamo in considerazione questo esempio di codice. private void BtnCalcolaSommaClick(...
  • Wiki Page: C# Eseguire una ricerca su foglio Excel(it-IT)

    A volte vi e la necessità di interagire attraverso la nostra applicazione con dei File Excel , lo scopo di questo esempio e dimostrare in che modo questo e possibile. Utilizzeremo AdoNet e precisamente il namespace OleDb utilizzato anche per la gestione di File MicrosoftAccess. Questo namespace...
  • Wiki Page: Come evitare di eseguire due processi della stessa applicazione (it-IT)

    Questo semplice esempio di codice fa uso della Classe Mutex , la quale esegue una verifica di quanti processi di un applicazione sono eseguiti. Viene fornito un semplice esempio dimostrativo dove nel file Program.cs e inserito il codice per evitare che vengano eseguiti due processi della stessa applicazione...
  • Wiki Page: SharePoint 2010: "An error was encountered while retrieving the user profile"

    Issue An exception is thrown when retrieving a user profile: Microsoft.Office.Server.UserProfiles.UserNotFoundException was unhandled Message=An error was encountered while retrieving the user profile. Source=Microsoft.Office.Server.UserProfiles StackTrace: at Microsoft.Office.Server...
  • Wiki Page: Easy Code Refactoring using Visual C#

    Table of Contents Introduction Remove & Sort Usings Extract Method Regions Surround With Rename Conclusion Code Sample Introduction Code refactoring is very important, a necessity especially if you use agile methodologies. Even if you are following other classic software development methods...
  • Wiki Page: Parallel / Concurrent / Async Programming in C# using Tasks

    Table of Contents Introduction Solution Conclusion See Also Introduction This one is a direct result of my work. Recently I was asked to come up with a notification / reminder service to send emails when something remains pending since a week. The initial code looked & worked great locally...
  • Wiki Page: Easily Debug or Optimize LINQ Queries using LINQPad

    Table of Contents Introduction LINQPad to the Rescue! Debugging LINQ Queries Tracking Query Performance Conclusion Introduction The best way to focus on a particular "problem" area is often to look at it sandboxed, so that you can focus on the problem or issue at hand. I recently had...
  • Wiki Page: What is Common Language Runtime in C#?

    What is Common Language Runtime in C#? Today in this article I will discuss the very basic and starting topic of C# programming language because if the basics are strong then you will be survive in future of programming. It is very necessary to know that how the program compile and run in Microsoft...
  • Wiki Page: C#: Passing parameters

    This is a subject which can confuse even quite experienced developers. Probably as a result, this is quite often brought up as a sort of “trick” question by interviewers. Some people feel this “sorts the men from the boys”. Others might suggest that a practical understanding of what happens is...
  • Wiki Page: Value type Broscience

    Many times have I heard the definition of a value type: A value type is a type that when instantiated gets allocated in the stack. Well, if everyone says so it must be true. Heck, even books state it. However, a statement like that can lead to some assumptions that are just not true at all...
  • Wiki Page: SharePoint 2010: Storing Database Connection Settings in the Secure Store

    Table of Contents Introduction Scenario Creating a Target Application in the Secure Store Building a Class to Access the Credentials Building a Webpart that uses the Database Credentials See Also References Introduction There are times when you need to connect SharePoint to an external database...
  • Wiki Page: Visual Basic Articles By Paul Ishak

    I will be using this as an index page to track my wiki articles. Pull Out Panel - Borderless Form - Visual Basic.Net Visual Basic - Accessing a method Via its declared name string. Visual Basic - Changing the speed of a wavefile LoOps! With Visual Basic.Net Conditional Branches With...
  • Wiki Page: .Net Soap Web Services Nedir ? Nasıl Geliştirilir ? Nasıl Publish Edilir ? (tr-TR)

    Merhabalar değerli Technet okurları , bu makalemde sizlere SOAP web service'lerden bahsedeceğim. Soap web service nedir , neden kullanılır , nasıl geliştirilir ve nasıl publish edilir konularından bahsetmek istiyorum . SOAP Web Service Nedir ? İsmi çok şaşalı olsa da temelinde kendisi...
  • Wiki Page: SharePoint 2010: How to Customize List Content Display using Content Query Web Part

    Here I'm going to describe how we can use Content Query Web Part to Style SharePoint List. Thus Assume we are having a SharePoint List Called Projects with Following Fields. As you already knew default look and feel would be like below. Now I'm going to render this list...
  • Wiki Page: Code Reflection in C#

    Table of Contents Introduction Uses of Code Reflection Classes used in this article Getting Type data of an Object Creating an Instance of a type Example 1: Creating an Object Dynamically. Getting the value of a Property from an Object Invoking methods from an Object Example 2: A generic method with...
  • Wiki Page: WCF Data Services: Overview

    WCF Data Services (formerly known as "ADO.NET Data Services") is a component of the .NET Framework that enabling creation of Open Data Protocol (OData) Intranet/Web REST services. OData exposes data as resources that are addressable by URIs. REST or representational state transfer (REST...
  • Wiki Page: Windows Forms Overview

    Table of Contents Getting Started With Windows Forms Community Resources Forums Blogs Wiki Articles Other Resources Software Downloads Other Languages Deutsch (de-DE) Windows Forms is a set of classes in the .NET Framework that enables developers to quickly create Windows client applications, using...
  • Wiki Page: .NET Framework Overview

    Table of Contents .NET Wiki Pages See Also Other Languages Microsoft .NET framework is collection of wrapper, code, and UI libraries. It covers a wide range of technologies. The .NET Framework allows you to: Apply common Platform across a variety of devices, application types, and programming...
  • Wiki Page: Visual C# Resources on the TechNet Wiki

    Introduction This page contains links to all the Visual C# resources that are available on the TechNet Wiki. This page focuses on Technet Wiki articles only and contains the most prominent articles per category. The articles are grouped based on the common Wiki Article tag for Visual C#. ...
  • Wiki Page: Visual Studio: Snippetty Tip

    Table of Contents Introduction Audience What's a Code Snippet? What and where are they? A Simple Change From Editor Advanced Snippets Further Reading Introduction Lots of developers use Intellisense Code Snippets but relatively few design their own or even alter existing snippets. Most...
  • Wiki Page: Visual C#: Thread.Sleep vs. Task.Delay

    We can use both Thread.Sleep() and Task.Delay() to suspend the execution of a program (thread) for a given timespan. But are we actually suspending the execution? What is the difference between these two? How do you abort from a sleeping thread or an awaited task? Those are some of the questions I...
  • Wiki Page: How to Transfer Files between a Windows Store App and any Windows Phone App

    First things first: how it works If we ever want to have our apps both on the Windows Phone and the Windows 8 stores, we might want to use some kind of syncing mechanism between the two. Since neither can access the other’s isolated data directly, some sort of file transfer between the two apps...
  • Wiki Page: Windows Store App with a SQLite Database

    In Windows Store Apps there are a variety of ways to store your application's data. Examples of such mechanisms would be Web Storage , IndexedDB etc. and even OneDrive. Today I am going to write about my favorite data storage method in developing Windows Store Apps which is “ SQLite ”. ...
Page 1 of 9 (201 items) 12345»
Can't find it? Write it!