Display: Cloud | List
Most Popular Tags
Results (12 total) All > examples (x)
Examples (ClientScriptManager.GetCallbackEventReference Method (System.Web.UI))
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Last modified by ErikReitan on 5/25/2010 11:12:13 PM
Tags:  examples
This member is overloaded. (HttpServerUtility.Transfer Method (System.Web))
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Last modified by ErikReitan on 5/25/2010 9:33:23 PM
Tags:  examples  overload;
Examples always help (SqlDataReader.IsDBNull Method (System.Data.SqlClient))
MS add examples so people are aware how to use the functions:In C#:You can do something to the effect of:txtMiddleName.Text= rdrGetUserInfo.IsDBNull(1)?String.Empty: rdrGetUserInfo.GetString(1); Or even:strMyString = reader("SomeField").IsDBNull ? String.Empty : reader("SomeField").ToString();Basically checks if reader somefield is null, if it is assign the empty string, else assign the string st
Last modified by Jon Hermiz on 3/22/2010 3:00:17 PM
Tags:  c#  examples  vb.net
C++ (Enumerable.ToList(TSource) Method (System.Linq))
#include "stdafx.h" using namespace System; using namespace System::Collections::Generic; using namespace System::Linq; int GetLength(String^ str) { return str->Length; } void main(void) { array<String^>^ fruits = { "apple", "passionfruit", "banana", "mango", "orange", "blueberry", "grape", "strawberry" }; List<int>^ lengths = Enumer
Last modified by THines01 on 2/22/2010 10:36:23 PM
Tags:  c++  cpp  examples  linq  tolist(tsource)
Property Attributes All item objects have properties. The properties have attributes. For instance, property attributes indicate whether a property is read from, written to, or deleted. They also indicate the valid property values. The following constants are valid property attributes: Property AttributeMeaningWIA_PROP_CACHEABLEThe device can cache the property's value.WIA_PROP_FLAGThe property
Last modified by Microsoft on 8/6/2009 5:05:31 PM
Tags:  attribute  examples
Simple send mail in vb.net (SmtpClient Class (System.Net.Mail))
'This example makes use of diffrenet classes in system.net.mail'SmtpClient,MailMessage,MailAddress,MailAddressCollectionDim mailClient As New SmtpClient()Dim Message As New MailMessage()Dim ToEmail As New MailAddress("email address", "User Name")Dim FromEmail As New MailAddress("email address", "User Name")'String builder is used for performance reasons whil appending stringsDim messageBody As New
Last modified by Shobin Mathew on 12/31/2009 7:34:30 AM
Tags:  examples
typo in C# example (Using SqlDependency to Detect Changes in the Server)
In the C# example Handler method, the data type SqlNotificationsEventArgs should read SqlNotificationEventArgs (no "s").
Last modified by Thomas Lee on 8/1/2009 5:13:17 PM
Sample? (DuplexChannelFactory(TChannel) Class (System.ServiceModel))
If anybody has the full example or where it is in the SDK, that would give this sample a lot more ultity and context.
Last modified by ShaneK2 on 2/4/2009 11:10:01 PM
Tags:  examples  wcf
How to: Access DLLs in ExcelYou can access a DLL function or command in Microsoft Office Excel in several ways:Through a Microsoft Visual Basic for Applications (VBA) code module in which the function or command has been made available using a Declare statement.Through an XLM macro sheet by using the CALL or REGISTER functions.Directly from the worksheet or from a customized item in the user inter
Last modified by Microsoft on 9/21/2007 8:43:38 PM
Tags:  examples  programming
Custom Formatting (Choose Format (Report Designer))
See the following link for code examples on how to perform custom formating: Search for: "Formatting dates" http://msdn.microsoft.com/en-us/library/ms157328.aspx#AppearanceofReportData
Last modified by Thomas Lee on 10/1/2008 11:24:26 AM
Page view tracker