I have an object called "videoList" which supplies a collection of
records. I would like to populate a database with those records. The
below is my best ROUPH guess on the type of structure I would need to
do this.
Create databaseTable object
Create some type of connection string (Using SQL 2005)
Open Connection
foreach( video in videoList)
{
databaseTable.AddFieldItem = video.Title
}
I'm trying to iron out the details will no luck. Instead I've been
banging my head up against the wall for a couple of days on what I
assume is a simple programming task. Can someone PLEASE help me?
Also, I'm not sure if I should use OdbcConnection, OleDbConnection or
OdbcConnection. I'm using C# in Visual Studio 2005. Obviously I'm new.