Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB random file to MS SQL table
Message
De
28/03/2013 04:17:34
 
 
À
28/03/2013 04:02:23
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows XP SP2
Divers
Thread ID:
01569418
Message ID:
01569420
Vues:
35
This message has been marked as a message which has helped to the initial question of the thread.
J'aime (1)
>I'd like to convert a VB random file to an MSSQL table.
>I found a code snippet which does the job but there are bits I dont understand.
>Like this below:
>
>
>public struct Product
>{
>	public int ID;
>	[VBFixedString(25)]
>	public string ProductName;
>	[VBFixedString(25)]
>	public string ProductType;
> 
>	public Product(int new_id, string product_name, string product_type) : this()
>	{
>		ID = new_id;
>		ProductName = product_name;
>		ProductType = product_type;
>	}
>}
>
>
>
>What does [VBFixedString(25)] do in front of the variables?

See here http://msdn.microsoft.com/en-us/library/x14b6s77(v=VS.71).aspx
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform