Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27333

VS 2008 Confused with Databases now

$
0
0
--- This may be a double thread, for some reason Firefox decided to log me out of VBF :ehh: if so, please lock one.

For the past 2 days I have been searching VBForums, Google and countless websites for database information. Although I have found a lot, I'm more confused than ever.

I really don't want to use Access or SQL for a database, I would like to use XML to store my programs database information.

The program is a list builder that users can use to help sort (per se) their movies, videos, music, files, really anything, but I'm making it for video files. If any one has used Anime List Builder, that is what I'm going for, I'm using almost the same layout of that program to guide me.

My main form has a DataGridView on it, with columns already setup, the rows will be comprised with the series information. I have another form that will allow the user to add the Title, Dub/Sub Language, etc, also they will be able to import the file(s) to get the file size, the CRC32, SHA, etc., upload a screenshot or DVD/VHS/Blu-Ray Cover also.

All this information I would like to go into a XML file, that can eventually be exported with an HTML page to display the information that they have.

The XML file needs to be edited from the Add Series Form, and this form should also update the DGV. The user, once at least one series has been setup, can select a single row and either update it or delete it, which should also update or delete from the XML file. It should also modify the numbering, such as if a user has 100 movies, they delete #50, the DGV and XML should update to have #51 replace #50 so there are no missing numberings, if that makes since.

I went to setup a Dataset (?) or something like that, and the list really only shows SQL databases, I would like to stay away from SQL, as I would like this program point-click-type-save-upload to your web host and give the link out.

All the information that will populate the DGV will be from the New Series form and the file information that is imported from the files.

My XML setup is this, but will be subjected to change as the project progresses:
Code:

<ListdB>
        <!-- There can be 100's of Series Listed here-->
        <Series#>
                <Title> </Title>
                <OriginalTitle> </OriginalTitle>
                <Group> </Group>
                <Genres> </Genres>
                <Type> </Type>
                <Quality> </Quality>
                <Rating> </Rating>
                <Seen> </Seen>
                <Ongoing> </Ongoing>
                <Dubs> </Dubs>
                <Subs> </Subs>
                <Year> </Year>
                <SeriesStatus> </SeriesStatus>
                <VideoCodec> </VideoCodec>
                <AudioCodec> </AudioCodec>
                <SeriesSize> </SeriesSize>
                <Synopsis> </Synopsis>
                <Comments> </Comments>
                        <!-- There can be 100's of Episodes Listed here-->
                        <Episode#>
                                <EpNumber> </EpNumber>
                                <EpTitle> </EpTitle>
                                <EpFileSize> </EpFileSize>
                                <EpComments> </EpComments>
                                <PlayTime> </PlayTime>
                        </Episode#>
                                <!-- There can be Dozens of Extras Listed here-->
                                <Extras>
                                        <ExNumber> </ExNumber>
                                        <ExTitle> </ExTitle>
                                        <ExFileSize> </ExFileSize>
                                        <ExComments> </ExComments>
                                </Extras>
        </Series#>
</ListdB>

Can someone help me get unconfused on how to do a XML database that works with DGV?

Maybe I'm just over-thinking all of this and its much easier than I'm making it out to be.

Thank You,
DSoS

Viewing all articles
Browse latest Browse all 27333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>