Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB random file to MS SQL table
Message
From
28/03/2013 04:17:34
 
 
To
28/03/2013 04:02:23
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01569418
Message ID:
01569420
Views:
36
This message has been marked as a message which has helped to the initial question of the thread.
Likes (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
Previous
Reply
Map
View

Click here to load this message in the networking platform