to use or not to use sqldatasource

Giganews Newsgroups
Subject: to use or not to use sqldatasource
Posted by:  JohnE
Date: Fri, 29 Jan 2010

I am a newbie at this so I am spending time at night learning all I can of
asp.net.  I read the information on line plus in books and they make
reference to sqldatasource.  They also make reference to coding the
connection, etc in C# in the code behind.  I have a connection string in the
webconfig file but my question pertains to the way to use it.  It is getting
confusing.  What is the proper / best way to work with connection strings and
all that goes it (da, dt, ds, etc), use a sqldatasource or thru code behind
or both?  And why?

Thanks...John

Replies