Click here to Skip to main content
15,910,661 members
Home / Discussions / C#
   

C#

 
GeneralRe: i need help Pin
zez01-Nov-09 21:35
zez01-Nov-09 21:35 
GeneralRe: i need help Pin
Christian Graus1-Nov-09 21:40
protectorChristian Graus1-Nov-09 21:40 
AnswerRe: i need help Pin
dan!sh 1-Nov-09 20:54
professional dan!sh 1-Nov-09 20:54 
Questionhow to disable BT and WIFI in windows mobile - C# Pin
E_Gold1-Nov-09 19:26
E_Gold1-Nov-09 19:26 
AnswerRe: how to disable BT and WIFI in windows mobile - C# Pin
Christian Graus1-Nov-09 20:01
protectorChristian Graus1-Nov-09 20:01 
GeneralRe: how to disable BT and WIFI in windows mobile - C# Pin
E_Gold1-Nov-09 21:15
E_Gold1-Nov-09 21:15 
GeneralRe: how to disable BT and WIFI in windows mobile - C# Pin
Christian Graus1-Nov-09 21:19
protectorChristian Graus1-Nov-09 21:19 
QuestionReport not load Pin
haleemasher1-Nov-09 18:59
haleemasher1-Nov-09 18:59 
Hi all i have a code in to show Date to Date report.When i compile and run it, it cannt show any error but when it run in browser it takes too much time to load and no result is shown. I take this code from an article and i want to implement it. Plz help y it even show parameters and reports???


protected  void   btnShow_Click(object sender, System.EventArgs e)
        {

           ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load("CrystalReport3.rpt");

            TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
            TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
            ConnectionInfo crConnectionInfo = new ConnectionInfo();
            Tables CrTables;

            ParameterFieldDefinitions crParameterFieldDefinitions ;
            ParameterFieldDefinition crParameterFieldDefinition ;
            ParameterValues crParameterValues = new ParameterValues();
            ParameterDiscreteValue crParameterDiscreteValue = new ParameterDiscreteValue();

            crParameterDiscreteValue.Value =txtFrom.Text;
            crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields;
            crParameterFieldDefinition = crParameterFieldDefinitions["Date1"];
            crParameterValues = crParameterFieldDefinition.CurrentValues;

            crParameterValues.Clear();
            crParameterValues.Add(crParameterDiscreteValue);
            crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);

            crParameterDiscreteValue.Value = txtTo.Text;
            crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields;
            crParameterFieldDefinition = crParameterFieldDefinitions["Date2"];
            crParameterValues = crParameterFieldDefinition.CurrentValues;

            crParameterValues.Add(crParameterDiscreteValue);
            crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
      
            crConnectionInfo.ServerName = "Server1";
            crConnectionInfo.DatabaseName = "Coupon Management.mdf";
            crConnectionInfo.UserID = "";
            crConnectionInfo.Password = "";

            CrTables = cryRpt.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
            {
                crtableLogoninfo = CrTable.LogOnInfo;
                crtableLogoninfo.ConnectionInfo = crConnectionInfo;
                CrTable.ApplyLogOnInfo(crtableLogoninfo);
            }

            CrystalReportViewer2.ReportSource = cryRpt;
            CrystalReportViewer2.RefreshReport(); 
        }

AnswerRe: Report not load Pin
Christian Graus1-Nov-09 19:10
protectorChristian Graus1-Nov-09 19:10 
QuestionUsing .Equals on a generic type constrained by struct. Pin
CaptainSeeSharp1-Nov-09 15:45
CaptainSeeSharp1-Nov-09 15:45 
AnswerRe: Using .Equals on a generic type constrained by struct. Pin
Not Active1-Nov-09 17:08
mentorNot Active1-Nov-09 17:08 
AnswerRe: Using .Equals on a generic type constrained by struct. Pin
Christian Graus1-Nov-09 17:57
protectorChristian Graus1-Nov-09 17:57 
GeneralRe: Using .Equals on a generic type constrained by struct. Pin
CaptainSeeSharp1-Nov-09 18:07
CaptainSeeSharp1-Nov-09 18:07 
GeneralRe: Using .Equals on a generic type constrained by struct. Pin
Christian Graus1-Nov-09 18:39
protectorChristian Graus1-Nov-09 18:39 
AnswerRe: Using .Equals on a generic type constrained by struct. Pin
N a v a n e e t h1-Nov-09 22:33
N a v a n e e t h1-Nov-09 22:33 
QuestionZedGraph date help Pin
Aljaz1111-Nov-09 12:46
Aljaz1111-Nov-09 12:46 
AnswerRe: ZedGraph date help Pin
Christian Graus1-Nov-09 13:01
protectorChristian Graus1-Nov-09 13:01 
Questionled to rs232 [modified] Pin
_Q12_1-Nov-09 12:35
_Q12_1-Nov-09 12:35 
AnswerRe: led to rs232 Pin
Christian Graus1-Nov-09 12:42
protectorChristian Graus1-Nov-09 12:42 
GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 12:56
_Q12_1-Nov-09 12:56 
GeneralRe: led to rs232 Pin
Christian Graus1-Nov-09 13:02
protectorChristian Graus1-Nov-09 13:02 
GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 13:10
_Q12_1-Nov-09 13:10 
GeneralRe: led to rs232 Pin
Christian Graus1-Nov-09 13:33
protectorChristian Graus1-Nov-09 13:33 
AnswerRe: led to rs232 Pin
Alan N1-Nov-09 13:25
Alan N1-Nov-09 13:25 
AnswerRe: led to rs232 Pin
Luc Pattyn1-Nov-09 13:28
sitebuilderLuc Pattyn1-Nov-09 13:28 

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.