User360451555 posted
Hello and how are you doin, i have my BLL aligned as below
using System;
using InfoDataSetTableAdapters;
[System.ComponentModel.DataObject]
public class StudentBLL
{
private StudentTableAdapter _studentAdapter = null;
protected StudentTableAdapter Adapter
{
get
{
if (_studentAdapter == null)
_studentAdapter = new StudentTableAdapter();
return _studentAdapter;
}
}
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]
private InfoDataSet.StudentDataTable GetStudents()
{
return Adapter.GetStudents();
}
}
When i go to my ObjectDataSource to select the method, its not in the dropdownlist. I wonder what problem is in my BLL