Skip to main content

Posts

Showing posts from February, 2012

Sample Crystal Report Generation

Sample Crystal Report Generation using System.Data.SqlClient; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; public partial class SimpleCrystal2 : System.Web.UI.Page {     protected void Page_Load(object sender, EventArgs e)     {            }     protected void Button1_Click(object sender, EventArgs e)     {         Hospitals_dbo obj = new Hospitals_dbo(false);         //SqlConnection con = new SqlConnection("Server='10.0.0.10';Initial Catalog='sample.DB';user id='user';password='password'");         //con.Open();         ReportDocument rptdoc = new ReportDocument();         DataSetCrystal ds = new DataSetCrystal(); //XSD dataset Sample data Table from the command         DataTable dt = new DataTable();         DataSet d = new DataSet();         dt.TableName = "Crystal Report Example";         string cmd = "Select PrescriptionID,MedicineName,Dosage,VisitID from Mw_Prescrip

Project Team Roles Definations

Project Team Roles Definitions: Just What Does Everyone Do? These terms are used on this site and by the software development industry. Although every company puts their own spin on the definitions, I’ve provided descriptions that match what my clients, employers, and I have used when assembling a project team. Not all teams will require each of these roles and in many cases there will be people taking on the responsibilities of multiple roles. I’ve found that the smaller the company, the more likely someone on a project will be wearing multiple hats. All of these descriptions are also free of the typical modifiers like junior or senior — while these people at different levels have different responsibilities, the core of the role remains largely the same. This list is by no means complete. If you can’t find something, use the search box at the top-right to search this site for other terms as they may appear in some of my other postings. ·          Requirements Analyst D

Software Development Life Cycle Models

Software Development Life Cycle Models The General Model Software life cycle models describe phases of the software cycle and the order in which those phases are executed.  There are tons of models, and many companies adopt their own, but all have very similar patterns.  The general, basic model is shown below: Each phase produces deliverables required by the next phase in the life cycle.  Requirements are translated into design.  Code is produced during implementation that is driven by the design. Testing verifies the deliverable of the implementation phase against requirements. Requirements Business requirements are gathered in this phase.  This phase is the main focus of the project managers and stake holders. Meetings with managers, stake holders and users are held in order to determine the requirements.  Who is going to use the system? How will they use the system?  What data should be input into the system?  What dat

Client Clock by javascript

Client Clock by javascript Place the code below the head tag <script language="Javascript" type="text/javascript"> setInterval("settime()", 1000); function settime () {   var curtime = new Date();   var curhour = curtime.getHours();   var curmin = curtime.getMinutes();   var cursec = curtime.getSeconds();   var time = "";   if(curhour == 0) curhour = 12;   time = (curhour > 12 ? curhour - 12 : curhour) + ":" +          (curmin < 10 ? "0" : "") + curmin + ":" +          (cursec < 10 ? "0" : "") + cursec + " " +          (curhour > 12 ? "PM" : "AM");      document.getElementById('clock').value =time;   //document.getElementById('sample').value=time;   document.getElementById('mydiv').innerHTML  ="<h3>"+time+"</h3>";   } </script> place the code below the body tag <inp

Button Creating with CSS

Button Creating with CSS Styles for Button Creating button with Css: .buttonsave,.buttoncancel{ padding: 3px 5px 5px 20px; background: #663300 url(../IMG/save.png) no-repeat scroll 5px center; color:#D59200; font-weight:bold; height:30px; line-height:2px; margin-bottom:14px; text-decoration:none; width:85px; font-family:Verdana; font-size:13px; -webkit-border-radius: 16px; -moz-border-radius: 10px; } .buttonsave{ background: #663300 url(../IMG/save.png) no-repeat scroll 5px center; } .buttoncancel{ background: #663300 url(../IMG/cancel.png) no-repeat scroll 5px center; } .buttonsave:hover,.buttoncancel:hover { color:#fff; } .buttonsave:active,.buttoncancel:active { color:#fff; } .buttonsave:focus,.buttoncancel:focus { color:#fff; }