ASSALAM-O-ALAIKUM TO EVERYONE;
can you tell me about how we can indentify and make control class in c#? in the below, i mention my db's tables:
1>patient info.
2>doctor
3> patient visit
4> patient visit treatment
5> treatment
6> medicine
7>medicine type
8> patient visit medicine
9>visit bill
10>surgery
11>surgery types
12>patient surgery
13>glasses
14>stock of frames
15>other bills
16>medicine stock
17>unit of measurement
18> register empolyee
note:
i am making "eye information management system"..
regards
sumaira manzoor
Loading

Javeed M ShaikhPosted Oct 28, 2011, 10:56 AM
I think you are trying to build a ASP.NET MVC pattern project and you want to create the Controller class in your project. I would highly recommend to read articles from C# Corner website to know more about the ASP.NET MVC Model. Microsoft provides framework to build such projects which contains structures for each layer (even sample controller classes to begin with) this will give you a good idea on how to design controller class based on your requirements. Since designing controller class required complete knowledge and vision of the project you are the best person to design that.
More on controller class:
Web-based MVC frameworks map URLs to server code in a slightly different way. Instead of mapping
incoming URLs to files, they instead map URLs to methods on classes. These classes are called
"Controllers" and they are responsible for processing incoming HTTP requests, handling user input,
retrieving and saving data, and determining the response to send back to the client (display HTML,
download a file, redirect to a different URL, etc).
sumaira manzoor hussain khanPosted Oct 28, 2011, 3:23 AM
i am sending my erd.
regards
sumaira manzoor
sumaira manzoor hussain khanPosted Oct 28, 2011, 3:11 AM
Sir, i am making a project of eye information management system. this is a web based project (asp.net, for programming csharp, database sql server 2000).
i am doing step by step work on this project. first i made er-diagram then i am making class diagram. In the class diagram, i want to indentify which is my control class ,entity, and boundary class. secondly, In the programming point of view . i want to make control class . because i donot want to write code in the back of the button. i will create control class and the method of control class call in the back of the button. actually this is a good programming practice.
In the previous post , i mentioned my database table . Now this is my project forms.
1) surgery (surgery, surgery type, patient surgery)
2) patient info
3) doctor info
4) opd (opd info, patient visit,billing visit,patient visit treatment , treatments)
5) medicine stock( stock master, detail, unit of measurement )
6) other bills ( master ,detail)
7) stock of frame
8) glasses
9) medicine(medicine , type of medicine)
10) patient visit medicine
note:
can i sent my er-diagram or not.
i hope , this is a enough elaboration. if you will ask more elaboration then i will tell you.
regards
sumaira manzoor
Suthish NairPosted Oct 27, 2011, 2:08 PM
Javeed M ShaikhPosted Oct 27, 2011, 11:44 AM
Please elaborate more on your question what do you mean by identify Control Class in C#, is it custom control, data layer class?