Click here to Skip to main content
15,922,630 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to bind all the columns in a data table to dropdownl list? Pin
jinovv13-Dec-09 18:33
jinovv13-Dec-09 18:33 
GeneralRe: How to bind all the columns in a data table to dropdownl list? Pin
chakran13-Dec-09 18:40
chakran13-Dec-09 18:40 
GeneralRe: How to bind all the columns in a data table to dropdownl list? Pin
chakran13-Dec-09 18:52
chakran13-Dec-09 18:52 
GeneralRe: How to bind all the columns in a data table to dropdownl list? Pin
sekannak14-Dec-09 1:07
sekannak14-Dec-09 1:07 
Questionasp.net and flex combo box Pin
karthi1613-Dec-09 18:02
karthi1613-Dec-09 18:02 
QuestionImport contacts from email in asp.net Pin
jinovv13-Dec-09 17:49
jinovv13-Dec-09 17:49 
AnswerRe: Import contacts from email in asp.net Pin
Abhishek Sur13-Dec-09 21:22
professionalAbhishek Sur13-Dec-09 21:22 
Questioncrystal report load error... Pin
Thilina.madush13-Dec-09 16:32
Thilina.madush13-Dec-09 16:32 
I used below code to display some data using crystal report.i used separate dataSet() object and connected it to the crystal report setDataSourse.
There are no compile errors,but after running it gives me the error
"Load report failed".

plz help..

The code.
String ConnectionString = ConfigurationManager.ConnectionStrings[0].ConnectionString;
        SqlConnection con = new SqlConnection(ConnectionString);
        SqlCommand com = new SqlCommand();
        SqlDataAdapter da = new SqlDataAdapter();
        DataSet1 dataset = new DataSet1();
        com.Connection = con;
        com.CommandText = "Select * from tbl_test_ForumList";
        da.SelectCommand = com;
        try
        {


            con.Open();
            da.Fill(dataset, "Query");
        }

        finally
        {
            con.Close();

        }
      

        
        ReportDocument myrpt = new ReportDocument();
       // CrystalDecisions.CrystalReports.Engine.ReportDocument myrpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
        myrpt.Load(@"D:\ssp_vir\Forum5\Interfaces\Common\ExamResults\Results.rpt");
        myrpt.Database.Tables[0].SetDataSource(dataset);
        CrystalReportViewer1.ReportSource = myrpt;
        CrystalReportViewer1.DataBind();

AnswerRe: crystal report load error... Pin
Abhishek Sur13-Dec-09 21:35
professionalAbhishek Sur13-Dec-09 21:35 
Questionpublishing web site to ftp server Pin
Maverickcool13-Dec-09 9:20
Maverickcool13-Dec-09 9:20 
AnswerRe: publishing web site to ftp server Pin
Abhishek Sur13-Dec-09 12:09
professionalAbhishek Sur13-Dec-09 12:09 
GeneralRe: publishing web site to ftp server Pin
Maverickcool13-Dec-09 19:38
Maverickcool13-Dec-09 19:38 
GeneralRe: publishing web site to ftp server Pin
Abhishek Sur13-Dec-09 21:01
professionalAbhishek Sur13-Dec-09 21:01 
GeneralRe: publishing web site to ftp server Pin
Maverickcool14-Dec-09 6:28
Maverickcool14-Dec-09 6:28 
QuestionCreate Web page from HTML,CSS Template [modified] Pin
fasttoshiba13-Dec-09 9:04
fasttoshiba13-Dec-09 9:04 
AnswerRe: Create Web page from HTML,CSS Template Pin
Abhishek Sur13-Dec-09 12:12
professionalAbhishek Sur13-Dec-09 12:12 
QuestionHELP! PayPal Integration Pin
hifiger200413-Dec-09 6:18
hifiger200413-Dec-09 6:18 
AnswerRe: HELP! PayPal Integration Pin
Abhishek Sur13-Dec-09 12:13
professionalAbhishek Sur13-Dec-09 12:13 
QuestionAzure Contest - migrating existing web site problem [SOLVED] Pin
#realJSOP13-Dec-09 3:16
professional#realJSOP13-Dec-09 3:16 
AnswerRe: Azure Contest - migrating existing web site problem [SOLVED] Pin
Abhishek Sur13-Dec-09 12:14
professionalAbhishek Sur13-Dec-09 12:14 
AnswerRe: Azure Contest - migrating existing web site problem [SOLVED] Pin
Rutvik Dave13-Dec-09 14:34
professionalRutvik Dave13-Dec-09 14:34 
QuestionIIS Commands! Pin
Sr...Frank13-Dec-09 0:22
Sr...Frank13-Dec-09 0:22 
AnswerRe: IIS Commands! Pin
Abhijit Jana13-Dec-09 0:25
professionalAbhijit Jana13-Dec-09 0:25 
QuestionReally difficult a question on RegEx,give u a RegEx,how to get all of the strings that match it? Pin
cyhcyhhychyc12-Dec-09 16:23
cyhcyhhychyc12-Dec-09 16:23 
AnswerRe: Really difficult a question on RegEx,give u a RegEx,how to get all of the strings that match it? Pin
dan!sh 12-Dec-09 18:47
professional dan!sh 12-Dec-09 18:47 

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.