Click here to Skip to main content
15,904,497 members
Home / Discussions / C#
   

C#

 
General[OT] belgian lunch Pin
harold aptroot19-Oct-09 11:01
harold aptroot19-Oct-09 11:01 
GeneralRe: [OT] belgian lunch Pin
Luc Pattyn19-Oct-09 11:08
sitebuilderLuc Pattyn19-Oct-09 11:08 
GeneralRe: [OT] belgian lunch Pin
Richard MacCutchan19-Oct-09 12:06
mveRichard MacCutchan19-Oct-09 12:06 
QuestionSearch a DataGrid Pin
mostapha77719-Oct-09 8:18
mostapha77719-Oct-09 8:18 
AnswerRe: Search a DataGrid Pin
Henry Minute19-Oct-09 9:02
Henry Minute19-Oct-09 9:02 
QuestionVB type collections in C# Pin
CheifyW19-Oct-09 7:05
CheifyW19-Oct-09 7:05 
AnswerRe: VB type collections in C# Pin
Not Active19-Oct-09 7:24
mentorNot Active19-Oct-09 7:24 
GeneralRe: VB type collections in C# Pin
CheifyW19-Oct-09 8:33
CheifyW19-Oct-09 8:33 
it looks really easy like that. I'll give it a try when I get back to work. In VB6 I would raise a class 'Inventory' containing all the fields I've already mentioned. The class manager would then apply all the 'get and 'set' attributes to the class members (I'm probably not using the right descriptions here). I would then raise a collection of class Inventory. I then would connect to my database, return a recordset of Inventory, and iterate through it, adding the information into the fields of the collection:

do until recordset.eof = true
inventory collection .add (the columns of the inventory table)
loop
Thanks for you help
C# is great....
GeneralRe: VB type collections in C# Pin
Christian Graus19-Oct-09 10:17
protectorChristian Graus19-Oct-09 10:17 
GeneralRe: VB type collections in C# Pin
CheifyW19-Oct-09 22:12
CheifyW19-Oct-09 22:12 
QuestionReading Excel Date - Strange Value Pin
Kevin Marois19-Oct-09 6:49
professionalKevin Marois19-Oct-09 6:49 
AnswerRe: Reading Excel Date - Strange Value Pin
Richard MacCutchan19-Oct-09 8:54
mveRichard MacCutchan19-Oct-09 8:54 
Questionmenu with directx Pin
behzadcp19-Oct-09 6:02
professionalbehzadcp19-Oct-09 6:02 
AnswerRe: menu with directx Pin
Christian Graus19-Oct-09 10:17
protectorChristian Graus19-Oct-09 10:17 
QuestionTest directory is empty Pin
abbd19-Oct-09 6:00
abbd19-Oct-09 6:00 
AnswerRe: Test directory is empty Pin
N a v a n e e t h19-Oct-09 6:09
N a v a n e e t h19-Oct-09 6:09 
AnswerRe: Test directory is empty Pin
stancrm19-Oct-09 6:11
stancrm19-Oct-09 6:11 
AnswerRe: Test directory is empty Pin
Luc Pattyn19-Oct-09 6:56
sitebuilderLuc Pattyn19-Oct-09 6:56 
Questiontransfer files from aclient to another using socket programming+c#? Pin
anabina19-Oct-09 5:46
anabina19-Oct-09 5:46 
AnswerRe: transfer files from aclient to another using socket programming+c#? Pin
N a v a n e e t h19-Oct-09 6:02
N a v a n e e t h19-Oct-09 6:02 
AnswerRe: transfer files from aclient to another using socket programming+c#? Pin
stancrm19-Oct-09 6:13
stancrm19-Oct-09 6:13 
QuestionReading Data from a CD Pin
AndyASPVB19-Oct-09 5:28
AndyASPVB19-Oct-09 5:28 
AnswerRe: Reading Data from a CD Pin
stancrm19-Oct-09 6:12
stancrm19-Oct-09 6:12 
GeneralRe: Reading Data from a CD Pin
AndyASPVB19-Oct-09 8:44
AndyASPVB19-Oct-09 8:44 
GeneralRe: Reading Data from a CD Pin
Richard MacCutchan19-Oct-09 8:57
mveRichard MacCutchan19-Oct-09 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.