Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
AnswerRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Member 1208599525-Oct-15 9:18
Member 1208599525-Oct-15 9:18 
GeneralRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Member 1208599525-Oct-15 9:23
Member 1208599525-Oct-15 9:23 
GeneralRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Pete O'Hanlon25-Oct-15 12:06
mvePete O'Hanlon25-Oct-15 12:06 
GeneralRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Member 1208599525-Oct-15 12:16
Member 1208599525-Oct-15 12:16 
GeneralRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Pete O'Hanlon25-Oct-15 12:48
mvePete O'Hanlon25-Oct-15 12:48 
GeneralRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Member 1208599525-Oct-15 13:04
Member 1208599525-Oct-15 13:04 
GeneralRe: I have this code in C # more people basic_info returns 0!? Can someone help me? Pin
Member 1208599525-Oct-15 12:24
Member 1208599525-Oct-15 12:24 
QuestionFiles importation library design problem Pin
jonatan_55624-Oct-15 8:49
jonatan_55624-Oct-15 8:49 
Hi everyone,
First of all apologise for any english mistake as english is not my natural language.

Problem to Solve:
I need to import data from 3 flat files. It might be a 4 one. The files will be very similar in structure. I mean the data contained in the files are very similar in structure. In these files each line represents a record to imported into an object object. The way to process the file is the same for all files. Each line represents a new record and each file has a related file that tells you which bit in the line to extract and the length of that bit. These fetched bit represent properties in C# objects.I'm thinking in reading the files line by line returning a String and per string will use the related file to extract the necessary/right info and export the data into an object.

I would like help with the following:
1) Which structure should I use store the static (maybe constant) information in the related files used to fetch the right bits of info from the returned strings.

2) How should I design the class library responsible for all this process in terms of classes, interfaces...maybe a "factory"

Many thanks.
AnswerRe: Files importation library design problem Pin
BillWoodruff24-Oct-15 20:25
professionalBillWoodruff24-Oct-15 20:25 
GeneralRe: Files importation library design problem Pin
jonatan_55625-Oct-15 8:06
jonatan_55625-Oct-15 8:06 
GeneralString was not recognized as a valid DateTime in local works fine but not in server Pin
yemen_mansour24-Oct-15 2:15
yemen_mansour24-Oct-15 2:15 
GeneralRe: String was not recognized as a valid DateTime in local works fine but not in server Pin
Eddy Vluggen24-Oct-15 5:50
professionalEddy Vluggen24-Oct-15 5:50 
QuestionJSON to DataGrid View Pin
seipekm23-Oct-15 23:08
seipekm23-Oct-15 23:08 
AnswerRe: JSON to DataGrid View Pin
OriginalGriff23-Oct-15 23:14
mveOriginalGriff23-Oct-15 23:14 
GeneralRe: JSON to DataGrid View Pin
seipekm23-Oct-15 23:21
seipekm23-Oct-15 23:21 
GeneralRe: JSON to DataGrid View Pin
OriginalGriff23-Oct-15 23:31
mveOriginalGriff23-Oct-15 23:31 
GeneralRe: JSON to DataGrid View Pin
seipekm23-Oct-15 23:38
seipekm23-Oct-15 23:38 
GeneralRe: JSON to DataGrid View Pin
OriginalGriff23-Oct-15 23:42
mveOriginalGriff23-Oct-15 23:42 
GeneralRe: JSON to DataGrid View Pin
seipekm23-Oct-15 23:52
seipekm23-Oct-15 23:52 
GeneralRe: JSON to DataGrid View Pin
OriginalGriff24-Oct-15 0:08
mveOriginalGriff24-Oct-15 0:08 
GeneralRe: JSON to DataGrid View Pin
seipekm24-Oct-15 1:24
seipekm24-Oct-15 1:24 
Questionavro - c# to Java, on Flush or Close - “The underlying connection was closed” C# side upon Java HttpExchange.getResponseBody().flush() Pin
devvvy22-Oct-15 14:28
devvvy22-Oct-15 14:28 
QuestionUsing NLog in many classes Pin
Member 1206160022-Oct-15 7:08
Member 1206160022-Oct-15 7:08 
AnswerMessage Closed Pin
22-Oct-15 8:04
mveGerry Schmitz22-Oct-15 8:04 
GeneralRe: Using NLog in many classes Pin
Member 1206160022-Oct-15 8:28
Member 1206160022-Oct-15 8:28 

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.