Click here to Skip to main content
15,844,673 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to locate a window by title Pin
Leif Simon Goodwin24-Nov-17 4:32
Leif Simon Goodwin24-Nov-17 4:32 
QuestionDelete only the rows that has a particular Column value using C# code Pin
Member 1245769023-Nov-17 15:43
Member 1245769023-Nov-17 15:43 
AnswerRe: Delete only the rows that has a particular Column value using C# code Pin
Eddy Vluggen24-Nov-17 3:46
professionalEddy Vluggen24-Nov-17 3:46 
QuestionHow to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201823-Nov-17 15:29
C Sharp coder 201823-Nov-17 15:29 
AnswerRe: How to refresh reportviewer when SQL input data changed Pin
Eddy Vluggen24-Nov-17 3:44
professionalEddy Vluggen24-Nov-17 3:44 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201824-Nov-17 3:56
C Sharp coder 201824-Nov-17 3:56 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
Eddy Vluggen24-Nov-17 4:06
professionalEddy Vluggen24-Nov-17 4:06 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201824-Nov-17 4:20
C Sharp coder 201824-Nov-17 4:20 
Hi
Here is my code: please help me reset the form Smile | :)
public Bihourlyforline()
{
InitializeComponent();


}

private void Bihourlyforline_Load(object sender, EventArgs e)
{


// TODO: This line of code loads data into the 'trainningDBDataSetforbihourly1.viewBiHourly3' table. You can move, or remove it, as needed.
this.viewBiHourly3TableAdapter.Fill(this.trainningDBDataSetforbihourly1.viewBiHourly3);
// TODO: This line of code loads data into the 'trainningDBDataSetforbihourly1.tblLine' table. You can move, or remove it, as needed.
this.tblLineTableAdapter.Fill(this.trainningDBDataSetforbihourly1.tblLine);
// TODO: This line of code loads data into the 'trainningDBDataSetforbihourly1.tblLine' table. You can move, or remove it, as needed.
this.tblLineTableAdapter.Fill(this.trainningDBDataSetforbihourly1.tblLine);

this.reportViewer1.RefreshReport();

SetParameters(cbtimeblockline1.Text,cbtimeblockline2.Text,dateTimePicker1forlinebihourly.Text, cbline.Text);
this.reportViewer1.RefreshReport();


}
private void SetParameters(String timeblock5, String timeblock6, String date5, String line)
{

ReportParameter[] rp = new ReportParameter[4];
rp[0] = new ReportParameter("timeblock5");
rp[1] = new ReportParameter("timeblock6");
rp[2]= new ReportParameter("date5");
rp[3]= new ReportParameter("line");


rp[0].Values.Add(timeblock5);
rp[1].Values.Add(timeblock6);
rp[2].Values.Add(date5);
rp[3].Values.Add(line);


reportViewer1.LocalReport.SetParameters(rp);

}

private void btnthongkelinebi_Click(object sender, EventArgs e)
{



SetParameters(cbtimeblockline1.Text,cbtimeblockline2.Text,dateTimePicker1forlinebihourly.Text, cbline.Text);
this.reportViewer1.RefreshReport();


}


}
}
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
Eddy Vluggen24-Nov-17 4:24
professionalEddy Vluggen24-Nov-17 4:24 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201824-Nov-17 4:39
C Sharp coder 201824-Nov-17 4:39 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
Eddy Vluggen24-Nov-17 4:42
professionalEddy Vluggen24-Nov-17 4:42 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201824-Nov-17 4:52
C Sharp coder 201824-Nov-17 4:52 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
Eddy Vluggen24-Nov-17 6:10
professionalEddy Vluggen24-Nov-17 6:10 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201828-Nov-17 18:48
C Sharp coder 201828-Nov-17 18:48 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
C Sharp coder 201828-Nov-17 18:56
C Sharp coder 201828-Nov-17 18:56 
GeneralRe: How to refresh reportviewer when SQL input data changed Pin
Eddy Vluggen29-Nov-17 1:27
professionalEddy Vluggen29-Nov-17 1:27 
Questionerror:The remote server returned an error: (411) Length Required. Pin
Urmila Pawar22-Nov-17 19:44
Urmila Pawar22-Nov-17 19:44 
AnswerRe: error:The remote server returned an error: (411) Length Required. Pin
Jochen Arndt22-Nov-17 22:28
professionalJochen Arndt22-Nov-17 22:28 
QuestionTabcontrol and treeview data binding Pin
Hervend22-Nov-17 13:59
Hervend22-Nov-17 13:59 
AnswerRe: Tabcontrol and treeview data binding Pin
Mycroft Holmes22-Nov-17 14:15
professionalMycroft Holmes22-Nov-17 14:15 
Questionhow svd(singular decompostion value) works for matrix? Pin
Isawyouoo22-Nov-17 5:00
Isawyouoo22-Nov-17 5:00 
AnswerRe: how svd(singular decompostion value) works for matrix? Pin
M-Badger22-Nov-17 5:36
M-Badger22-Nov-17 5:36 
GeneralRe: how svd(singular decompostion value) works for matrix? Pin
Isawyouoo22-Nov-17 6:00
Isawyouoo22-Nov-17 6:00 
GeneralRe: how svd(singular decompostion value) works for matrix? Pin
OriginalGriff22-Nov-17 9:26
mveOriginalGriff22-Nov-17 9:26 
GeneralRe: how svd(singular decompostion value) works for matrix? Pin
Isawyouoo23-Nov-17 12:19
Isawyouoo23-Nov-17 12:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.