Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
How to create a method that retrieve all student name...?
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Abbas Hamza
10y
1.1k
1
Reply
Hi all..
This my first question on this site..I have been studying c# for a year or so..
I have created a class called Student withe property: Name, age , Studentid,...
Then I have created an overloaded method as a list
Public list<Student> GetAllStudent(string sGetStudentName_in)
{
Student OGetStudentName = new Student();
}
Could any one give a guidance as how to complete this method and return the Name( s) only..
I omitted the connection to the database as I have retrieved the Student as an object and send the information to a DataTable as a result.
Please any help or similar example will help as I'm still trying to find my way around c# programming .
Thank you in advance
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
printing windows form in c#.net
generate a random number based on lower and upper range inpu