Click here to Skip to main content
15,922,155 members
Home / Discussions / C#
   

C#

 
QuestionHandwritten character recognition in c# Pin
indikakulasekara13-Jun-09 22:20
indikakulasekara13-Jun-09 22:20 
AnswerRe: Handwritten character recognition in c# Pin
Henry Minute13-Jun-09 23:57
Henry Minute13-Jun-09 23:57 
QuestionHow to cancel the adobe reader opening when You click a link on IE? Pin
svt gdwl13-Jun-09 19:47
svt gdwl13-Jun-09 19:47 
AnswerRe: How to cancel the adobe reader opening when You click a link on IE? Pin
Guffa13-Jun-09 21:04
Guffa13-Jun-09 21:04 
Questionform can not disappear after code visible=false Pin
KIDYA13-Jun-09 19:16
KIDYA13-Jun-09 19:16 
AnswerRe: form can not disappear after code visible=false Pin
OriginalGriff13-Jun-09 21:14
mveOriginalGriff13-Jun-09 21:14 
AnswerRe: form can not disappear after code visible=false Pin
Dave Kreskowiak13-Jun-09 21:49
mveDave Kreskowiak13-Jun-09 21:49 
Questioncrystal report data not showing Pin
neodeaths13-Jun-09 18:35
neodeaths13-Jun-09 18: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 19:20
KIDYA13-Jun-09 19:20 
GeneralRe: crystal report data not showing Pin
neodeaths13-Jun-09 20:27
neodeaths13-Jun-09 20:27 
Questiontablet pc application Pin
radhikasharma13-Jun-09 10:40
radhikasharma13-Jun-09 10:40 
Questionshow tooltip even if treeview doesn't have focus? Pin
FocusedWolf13-Jun-09 9:41
FocusedWolf13-Jun-09 9:41 
AnswerRe: show tooltip even if treeview doesn't have focus? Pin
Mycroft Holmes13-Jun-09 16:23
professionalMycroft Holmes13-Jun-09 16:23 
GeneralRe: show tooltip even if treeview doesn't have focus? Pin
FocusedWolf13-Jun-09 18:58
FocusedWolf13-Jun-09 18:58 
GeneralRe: show tooltip even if treeview doesn't have focus? Pin
Mycroft Holmes13-Jun-09 21:07
professionalMycroft Holmes13-Jun-09 21:07 
GeneralRe: show tooltip even if treeview doesn't have focus? Pin
FocusedWolf13-Jun-09 22:01
FocusedWolf13-Jun-09 22:01 
QuestionRead from process Pin
thomaxz.tc13-Jun-09 9:37
thomaxz.tc13-Jun-09 9:37 
AnswerRe: Read from process Pin
Luc Pattyn13-Jun-09 10:12
sitebuilderLuc Pattyn13-Jun-09 10:12 
GeneralRe: Read from process Pin
thomaxz.tc13-Jun-09 12:29
thomaxz.tc13-Jun-09 12:29 
GeneralRe: Read from process Pin
Luc Pattyn13-Jun-09 12:37
sitebuilderLuc Pattyn13-Jun-09 12:37 
GeneralRe: Read from process Pin
thomaxz.tc13-Jun-09 12:47
thomaxz.tc13-Jun-09 12:47 
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 23:32
thomaxz.tc13-Jun-09 23:32 
Questionload a lot of Images to memory Pin
nryk13-Jun-09 8:57
nryk13-Jun-09 8:57 
AnswerRe: load a lot of Images to memory Pin
Luc Pattyn13-Jun-09 9:37
sitebuilderLuc Pattyn13-Jun-09 9: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.