128 bit encrypted signature, crack if you can
The Close method should be sufficient, though that really depends on the implementation of the class that you're using to read the file. If "file" were a local variable, it could go out of scope and be garbage collected by the GC
I am using a dataset in businesslayer for getting project details like ProjectId,ProjectName,ProjectType. I want to return this collection to UI layer in a list or in some form of collection objects, but not using a dataset.
For eg: 1,'TestProject1','Maintenance'(ProjectId,ProjectName, ProjectType)
How can I store in business class and retrieve the same in UI layer? Somehow I created some properties and can added to the list. But don't know how to retrieve the same. Can anybody please help. Please let me know if I require to provide any more info.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
public class Project
public int projectid;
public string projectname;
public string projecttype;
Ok.. Then in the UI layer , in the class of any form . just create a generic list of Project;
List<project> prj = new List<project>();
Now you can add the value to this list in any bussiness layer and then pass it to the ui
List<project> lst = new List<project>();
foreach(DataRow drow in ds.Tables) //Ds is dataset and your details are in table 0
Project temp = new Project();
temp.projectid = Convert.Toint32(drow["ProjectID"]);
temp.projectname = drow["ProjectNAme"].ToString();
return lst; //This lst will contain the list of products and you can bind it to any datagrid directly. .
Aight, just because I'm in a good mood, here[^]'s some starting point for projects that can be extended into the six-month period. You'll find 10 databases on that site that can be used as a starting point to develop a new application. It may sound boring to write an application that's "just" a layer on a database, but it will be enough of a challenge.
By the way, what kind of school sends students here to have them verify the feasibility of a project? Can't your teacher give a clue to what would be "enough"? He's the one that should be capable of judging your talents, possibilities and limits.