"SQL 2005"? I think you are referring to Sql Server 2005. If that is
the case
use SqlConnection.

See: 
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx

for details.



Benj






On Dec 9, 12:32 am, tszeis <[email protected]> wrote:
> 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.

Reply via email to