返回首页

我想显示,是given.please短了我的问题具体sqlqueries的报告中的ReportViewer net4.0。|我想通过给定的是我problem.nbsp given.please短了具体sqlqueries显示在ReportViewer报告net4.0;


NBSP。
私人无效Generate_Click(对象发件人,EventArgs的五)
{
NBSP ((comboBox1.Text = NULL)放大器;!放大器(comboBox2.Text = NULL)放大器;放大器;(comboBox3.Text = NULL)放大器;!放大器( textBox1.Text = NULL))
! {


NBSP NBSP

sqlc.Close()
sqlc.Open()
NBSP NBSP
INT = monthsvalue(comboBox1.Text)
诠释V = monthsvalue(comboBox3.Text)
SQLData的新的SqlDataAdapter("选择emp_id,month_s,year_s,ESI,从工资的地方Year_s ="comboBox2.Text","与month_s"U"'和'"V"NBSP PF; NBSP和EMP_ID ="textBox1.Text" SQLC)

NBSP NBSP DataSet2 DS =新Pay_Roll.DataSet2
sqldata.Fill(DS,"工资")
RDS =新ReportDataSource(); NBSP

NBSP this.reportViewer1.LocalReport.DataSources.Clear()
NBSP this.reportViewer1.LocalReport.DataSources.Add(RDS)

this.reportViewer1.LocalReport.Refresh(){ BR}
NBSP
NBSP
NBSP NBSP

},

回答