Microsoft.NET 2.0 Question:
Download Questions PDF

How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?

Answer:

It works for me with this code:ParameterFields paramFields = new ParameterFields(); //setdata ParameterField param_date = new ParameterField(); param_date.ParameterFieldName = "date"; ParameterDiscreteValue d = new ParameterDiscreteValue(); d.Value = this.date+" - "+this.datesf; param_date.CurrentValues.Add(d); paramFields.Add(param_date); //set number ParameterField param_no = new ParameterField(); param_no.ParameterFieldName = "number"; ParameterDiscreteValue number = new ParameterDiscreteValue(); if (this.no==0) number .Value = ""; else number.Value = this.no.ToString(); param_no.CurrentValues.Add(number); paramFields.Add(param_no); //and so on repview_total.ParameterFieldInfo = paramFields;

Download Microsoft.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain the procedure to add assemly to GAC to make it shared one?Consider a datagrid in windows application. Here item, rate, qty, amount field are there. When user enters rate and qty, amount should be automatically calculated. When enter key is pressed, the cursor should go from item to rate and then qty and then amount. But amount should be automatically calculated. In Grid when button is clicked, then and then only new row should be created and another button is clicked, row should be removed.Thus give me the solution?