Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

Irshadkk

@Irshadkk
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • rdlc report in c# winforms programmatically
    I Irshadkk

    I got the report using rdlc by the report wizard but i can't view anything by using this methode programmatically.. Here I just added a report file report2.rdlc and a report viewer reportViewer2 to the form. and no more process done with out the following code in a button click My code in button click event ''''''''''''''''''''''''''''' String get_results = "SELECT * FROM Employee"; SqlConnection con = new SqlConnection(@"Connection String"); con.Open(); SqlDataAdapter adp = new SqlDataAdapter(get_results, con); DataSet ds = new DataSet(); adp.Fill(ds); Microsoft.Reporting.WinForms.ReportDataSource repds = new Microsoft.Reporting.WinForms.ReportDataSource("Employee",ds.Tables[0]); reportViewer2.ProcessingMode = ProcessingMode.Local; String rPath = @"F:\report\report2.rdlc"; reportViewer2.LocalReport.ReportPath = rPath; reportViewer2.LocalReport.DataSources.Clear(); reportViewer2.LocalReport.DataSources.Add(repds); reportViewer2.Visible = true; reportViewer2.RefreshReport(); ... i don't get any result on my form... if it need to assign something to the rdlc file or reportviwer other than the above code, or should i insert a dataset or anything other than the code.. if it need please help me it in programmatically....

    Windows Forms csharp winforms help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups