Click here to Skip to main content
14,695,085 members
Home » Discussions » C#
   

C#

 
QuestionHandwritten character recognition in c# Pin
indikakulasekara13-Jun-09 23:20
Memberindikakulasekara13-Jun-09 23:20 
AnswerRe: Handwritten character recognition in c# Pin
Henry Minute14-Jun-09 0:57
MemberHenry Minute14-Jun-09 0:57 
QuestionHow to cancel the adobe reader opening when You click a link on IE? Pin
svt gdwl13-Jun-09 20:47
Membersvt gdwl13-Jun-09 20:47 
AnswerRe: How to cancel the adobe reader opening when You click a link on IE? Pin
Guffa13-Jun-09 22:04
MemberGuffa13-Jun-09 22:04 
Questionform can not disappear after code visible=false Pin
KIDYA13-Jun-09 20:16
MemberKIDYA13-Jun-09 20:16 
AnswerRe: form can not disappear after code visible=false Pin
OriginalGriff13-Jun-09 22:14
mveOriginalGriff13-Jun-09 22:14 
AnswerRe: form can not disappear after code visible=false Pin
Dave Kreskowiak13-Jun-09 22:49
mveDave Kreskowiak13-Jun-09 22:49 
Questioncrystal report data not showing Pin
neodeaths13-Jun-09 19:35
Memberneodeaths13-Jun-09 19:35 
hi all

i am using vs.net 2005 c# window application to learn to make a crystal report which connect to a ms sql database programically

hence i tryed this code:

my_rp objRpt;
            // Creating object of our report.
            objRpt = new my_rp();

            String ConnStr = "Data Source=com-DEV;Initial Catalog=DB;Persist Security Info=True;User ID=abc;Password=abc";

            SqlConnection myConnection = new SqlConnection(ConnStr);

            String Query1 = "SELECT     [index], [Model name] FROM         Valve";

            SqlDataAdapter adapter = new SqlDataAdapter(Query1, ConnStr);

            DataSet Ds = new DataSet();

            // here my_dt is the name of the DataTable which we 
            // created in the designer view.
            adapter.Fill(Ds, "dt_my_project_table");

            if (Ds.Tables[0].Rows.Count == 0)
            {
                MessageBox.Show("No data Found", "CrystalReportWithOracle");
                return;
            }

            // Setting data source of our report object
            objRpt.SetDataSource(Ds);

            CrystalDecisions.CrystalReports.Engine.TextObject root;
            root = (CrystalDecisions.CrystalReports.Engine.TextObject)
                 objRpt.ReportDefinition.ReportObjects["TEST1"];
            root.Text = "Sample Report By Using Data Table!!";
            //txt_header
            // Binding the crystalReportViewer with our report object. 
            crystalReportViewer1.ReportSource = objRpt;


how ever the data doesnt show out, i created some break in the code and reliase that the Ds.Tables[0].Rows.Count have the data found in it meaning it works fine how ever the data just dont show out in the crystal report only the header does.

anyone know whats the problem please advice me please
AnswerRe: crystal report data not showing Pin
KIDYA13-Jun-09 20:20
MemberKIDYA13-Jun-09 20:20 
GeneralRe: crystal report data not showing Pin
neodeaths13-Jun-09 21:27
Memberneodeaths13-Jun-09 21:27 
Questiontablet pc application Pin
radhikasharma13-Jun-09 11:40
Memberradhikasharma13-Jun-09 11:40 
Questionshow tooltip even if treeview doesn't have focus? Pin
FocusedWolf13-Jun-09 10:41
MemberFocusedWolf13-Jun-09 10:41 
AnswerRe: show tooltip even if treeview doesn't have focus? Pin
Mycroft Holmes13-Jun-09 17:23
professionalMycroft Holmes13-Jun-09 17:23 
GeneralRe: show tooltip even if treeview doesn't have focus? Pin
FocusedWolf13-Jun-09 19:58
MemberFocusedWolf13-Jun-09 19:58 
GeneralRe: show tooltip even if treeview doesn't have focus? Pin
Mycroft Holmes13-Jun-09 22:07
professionalMycroft Holmes13-Jun-09 22:07 
GeneralRe: show tooltip even if treeview doesn't have focus? Pin
FocusedWolf13-Jun-09 23:01
MemberFocusedWolf13-Jun-09 23:01 
QuestionRead from process Pin
thomaxz.tc13-Jun-09 10:37
Memberthomaxz.tc13-Jun-09 10:37 
AnswerRe: Read from process Pin
Luc Pattyn13-Jun-09 11:12
sitebuilderLuc Pattyn13-Jun-09 11:12 
GeneralRe: Read from process Pin
thomaxz.tc13-Jun-09 13:29
Memberthomaxz.tc13-Jun-09 13:29 
GeneralRe: Read from process Pin
Luc Pattyn13-Jun-09 13:37
sitebuilderLuc Pattyn13-Jun-09 13:37 
GeneralRe: Read from process Pin
thomaxz.tc13-Jun-09 13:47
Memberthomaxz.tc13-Jun-09 13:47 
GeneralRe: Read from process Pin
Luc Pattyn13-Jun-09 14:37
sitebuilderLuc Pattyn13-Jun-09 14:37 
GeneralRe: Read from process Pin
thomaxz.tc14-Jun-09 0:32
Memberthomaxz.tc14-Jun-09 0:32 
Questionload a lot of Images to memory Pin
nryk13-Jun-09 9:57
Membernryk13-Jun-09 9:57 
AnswerRe: load a lot of Images to memory Pin
Luc Pattyn13-Jun-09 10:37
sitebuilderLuc Pattyn13-Jun-09 10:37 

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.