Click here to Skip to main content
15,894,825 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make custom pagination when use grid view in c# Pin
Richard MacCutchan8-Oct-14 21:42
mveRichard MacCutchan8-Oct-14 21:42 
AnswerRe: How to make custom pagination when use grid view in c# Pin
Maciej Los9-Oct-14 10:56
mveMaciej Los9-Oct-14 10:56 
GeneralHow to Create task bar in c# windows app Pin
Srikanth598-Oct-14 3:51
Srikanth598-Oct-14 3:51 
GeneralRe: How to Create task bar in c# windows app Pin
DaveAuld8-Oct-14 3:58
professionalDaveAuld8-Oct-14 3:58 
JokeRe: How to Create task bar in c# windows app Pin
Duncan Edwards Jones8-Oct-14 4:04
professionalDuncan Edwards Jones8-Oct-14 4:04 
GeneralRe: How to Create task bar in c# windows app Pin
enhzflep8-Oct-14 3:59
enhzflep8-Oct-14 3:59 
GeneralRe: How to Create task bar in c# windows app Pin
Richard MacCutchan8-Oct-14 4:19
mveRichard MacCutchan8-Oct-14 4:19 
QuestionC# Window form application not working another computer Pin
coolsuhail8-Oct-14 3:39
coolsuhail8-Oct-14 3:39 
AnswerRe: C# Window form application not working another computer Pin
Dominic Burford8-Oct-14 4:00
professionalDominic Burford8-Oct-14 4:00 
GeneralRe: C# Window form application not working another computer Pin
coolsuhail10-Oct-14 1:47
coolsuhail10-Oct-14 1:47 
AnswerRe: C# Window form application not working another computer Pin
Richard MacCutchan8-Oct-14 4:17
mveRichard MacCutchan8-Oct-14 4:17 
GeneralRe: C# Window form application not working another computer Pin
Pete O'Hanlon8-Oct-14 4:35
mvePete O'Hanlon8-Oct-14 4:35 
GeneralRe: C# Window form application not working another computer Pin
Richard MacCutchan8-Oct-14 4:45
mveRichard MacCutchan8-Oct-14 4:45 
AnswerRe: C# Window form application not working another computer Pin
Swinkaran8-Oct-14 12:53
professionalSwinkaran8-Oct-14 12:53 
QuestionProblem with ReportViewer Pin
Kris_C#8-Oct-14 1:46
Kris_C#8-Oct-14 1:46 
Hello,

I have problem to put variables to reportviewer.
First I put variables to parametrs and then to reportviewer.
Code looks like that:
C#
jodb baza_win = new jodb(.....data.....to.....connection......SQL);
List<DaneRaportu> lista = baza_win.pobierz_rap_view(......query......SQL)
reportViewer1.ProcessingMode = ProcessingMode.Local;
LocalReport localReport = reportViewer1.LocalReport;

reportViewer1.LocalReport.DataSources.Clear(); //clear report
reportViewer1.LocalReport.ReportEmbeddedResource = "Raporting.Report_Promo.rdlc"; // bind reportviewer with .rdlc

Microsoft.Reporting.WinForms.ReportDataSource dataset = new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", lista); // set the datasource
reportViewer1.LocalReport.DataSources.Add(dataset);
dataset.Value = lista;

            string data_rap = "Dataprobna";   //variables that I won't put in reportviewer
            ReportParameter nowydataod = new ReportParameter("dataodview", data_rap);  //dataodview this is name of parameter in design report
            this.reportViewer1.LocalReport.SetParameters(nowydataod);


Next in report I put parameter to textbox. Expression looks like that: Parameters!dataodview.Value

When I start program I get this communication:
An error occurred during local report processing
In details:
Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.Reporting.DefinitionInvalidException: The definition of the report '' is invalid. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\User\AppData\Local\Temp\expression_host_1f2d7bdeb7b24b8a9d99ff74d15a1b60.dll' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

The strange thing is that when I start program in Start Debugging everything is ok but when I start program in Start Without Debugging I have bug.

Maybe someone knows what happened?
QuestionTo make dataGridView Table cell into Button Pin
avisharma@sharma8-Oct-14 0:01
avisharma@sharma8-Oct-14 0:01 
AnswerRe: To make dataGridView Table cell into Button Pin
Eddy Vluggen8-Oct-14 0:30
professionalEddy Vluggen8-Oct-14 0:30 
GeneralRe: To make dataGridView Table cell into Button Pin
avisharma@sharma8-Oct-14 0:43
avisharma@sharma8-Oct-14 0:43 
GeneralRe: To make dataGridView Table cell into Button Pin
avisharma@sharma8-Oct-14 0:52
avisharma@sharma8-Oct-14 0:52 
GeneralRe: To make dataGridView Table cell into Button Pin
Eddy Vluggen8-Oct-14 1:05
professionalEddy Vluggen8-Oct-14 1:05 
Questiondelegates and marshalling Pin
Member 111363017-Oct-14 11:30
Member 111363017-Oct-14 11:30 
AnswerRe: delegates and marshalling Pin
BillWoodruff7-Oct-14 19:55
professionalBillWoodruff7-Oct-14 19:55 
Questioni am tired guides for how to select new record in gridex janus for add in database Pin
fatemehsoleimani7-Oct-14 4:59
fatemehsoleimani7-Oct-14 4:59 
AnswerRe: how to select new record in gridex janus for add in database Pin
fatemehsoleimani7-Oct-14 11:18
fatemehsoleimani7-Oct-14 11:18 
GeneralRe: how to select new record in gridex janus for add in database Pin
fatemehsoleimani9-Oct-14 3:51
fatemehsoleimani9-Oct-14 3:51 

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.