AfricaDotNet
www.AfricaDotNet.com Continues the .NET Conversation in Africa
All Tags » Byte (RSS)

Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Today's Byte #6: Specify Size For Varchar Parameters

    When specifying varchar or nvarchar parameters in stored procedures or functions, get into the habit if specifying the size. If you don't you will find yourself in a situation with difficult to find bugs, because if you don't specify a size, SQL Server assumes a default of 1. For instance, running...
    Posted to Databse Engines (Forum) by Rad on 10-12-2009
  • Today's Byte #4

    If you need to restart your .NET application, there are a number of ways to do it. The most commonly ised is to programatically kill the process and then start it, using the System.Diagnosics.Process class. A better way is to use the lesser know System.Windows.Forms.Applciation.Restart() method. The...
    Posted to General (Forum) by Rad on 10-07-2009
  • Today's Byte #3: Developing For Oracle Databases

    If you're doing development against an Oracle database, you can use the built in Oracle client, System.Data.OracleClient. However this is a bad idea for a two reasons: It will be deprecated in .NET 4.0 Oracle's provider, ODP.NET is better in several ways: Faster Supports more Oracle features...
    Posted to General (Forum) by Rad on 10-06-2009
  • Today's Byte # 2 : Font Manipulation

    In the course of your development, you might find that you need to change the font style of a control to somthing like bold or italic. Upon investigation, you find that each control has a Font property, that additionally has a boolean Bold property. So you would attempt the following: 1: // 2: // Set...
    Posted to General (Forum) by Rad on 07-29-2009
  • Today's Byte #1 : Form Management

    In the lifetime of your application you undoubtedly create several forms and present them to the user. The code will invariably look as follows: In C# 1: //Create the form 2: Form f = new FormUser(); 3: //Show the form 4: f.Show() In VB.NET 1: 'Create the form 2: dim f = new FormUser() 3: 'Show...
    Posted to General (Forum) by Rad on 05-20-2009
Page 1 of 1 (5 items)
(c) AfricaDotNet
Powered by Community Server (Non-Commercial Edition), by Telligent Systems