1
Answer

text file to access database file using c#

vivek ghelani

vivek ghelani

10y
778
1
i have a text file in given format
 
STONE_FILENAME=C:\Maya\HeliumLexus\final_planing_598.Mmd
STONE_ID=MASTER
STONE_WEIGHT4_CT=6.00000
STONE_WEIGHT2_CT=6.00
SOLUTION_QUANTITY=9
INCLUSION_QUANTITY=42
ROUGH_MODEL_TYPE_INT=0
ROUGH_MODEL_TYPE_STR=Unknown
ROUGH_WEIGHT2_TOTAL_CT=5.99
ROUGH_WEIGHT4_TOTAL_CT=5.9889
DIAMOND_WEIGHT2_TOTAL_CT=3.01
DIAMOND_WEIGHT4_TOTAL_CT=3.0205
DIAMOND_PRICE_TOTAL=27322.69
YIELD_TOTAL_PC=50.25
DIAMOND_QUANTITY=2
SAW_PLANE_QUANTITY=1
PIECE_QUANTITY=2
DIAMOND_PRICE_1=25526.15
DIAMOND_WEIGHT2_1=2.27
DIAMOND_WEIGHT4_1=2.2723
DIAMETER_MM_1=8.432
DIAMETER_MM_MAX_1=8.424
DIAMETER_RATIO_1=0.999
 
there are upto 1000 lines
 
 i want database in given format
 
 STONE_FILENAME                                                                STONE_ID                                STONE_WEIGHT4_CT
 C:\Maya\HeliumLexus\final_planing_598.Mmd                 MASTER                                    6.00000
 
NEEDED HELP.
THANKING IN ADVANCE. 
Answers (1)