newbie with asp .net, databind and code behind

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
 
J

Johann MacDonagh

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top