Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sharon

@sharon
About
Posts
19
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Printing Crystal reports
    S sharon

    ok I did it : ReportDocument report = new ReportDocument(); report.Load(@"G:\Rp3Receipt.rpt",OpenReportMethod.OpenReportByTempCopy); ParameterFieldDefinitions parametersColl = report.DataDefinition.ParameterFields; ParameterFieldDefinition paramName1 = parametersColl["prmNameInReport1"]; ParameterFieldDefinition paramName2= parametersColl["prmNameInReport2"]; ParameterValues values = new ParameterValues(); ParameterDiscreteValue val = new ParameterDiscreteValue(); val.Value = paramValue1;// the value I want to give the parameter values.Add(val); paramName1.ApplyCurrentValues(values); //-----------second parameter values = new ParameterValues(); val = new ParameterDiscreteValue(); val.Value = paramValue2; values.Add(val); paramName2.ApplyCurrentValues(values); report.PrintOptions.PrinterName = @"\\...\HPLaserJ5"; report.PrintToPrinter(1,false,1,1);

    C# question help

  • Printing Crystal reports
    S sharon

    Hello, I am trying to pring a crystal report with parameters without previewing it first. I succeeded to pring report without parameters with the ReportDocument object. I succeeded also to print report with parameters (I inserted parameters to ParameterFields and put it in crystalReportViewer.ParameterFieldInfo) from the CrystalReportViewer but in this way the report is open in another window, and then I print it from the object. But I want to print the report with the parameters without showing it on screen first, how can I do it? Thank u for any help, sharon

    C# question help

  • printing crystal report
    S sharon

    Thank you for this , but I still don't know how can I print this report with its parameters. ok, let say i made collection of parameters, how can i connect it to the report in order to print the report without preview? maybe with ReportDocument or some other object? Thank u anyway, sharon

    C# question

  • printing crystal report
    S sharon

    Hello , I am trying to pring crystal report without openning a window with the crystal report itself. I succeeded to print crystal report without parameters by doing: ReportDocument report = new ReportDocument(); report.Load@"G:\Reports\Rp3Reciept.rpt"); report.PrintOptions.PrinterName = @"\\HPLaserJ5"; report.PrintOptions.PrinterDuplex = PrinterDuplex.Default; report.PrintToPrinter(1,false,1,1); and it is working good , but how can I send parameters to reportDocument. or How can I print report from CrystalReportViewer(becuase to it I can send parameters). (the printReport() method is virtual , that meens I have to write it?!) Thank you very much for any answer.:) sharon

    C# question

  • DateTime.AddMinutes
    S sharon

    thank you very much, it was very helpfull, sharon

    C# question

  • DateTime.AddMinutes
    S sharon

    does sombody knows why myDateTime.AddMinutes doesn't do anything? i am trying to do: DateTime myDateTime = Convert.ToDateTime("18/09/2002 13:00"); myDateTime.AddMinutes(40); but nothing happen to this myDateTime?? thanks in advance, sharon

    C# question

  • Dynamic array
    S sharon

    with the object- ArrayList - you have to add : using Sustem.Collection;

    C# csharp data-structures tutorial question

  • new line in label
    S sharon

    how can I make new line in label? I want that a label will be with number unknwon of lines and i want it ot be handled in run time. i want that a string will be created in run time and than to do : label.text = string how can i do it??:confused: thank u. sharon

    C# question

  • img button event
    S sharon

    thank you very much , i'll try it later. sharon.

    C# question html help

  • img button event
    S sharon

    hello, I have a question: I have a written html page with image. when the user click on it i want it to raise event,I do not want to handle it throw the asp. I dont want to write: I want to handle the onclick event in my aspx.cs file how can I do it? thank you very much for your help, sharon

    C# question html help

  • paging dataGrid events
    S sharon

    the line that debugger tells me is: complaintId = Convert.ToInt32(e.Item.Cells[6].Text); in chooseLine event i.e. he goes to the wrong event. why???

    C# help question

  • paging dataGrid events
    S sharon

    after some debugging I noticed that when I change page it goes to the ChooseLine event and than go to the pageChang event (very weird):confused: maybe someone knowes why?

    C# help question

  • paging dataGrid events
    S sharon

    hello you all, I have a problem: I have a dataGrid with two events: 1. public void DataGrid1_ChooseLine(object sender, DataGridCommandEventArgs e) { try{ complaintId = Convert.ToInt32(e.Item.Cells[6].Text); } catch(Exception e) { } } and: 2. public void changePage(Object sender, DataGridPageChangedEventArgs e) { DataGrid1.CurrentPageIndex = e.NewPageIndex; DataGrid1.DataSource = dataSet; DataGrid1.DataBind(); } each of them works wonderful alone, but when I use them both I get this exception: "System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values..." what can be the problem and how can I change it to work? thank you very much for your help, sharon.

    C# help question

  • web forms sending parameters
    S sharon

    I have a webForm,Iwant that when the user click a button the page will change and I want to send this new page parameter (int id , string or anything else), how can I do it? I move to the next page by: Response.Redirect(...) thank you very much, sharon

    C# question asp-net

  • Object unknown
    S sharon

    Is there a way I can use an object without knowing which object it realy is? for exemple: I have several objects that implement IEnumerable(these objects has arrayList), I need to Implement IEnumerator and I want to do it once. but I don't know for which object I implement it for so when I do : object.arrayList[i] -its an error. (object doen't have an arrayList property). how can I do it??? thanks in advance , sharon

    C# question help

  • take data from textBox
    S sharon

    Hello, I have a problem, i work with web pages, i want to fill labels in one webForm from the information of TextBox in another webForm , how can I do it? thanks, sharon.

    C# question help

  • create xml for collection class
    S sharon

    thank you for your help. sharon :)

    C# question xml help

  • create xml for collection class
    S sharon

    I succeeded to serialize an object, my problem is to serialize another object that contains an ArrayList of objects. I want to save in the xml each of the objects that are kept in the ArrayList, how can I do it??? thank you very much,sharon

    C# question xml help

  • open a window from a webPage
    S sharon

    I have a webPage , I want to click on a button that will open a window (with the search reasult from my database),how can I do it? thank u very much, sharon

    C# question database
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups