Click here to Skip to main content
15,897,291 members
Home / Discussions / C#
   

C#

 
AnswerRe: File Upload In Windows Application Pin
Hari Om Prakash Sharma3-Aug-11 5:57
Hari Om Prakash Sharma3-Aug-11 5:57 
Questionc# project not run on vista with AMD processor Pin
Aisha sharma2-Aug-11 23:59
Aisha sharma2-Aug-11 23:59 
AnswerRe: c# project not run on vista with AMD processor Pin
Richard MacCutchan3-Aug-11 1:21
mveRichard MacCutchan3-Aug-11 1:21 
GeneralRe: c# project not run on vista with AMD processor Pin
Aisha sharma3-Aug-11 2:25
Aisha sharma3-Aug-11 2:25 
AnswerRe: c# project not run on vista with AMD processor Pin
#realJSOP3-Aug-11 8:14
professional#realJSOP3-Aug-11 8:14 
QuestionCalculating Start Angle and End Angle for a GDI Arc Pin
Member 77092772-Aug-11 22:06
Member 77092772-Aug-11 22:06 
AnswerRe: Calculating Start Angle and End Angle for a GDI Arc Pin
BobJanova2-Aug-11 22:58
BobJanova2-Aug-11 22:58 
QuestionBegginer's Crystal Report Problem Pin
AmbiguousName2-Aug-11 21:25
AmbiguousName2-Aug-11 21:25 
hello guys... I am trying to get my first crystal report printed but seems to be having a problem I am unable to trace. I added a report to my (Windows Form) project, then added the dataset to it and finally added the following code. This does not show any error but does not show data either. Here is what I tried
private void Form1_Load(object sender, EventArgs e)
{
  CrystalReportViewer crv = new CrystalReportViewer();
  string ConnString = "Data Source=srv032k3; Initial Catalog= MuzeDB; User ID=muze; Password=saeedasd";
  string query = "SELECT * FROM students";
  try
  {
    SqlConnection conn = new SqlConnection(ConnString);
    SqlDataAdapter da = new SqlDataAdapter(query, ConnString);
    DataSet ds1 = new DataSet();
    da.Fill(ds1, "students");
    rpt.Load("D:\\Projects\\CrystalReportsApp\\Report\\StudentsReport.rpt");
    rpt.SetDataSource(ds1);
    crystalReportViewer1.ReportSource = rpt;
  }
  catch (Exception ex)
  {
    MessageBox.Show("Something went wrong: " + ex.Message, "Error", MessageBoxButtons.OK,   MessageBoxIcon.Warning);
  }
}

AnswerRe: Begginer's Crystal Report Problem Pin
SilimSayo3-Aug-11 5:59
SilimSayo3-Aug-11 5:59 
AnswerRe: Begginer's Crystal Report Problem Pin
AmbiguousName3-Aug-11 19:16
AmbiguousName3-Aug-11 19:16 
AnswerRe: Begginer's Crystal Report Problem Pin
jschell3-Aug-11 10:11
jschell3-Aug-11 10:11 
QuestionList view double click Pin
varunpandeyengg2-Aug-11 21:15
varunpandeyengg2-Aug-11 21:15 
QuestionHow to dock rows Pin
belyhits2-Aug-11 21:05
belyhits2-Aug-11 21:05 
AnswerRe: How to dock rows Pin
Pete O'Hanlon2-Aug-11 21:44
mvePete O'Hanlon2-Aug-11 21:44 
AnswerRe: How to dock rows Pin
kiblehana3-Aug-11 20:29
kiblehana3-Aug-11 20:29 
Question.NET WebBrowser Control and JavaScript Pin
Travis Lovellette2-Aug-11 9:00
Travis Lovellette2-Aug-11 9:00 
AnswerRe: .NET WebBrowser Control and JavaScript Pin
Luc Pattyn2-Aug-11 13:51
sitebuilderLuc Pattyn2-Aug-11 13:51 
AnswerRe: .NET WebBrowser Control and JavaScript Pin
Shameel2-Aug-11 21:45
professionalShameel2-Aug-11 21:45 
AnswerRe: .NET WebBrowser Control and JavaScript Pin
V.2-Aug-11 22:35
professionalV.2-Aug-11 22:35 
GeneralRe: .NET WebBrowser Control and JavaScript Pin
Shameel3-Aug-11 1:47
professionalShameel3-Aug-11 1:47 
QuestionOnTextChanged event [modified] Pin
vanikanc2-Aug-11 8:24
vanikanc2-Aug-11 8:24 
AnswerRe: OnTextChanged event Pin
Paladin20002-Aug-11 11:01
Paladin20002-Aug-11 11:01 
GeneralRe: OnTextChanged event Pin
vanikanc3-Aug-11 2:17
vanikanc3-Aug-11 2:17 
GeneralRe: OnTextChanged event Pin
Paladin20003-Aug-11 3:31
Paladin20003-Aug-11 3:31 
QuestionSetting different properties based on T in method that returns List<T> Pin
Paul E Davies2-Aug-11 3:54
Paul E Davies2-Aug-11 3:54 

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.