Answered by:
Developing a web application for exam results for University.

Question
-
User1551338844 posted
I started developing a web application that produce exam results when user enter his/her roll number user get his result and make a printout of this result.
I have the result data in excel files , one way is first i have to import the data into sql server 2008 and then retrieve it.
So please give some idea and suggestion how to build the application in asp.net with c#.
I am building this application for a university website.
Thanks
Friday, July 19, 2013 7:14 AM
Answers
-
User-1008337648 posted
Hi mohdwaseem,
1.Import the data that in excel files, you can refer to http://msdn.microsoft.com/en-us/library/ms140052(v=sql.100).aspx
2.Create a asp.net project with Login.aspx, UserInfo.aspx, Manager.aspx. In UserInfo.aspx you can show the result that user get and one click button to let user printout the result.
3. About how to print specified data, you can refer to http://forums.asp.net/t/1885542.aspx/1?Print+Datagrid+
Thanks
Best Regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, July 20, 2013 12:13 PM
All replies
-
User1293050055 posted
READ FROM EXCEL AND PRINT THE RESULT.
look below link you will get some idea
http://csharpdotnetfreak.blogspot.com/2011/12/upload-and-read-excel-file-in-aspnet.html
http://www.codeproject.com/Tips/509179/Read-Excel-File-into-DataSet-in-ASP-NET-Using-Csha
Friday, July 19, 2013 7:29 AM -
User1551338844 posted
This is the only solution to export data from excel but my task is to first export and then display result and print out of this result.
Friday, July 19, 2013 8:37 AM -
User-848409960 posted
Step One.. Display it...
Create a Button Print.
Invoke OS Print Dialog Box with Javascript on Button Click.
window.print();
Use CSS @media print to hide/show modify style for printing...
Use http://html2pdf.fr/en/default if you want to provide user with and option to download a pdf version of result..Thanks.
Friday, July 19, 2013 8:43 AM -
User-1008337648 posted
Hi mohdwaseem,
1.Import the data that in excel files, you can refer to http://msdn.microsoft.com/en-us/library/ms140052(v=sql.100).aspx
2.Create a asp.net project with Login.aspx, UserInfo.aspx, Manager.aspx. In UserInfo.aspx you can show the result that user get and one click button to let user printout the result.
3. About how to print specified data, you can refer to http://forums.asp.net/t/1885542.aspx/1?Print+Datagrid+
Thanks
Best Regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, July 20, 2013 12:13 PM -
User-1454326058 posted
Hi mohdwaseem,
Has your issue been solved, Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Thanks
BestRegards
Friday, July 26, 2013 3:12 AM -
User-1454326058 posted
Hi mohdwaseem,
Since we haven't heard from you for a long time, I temporarily close this case. I mark useful reply as answer. If you have any concerns, please
free feel to reopen it or submit a new question. Thanks for your understanding.
Thanks
Best Regards
Monday, July 29, 2013 4:08 AM