![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| | |||||||
| | Vista - Custom Import Wizzard |
| |
| 04-25-2008 | #1 |
| | Custom Import Wizzard My project will require the user to import data (registered Voters) from a text file. This text file will be created by thier county's Board of Elections & thus be formatted differently county by county, generally with columns in differing order. Also some counties will provide less/more data than others. So I want to write (or include) an import wizard (kind of like SQL Server has) that will map the source columns to the destination columns, upon the first & subsequent loads. The reason I want to do it this way is primarily becasue I'm using the SQL Compact Edition as the DB & there is no supplied import method for this. So is there any place (I did spend most of the morning searching the web with no luck) where i can get sample code, directions, a book or anything to get me started down the right path? Thanks Gary |
| My System Specs |
| 04-25-2008 | #2 |
| | Re: Custom Import Wizzard Is the data fixed length rows, comma seperated values, something else? Will the data be constant or will there be extra data in some files and less in others and will all the required data be present? The approach I generally take is to build an engine that allows me to supply a schema of what I want, and then a mapping of what is. There are a lot of examples for reading fix length rows or csv files, just google for it (i.e., C# fixed length files). The first result on this alone seem to kill two birds with one stone. Read a fixed length file and specify definitions for later processing. "NYWGUY54" <NYWGUY54@xxxxxx> wrote in message news:4116281B-F75E-4F49-AC3C-29154F270960@xxxxxx Quote: > My project will require the user to import data (registered Voters) from a > text file. This text file will be created by thier county's Board of > Elections & thus be formatted differently county by county, generally with > columns in differing order. Also some counties will provide less/more data > than others. So I want to write (or include) an import wizard (kind of > like > SQL Server has) that will map the source columns to the destination > columns, > upon the first & subsequent loads. The reason I want to do it this way is > primarily becasue I'm using the SQL Compact Edition as the DB & there is > no > supplied import method for this. > So is there any place (I did spend most of the morning searching the web > with no luck) where i can get sample code, directions, a book or anything > to > get me started down the right path? > Thanks > Gary |
| My System Specs |
| 04-25-2008 | #3 |
| | Re: Custom Import Wizzard The data will come from varying sources with different formatting. I expect them to be variable lenght rows, comma delimited. The columns will be ordered differently as well as some will provide more & some less data (columns). If users were expected to import a file that was consistantly formatted from county to county then that would be a whole lot easier. I'm looking for a way to look at the data in the text file determine which column it belongs to then map that column to my table(s) then do the import. "amdrit" wrote: Quote: > Is the data fixed length rows, comma seperated values, something else? Will > the data be constant or will there be extra data in some files and less in > others and will all the required data be present? > > The approach I generally take is to build an engine that allows me to supply > a schema of what I want, and then a mapping of what is. > > There are a lot of examples for reading fix length rows or csv files, just > google for it (i.e., C# fixed length files). The first result on this alone > seem to kill two birds with one stone. Read a fixed length file and specify > definitions for later processing. > > > > > "NYWGUY54" <NYWGUY54@xxxxxx> wrote in message > news:4116281B-F75E-4F49-AC3C-29154F270960@xxxxxx Quote: > > My project will require the user to import data (registered Voters) from a > > text file. This text file will be created by thier county's Board of > > Elections & thus be formatted differently county by county, generally with > > columns in differing order. Also some counties will provide less/more data > > than others. So I want to write (or include) an import wizard (kind of > > like > > SQL Server has) that will map the source columns to the destination > > columns, > > upon the first & subsequent loads. The reason I want to do it this way is > > primarily becasue I'm using the SQL Compact Edition as the DB & there is > > no > > supplied import method for this. > > So is there any place (I did spend most of the morning searching the web > > with no luck) where i can get sample code, directions, a book or anything > > to > > get me started down the right path? > > Thanks > > Gary > > |
| My System Specs |
| 06-18-2008 | #4 |
| | Re: Custom Import Wizzard Can the Import Wizard of OrchidGrid achieve what you want? Could get it from www.springsys.com Quote: > My project will require the user to import data (registered Voters) from a > text file. This text file will be created by thier county's Board of > Elections & thus be formatted differently county by county, generally with > columns in differing order. Also some counties will provide less/more data > than others. So I want to write (or include) an import wizard (kind of > like > SQL Server has) that will map the source columns to the destination > columns, > upon the first & subsequent loads. The reason I want to do it this way is > primarily becasue I'm using the SQL Compact Edition as the DB & there is > no > supplied import method for this. > So is there any place (I did spend most of the morning searching the web > with no luck) where i can get sample code, directions, a book or anything > to > get me started down the right path? > Thanks > Gary |
| My System Specs |
![]() |
| Thread Tools | |
| |
| Similar Threads for: Custom Import Wizzard | ||||
| Thread | Forum | |||
| Running Wizzard | General Discussion | |||
| CD installshield wizzard software not working. Help! | Vista hardware & devices | |||
| Mobile device wizzard doesn't let me skip exchange configuration | Vista General | |||
| Mobile Device center wizzard can't skip exchange | Vista General | |||
| Mobile Device center wizzard can't skip exchange | Vista General | |||