Click here to Skip to main content
15,920,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open Graphic files in real PixelFormat Pin
Alpini16-Jun-05 4:32
Alpini16-Jun-05 4:32 
GeneralRe: Open Graphic files in real PixelFormat Pin
Dave Kreskowiak16-Jun-05 4:47
mveDave Kreskowiak16-Jun-05 4:47 
GeneralRe: Open Graphic files in real PixelFormat Pin
Alpini16-Jun-05 9:22
Alpini16-Jun-05 9:22 
GeneralMouseWheel Event Pin
Anonymous16-Jun-05 0:41
Anonymous16-Jun-05 0:41 
GeneralRe: MouseWheel Event Pin
Marc Clifton16-Jun-05 1:23
mvaMarc Clifton16-Jun-05 1:23 
QuestionAdd-in, how to work with it? Pin
Khoa Bui15-Jun-05 23:28
Khoa Bui15-Jun-05 23:28 
AnswerRe: Add-in, how to work with it? Pin
Werdna16-Jun-05 4:55
Werdna16-Jun-05 4:55 
GeneralCrystal report and C# Pin
jeya_00715-Jun-05 23:16
jeya_00715-Jun-05 23:16 
hi all,
I am trying to change databse for a report.It has MS Access data connection by default.I am trying to chage to sybase through odbc.I follow the same steps recomeded by crystal report's web site..it seems not working...

any one can help on this...

thanks in advance..

code for you refer...alwys displaying connection error...

CrReportDoc.SetDatabaseLogon("dba","sql","posdataodbc","tmpdata");
CrConnInfo.ServerName="posdataodbc";
CrConnInfo.DatabaseName ="tmpdata";
CrConnInfo.UserID="dba";
CrConnInfo.Password="sql";
CrTables=CrReportDoc.Database.Tables; ;
for(int i=0;i<=CrTables.Count-1;i++)
{

CrTableLogoninfo = new TableLogOnInfo();
CrTable = CrTables[i];
CrTableLogoninfo = CrTable.LogOnInfo;
CrTableLogoninfo.ReportName =CrTable.LogOnInfo.ReportName;
CrTableLogoninfo.ConnectionInfo= CrConnInfo;
CrTable.ApplyLogOnInfo(CrTableLogoninfo);
CrTableLogoninfo = CrTable.LogOnInfo;
if(!CrTable.TestConnectivity())
{
System.Windows.Forms.MessageBox.Show("Error Connection");
return false;
}
CrTables[i].Location = "DBA." + CrTableLogoninfo.TableName;
}
break;

Jeyapandian Kb.
QuestionListView - some kind of a scroll event? Pin
iliyang15-Jun-05 22:55
iliyang15-Jun-05 22:55 
Questionwhat is the difference between Property and Public Field? Pin
Khoa Bui15-Jun-05 22:51
Khoa Bui15-Jun-05 22:51 
AnswerRe: what is the difference between Property and Public Field? Pin
iliyang15-Jun-05 23:06
iliyang15-Jun-05 23:06 
AnswerRe: what is the difference between Property and Public Field? Pin
Andrew Kirillov15-Jun-05 23:12
Andrew Kirillov15-Jun-05 23:12 
Generalthanks, I got it! Pin
Khoa Bui15-Jun-05 23:25
Khoa Bui15-Jun-05 23:25 
GeneralRe: thanks, I got it! Pin
Colin Angus Mackay16-Jun-05 0:52
Colin Angus Mackay16-Jun-05 0:52 
GeneralRe: thanks, I got it! Pin
iliyang16-Jun-05 1:15
iliyang16-Jun-05 1:15 
AnswerRe: what is the difference between Property and Public Field? Pin
eggie516-Jun-05 5:39
eggie516-Jun-05 5:39 
Questionhow merge 2 PNG images in one Pin
Anonymous15-Jun-05 22:32
Anonymous15-Jun-05 22:32 
AnswerRe: how merge 2 PNG images in one Pin
Niklas Ulvinge15-Jun-05 22:57
Niklas Ulvinge15-Jun-05 22:57 
AnswerRe: how merge 2 PNG images in one Pin
iliyang15-Jun-05 23:13
iliyang15-Jun-05 23:13 
GeneralRe: how merge 2 PNG images in one Pin
Anonymous16-Jun-05 0:04
Anonymous16-Jun-05 0:04 
GeneralRe: how merge 2 PNG images in one Pin
iliyang16-Jun-05 0:38
iliyang16-Jun-05 0:38 
GeneralRe: how merge 2 PNG images in one Pin
Anonymous16-Jun-05 1:33
Anonymous16-Jun-05 1:33 
Generalunsafe code Pin
usbah15-Jun-05 22:05
usbah15-Jun-05 22:05 
GeneralRe: unsafe code Pin
Andrew Kirillov15-Jun-05 23:18
Andrew Kirillov15-Jun-05 23:18 
Generalerror Pin
fatidarya15-Jun-05 21:59
fatidarya15-Jun-05 21:59 

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.