Click here to Skip to main content
15,923,689 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: cryatal report Pin
Christian Graus20-Aug-09 0:07
protectorChristian Graus20-Aug-09 0:07 
GeneralRe: cryatal report Pin
mylogics20-Aug-09 0:16
professionalmylogics20-Aug-09 0:16 
yes sir i have used dataset and have used crystal report.
now i want ot populate my columns through coding.
when i m trying to create the object of crystal report.
its not workin...
i have used this function to bind to crystal report.

public void BindReport()
{
SqlClient.SqlConnection myConnection = new SqlClient.SqlConnection();
myConnection.ConnectionString = "server= (local)\\NetSDK;database=pubs;Trusted_Connection=yes";
SqlClient.SqlCommand MyCommand = new SqlClient.SqlCommand();
MyCommand.Connection = myConnection;
MyCommand.CommandText = "Select * from Stores";
MyCommand.CommandType = CommandType.Text;
SqlClient.SqlDataAdapter MyDA = new SqlClient.SqlDataAdapter();
MyDA.SelectCommand = MyCommand;
Dataset1 myDS = new Dataset1();
//This is our DataSet created at Design Time
MyDA.Fill(myDS, "Stores");
//You have to use the same name as that of your Dataset that you created during design time
CrystalReport1 oRpt = new CrystalReport1();
// This is the Crystal Report file created at Design Time
oRpt.SetDataSource(myDS);
// Set the SetDataSource property of the Report to the Dataset
// Set the Crystal Report Viewer's property to the oRpt Report object that we created
CrystalReportViewer1.ReportSource = oRpt;
}
GeneralRe: cryatal report Pin
Christian Graus20-Aug-09 0:31
protectorChristian Graus20-Aug-09 0:31 
GeneralRe: cryatal report Pin
mylogics20-Aug-09 0:38
professionalmylogics20-Aug-09 0:38 
GeneralRe: cryatal report Pin
Christian Graus20-Aug-09 1:30
protectorChristian Graus20-Aug-09 1:30 
GeneralRe: cryatal report Pin
mylogics20-Aug-09 1:10
professionalmylogics20-Aug-09 1:10 
Questionaspmenu boreder collapse problem Pin
Mogamboo_Khush_Hua19-Aug-09 22:43
Mogamboo_Khush_Hua19-Aug-09 22:43 
QuestionTo make a list of categories with datalist or any other control Pin
brijmohansingh1019-Aug-09 22:08
brijmohansingh1019-Aug-09 22:08 
AnswerRe: To make a list of categories with datalist or any other control Pin
Christian Graus19-Aug-09 23:15
protectorChristian Graus19-Aug-09 23:15 
QuestionFetching MAC address of clients machine Pin
krishnaveer19-Aug-09 22:00
krishnaveer19-Aug-09 22:00 
AnswerRe: Fetching MAC address of clients machine Pin
Abhishek Sur19-Aug-09 22:05
professionalAbhishek Sur19-Aug-09 22:05 
AnswerRe: Fetching MAC address of clients machine Pin
Aman Bhullar19-Aug-09 22:10
Aman Bhullar19-Aug-09 22:10 
GeneralRe: Fetching MAC address of clients machine Pin
krishnaveer19-Aug-09 23:01
krishnaveer19-Aug-09 23:01 
GeneralRe: Fetching MAC address of clients machine Pin
krishnaveer19-Aug-09 23:15
krishnaveer19-Aug-09 23:15 
AnswerRe: Fetching MAC address of clients machine Pin
Jeremy Likness20-Aug-09 5:31
professionalJeremy Likness20-Aug-09 5:31 
QuestionHow to create a regular expression validation for numbers from 1 to 4000 ? Pin
meeram39519-Aug-09 21:45
meeram39519-Aug-09 21:45 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
Abhishek Sur19-Aug-09 21:57
professionalAbhishek Sur19-Aug-09 21:57 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
Coding C#19-Aug-09 23:19
Coding C#19-Aug-09 23:19 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
SmartAvi20-Aug-09 5:14
SmartAvi20-Aug-09 5:14 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
vaibhav.csmiet8-Mar-10 21:58
vaibhav.csmiet8-Mar-10 21:58 
GeneralRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
meeram3959-Mar-10 1:42
meeram3959-Mar-10 1:42 
Questionaccess database Pin
KhandelwalA19-Aug-09 21:39
KhandelwalA19-Aug-09 21:39 
AnswerRe: access database Pin
Vimalsoft(Pty) Ltd19-Aug-09 21:43
professionalVimalsoft(Pty) Ltd19-Aug-09 21:43 
AnswerRe: access database Pin
Abhishek Sur19-Aug-09 22:02
professionalAbhishek Sur19-Aug-09 22:02 
GeneralRe: access database Pin
Greg Chelstowski20-Aug-09 0:57
Greg Chelstowski20-Aug-09 0:57 

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.