newbie with asp .net, databind and code behind

  • Thread starter Thread starter Carlos
  • Start date Start date
C

Carlos

Hi everyone,

I am starting out with asp .net and data binding with code behind. I
currently have a c# module that uses a data provider to access SAS data, and
which I would like it to
become a class to use as a code behind module. My idea was that it should be
simple, but after reading some documentation it is not as simple as I though
to integrate it with a control such as a datagrid. Can anyone provide me
with a simple sample that uses ado .net code to access data, and bind it to
a datagrid?

Thanks,

Carlos
 
For a large set of tutorials on the DataGrid (including binding), check out
this webpage:

http://aspnet.4guysfromrolla.com/articles/040502-1.aspx

Binding to other controls (such as a DataList), is not different. For a
DataList, you simply define the template that the data should be displayed,
and the databinding code is the same.

Happy coding,
Johann MacDonagh
 
Back
Top