Click here to Skip to main content
16,014,952 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to scroll ListView from your source code? Pin
Chesnokov Yuriy7-Dec-10 19:47
professionalChesnokov Yuriy7-Dec-10 19:47 
AnswerRe: How to scroll ListView from your source code? Pin
Luc Pattyn7-Dec-10 22:53
sitebuilderLuc Pattyn7-Dec-10 22:53 
AnswerRe: How to scroll ListView from your source code? Pin
#realJSOP7-Dec-10 23:30
professional#realJSOP7-Dec-10 23:30 
QuestionLogon Failed Error For Crystal Report. Pin
Sanket.Patil7-Dec-10 1:28
Sanket.Patil7-Dec-10 1:28 
AnswerRe: Logon Failed Error For Crystal Report. Pin
Alok Sharma ji7-Dec-10 1:51
Alok Sharma ji7-Dec-10 1:51 
GeneralRe: Logon Failed Error For Crystal Report. Pin
Sanket.Patil7-Dec-10 18:04
Sanket.Patil7-Dec-10 18:04 
GeneralRe: Logon Failed Error For Crystal Report. Pin
Alok Sharma ji8-Dec-10 0:45
Alok Sharma ji8-Dec-10 0:45 
GeneralRe: Logon Failed Error For Crystal Report. Pin
Sanket.Patil8-Dec-10 0:55
Sanket.Patil8-Dec-10 0:55 
Hello Alok Sharma Ji,

Thanks Once Again For The Reply. What I Have Done In My Code Is Here.

ALLEXE = new PayrollSoft.Report.AllowanceExempt();

                    tblinfo = new TableLogOnInfo();
                    foreach (Table Atbl in ALLEXE.Database.Tables)
                    {
                        tblinfo = Atbl.LogOnInfo;
                        tblinfo.ConnectionInfo.ServerName = objcon.GetServerName();
                        tblinfo.ConnectionInfo.DatabaseName = objcon.GetDatabaseName();
                        tblinfo.ConnectionInfo.UserID = objcon.GetUserId();
                        tblinfo.ConnectionInfo.Password = objcon.GetPassword();
                        if (objcon.GetTrustedConnection().ToUpper().Equals("YES"))
                            tblinfo.ConnectionInfo.IntegratedSecurity = true;
                        else
                            tblinfo.ConnectionInfo.IntegratedSecurity = false;
                        Atbl.ApplyLogOnInfo(tblinfo);
                    }

                    ALLEXE.RecordSelectionFormula = "{ALLOW_EXEMPT.IA_CM_CODE}= " + Masters.MainMaster.CMPID + " AND {ALLOW_EXEMPT.IA_YEAR}=" + cmbYear.Text.Remove(4, 1) + " AND {ALLOW_EXEMPT.IA_DELETE}=false " + Query;
                    StrCompanyName = objcon.GetColumn("Select CM_COMP_NAME from COMPANY_SETTING WHERE CM_COMP_ID=" + Masters.MainMaster.CMPID + "");
                    ALLEXE.SetParameterValue("companyname", StrCompanyName);
                    crystalReportViewer2.ReportSource = ALLEXE;
                    this.Show();


Hope This Is The Right Way to Provide Logon Information To Report.

Thanks & Regards

Pankaj Patil.
.

AnswerRe: Logon Failed Error For Crystal Report. Pin
thatraja8-Dec-10 1:48
professionalthatraja8-Dec-10 1:48 
Question10 digit Crypted Value Pin
Enobong Adahada6-Dec-10 22:48
Enobong Adahada6-Dec-10 22:48 
AnswerRe: 10 digit Crypted Value Pin
OriginalGriff7-Dec-10 0:40
mveOriginalGriff7-Dec-10 0:40 
GeneralRe: 10 digit Crypted Value Pin
Enobong Adahada7-Dec-10 0:59
Enobong Adahada7-Dec-10 0:59 
GeneralRe: 10 digit Crypted Value Pin
OriginalGriff7-Dec-10 1:09
mveOriginalGriff7-Dec-10 1:09 
AnswerRe: 10 digit Crypted Value Pin
Yvan Rodrigues12-Dec-10 13:59
professionalYvan Rodrigues12-Dec-10 13:59 
AnswerRe: 10 digit Crypted Value Pin
Sathesh Sakthivel7-Dec-10 0:52
Sathesh Sakthivel7-Dec-10 0:52 
GeneralRe: 10 digit Crypted Value Pin
Enobong Adahada7-Dec-10 1:03
Enobong Adahada7-Dec-10 1:03 
GeneralRe: 10 digit Crypted Value Pin
Not Active7-Dec-10 2:16
mentorNot Active7-Dec-10 2:16 
QuestionASP C# WebSite to load a simple CSV File Pin
gorovdude6-Dec-10 21:54
gorovdude6-Dec-10 21:54 
AnswerRe: ASP C# WebSite to load a simple CSV File [modified] Pin
Dan Mos6-Dec-10 22:17
Dan Mos6-Dec-10 22:17 
QuestionRe: ASP C# WebSite to load a simple CSV File Pin
Luc Pattyn6-Dec-10 22:26
sitebuilderLuc Pattyn6-Dec-10 22:26 
AnswerRe: ASP C# WebSite to load a simple CSV File Pin
Dan Mos6-Dec-10 22:27
Dan Mos6-Dec-10 22:27 
GeneralRe: ASP C# WebSite to load a simple CSV File Pin
Luc Pattyn6-Dec-10 22:30
sitebuilderLuc Pattyn6-Dec-10 22:30 
GeneralRe: ASP C# WebSite to load a simple CSV File Pin
Dan Mos6-Dec-10 22:31
Dan Mos6-Dec-10 22:31 
GeneralRe: ASP C# WebSite to load a simple CSV File Pin
Luc Pattyn6-Dec-10 22:32
sitebuilderLuc Pattyn6-Dec-10 22:32 
AnswerRe: ASP C# WebSite to load a simple CSV File Pin
TweakBird7-Dec-10 1:35
TweakBird7-Dec-10 1:35 

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.