|
Hello
I develop an aplication where i need to use the crystalreport for displaying the data.
The data i want to display in the crystal report is on the data set, this data set is created and filled in runtime.
How i can tell the crystal report to take the data from this dataset
Any hint or example wil gratly appreciated
Thanks in advance
Assaf
|
|
|
|
|
|
Hello Developers,
I am trying to plot a sine wave graph and i want it to perform phase shift, frequency shift and amplitude shift. But i have no idea how can i achieve that. I have gone through ZedGraph tutorial and it just tells you how to plot a wave and thats it. But how to change its frequency, phase, amplitude during in time.
Is there any better tool other than ZedGraph for the same purpose or is it possible to do this using ZedGraph only...
Any help please
ta
James
|
|
|
|
|
Charting tools abound. Dundas has an excellent one if you want to pay for high quality.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
For starters I have never used ZedGraph. I do have some experience with several older
plotting components (pre-.NET!)
plotting libraries create a plot starting from either a table of (x,y) pairs, or
a method that evaluates y(x) for any given x within a user-specified range.
Assuming you managed to plot a sine wave, the only thing you must do now is apply
"phase shift, frequency shift and amplitude shift" to the data/method you feed into the
plotter. If you know what these things are, it is easy; if not, you should study your
material before trying to plot the results.
And I guess you would also want to show several curves at once to visualize the net
effect of all those shifts. That too is simple, every plotting library supports a
superposition of graphs (with shared or distinct scales, you'll want them shared).
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
|
This forum is for C# programming questions.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
This forum has nothing at all to do with reflector. You might better off trying to get ahold of them.
"The early bird may get the worm, but the second mouse gets the cheese" - anonymous, found in Uncle John's Bathroom Reader
|
|
|
|
|
When we right click and select 'Go To Definition' command on a definition which is defined by .net framework class library why we get only declarations instead of declarations with implementations? Is all the implementations hidden or is there a way to see them as C# code? Or at least can we see them as MSIL in VS2005?
thanks in advance.
.#C'er
-- modified at 17:03 Saturday 10th November, 2007
|
|
|
|
|
sharpseer wrote: Is all the implementations hidden or is there a way to see them as C# code? Or at least can we see them as MSIL in VS2005?
You will be taken to the source in VS2008. There is no source supplied for the .NET Framework currently.
You can look at the MSIL if you wish, but I would recommend you get Lutz Roeder's Reflector as it will generate C# code.
|
|
|
|
|
Download .NET Reflector.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
I try use ResourceManager but with no luck ,
any idea how is can be done ?
|
|
|
|
|
I always use:
using System.Resources;<br />
...<br />
ResourceManager myResources = new ResourceManager("Namespace.File", Assembly.GetExecutingAssembly());
And it always works fine for me.
My current favourite word is: PIE!
Good ol' pie, it's been a while.
|
|
|
|
|
File = // the file.htm ? //
How do I reterive from that data , my resource html.
HtmlDocument hDoc = myResources... ?
|
|
|
|
|
Not quite, if you add a new resource file to your project, then add your files to that.
Alternitavely, you can embed the html file (so, set it as an embedded resource in its properties) and access it like this:
System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("file.htm");
And that returns a stream to the file.
My current favourite word is: PIE!
Good ol' pie, it's been a while.
|
|
|
|
|
10x alot.
I'll try :
HtmlDocument hDoc = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("Tool.htm");
|
|
|
|
|
Hello everybody,
here is my problem. I need to create a DLL that runs a form. On this form there are some Data created. I need to get acces to this Data from a Webform. I have allready created the DLL, but I can't run the form.
How can I start running a form in a DLL?
And how can I access data, that is created in this form in the DLL?
Thanks for your help.
|
|
|
|
|
edepede wrote: I need to create a DLL that runs a form. On this form there are some Data created. I need to get acces to this Data from a Webform. I have allready created the DLL, but I can't run the form.
I'm slightly confused. You want to get data from a web form or a win form? You need to run the form to get the data from it, is this data the user has just entered, or is the form getting data from somewhere else? If the user is entering the data, is this the same user that will see the webform?
Please clarify your situation because I don't understand it.
|
|
|
|
|
I want to get the Data from a win form. I need to run the form, because I'm using special controls to get the data from somewhere. The controls need a win form!
Now i want to display those data on a webform, because i want to host a page where I'm diplaying those data.
So no user is entering something, I just need the data from those controls. And they need a win form.
Am I clear?
|
|
|
|
|
edepede wrote: I want to get the Data from a win form. I need to run the form, because I'm using special controls to get the data from somewhere. The controls need a win form!
You want to get the data from "somewhere". That is a bit vague, isn't it? Why does this data need to arrive through a winform control? It sounds like it is increadibly badly designed. The control should never know anything about where its data comes from, it just receives it.
So, where does the control get the data from? And, where did this control come from anyway?
|
|
|
|
|
Hello
VS 2003.
I am trying to hide some columns in a datagrid. The datagrid is bound to a typed dataset data source.
This is the code I have used to set the column width to zero. However, as there are many columns to hide I get left with a bold black line where the column should have been. So the customer doesn't want to see this. This is the code I used, just wondering is there a better way to do this.
Many thanks,
Steve
<br />
DataGridTableStyle tblStyle = new DataGridTableStyle();<br />
tblStyle.MappingName = "OrderDetail";<br />
grdBeverages.TableStyles.Add(tblStyle);<br />
<br />
grdBeverages.DataSource = DS.OrderDetail.DefaultView;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["OrderDetailID"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["BeverageID"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["Beverage"].Width = 50;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["BeverageQty"].Width = 40;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["BeverageQty"].HeaderText = "Qty";<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["BeverageCost"].Width = 40;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["BeverageCost"].HeaderText = "Cost";<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["StarterID"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["Starter"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["StarterQty"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["StarterCost"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["MaincourseID"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["Maincourse"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["MaincourseQty"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["MaincourseCost"].Width = 0;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["TotalCost"].Width = 40;<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["totalCost"].HeaderText = "Cost";<br />
grdBeverages.TableStyles["OrderDetail"].GridColumnStyles["OrderID"].Width = 0;
|
|
|
|
|
|
you may also try something like this
DataGrid1.Columns(1).Visible = False
hope anyone may be of some help!
|
|
|
|
|
Hello,
This is using the Compact Frame 2.0
I have found some code that seems to work. However, the idea of the grid is for the user to keep adding new products to the datagrid. Even though the columns that are needed are added ok. When the user attempts to add a second row there is an error. ""Value does not fall within the expected range". This happens each time, after the first one has been successfully added. 2nd one onwards.
I thought it might be the tblStyle object, but as I am creating a new one each time, I am surprised to get this error.
Many thanks,
Steve
DataGridTableStyle tblStyle = new DataGridTableStyle();<br />
tblStyle.MappingName = "OrderDetail";<br />
<br />
DataGridTextBoxColumn column = new DataGridTextBoxColumn();<br />
column.MappingName = "Beverage";<br />
column.HeaderText = "Beverage";<br />
tblStyle.GridColumnStyles.Add(column);<br />
<br />
column = new DataGridTextBoxColumn();<br />
column.MappingName = "BeverageQty";<br />
column.HeaderText = "Quantity";<br />
tblStyle.GridColumnStyles.Add(column);<br />
<br />
grdBeverages.TableStyles.Add(tblStyle);
grdBeverages.DataSource = DS.OrderDetail.DefaultView;
Many thanks if you have any ideas about this,
Steve
-- modified at 9:31 Monday 12th November, 2007
|
|
|
|
|
Im trying to delete a file from windows service in c#
file delete or fileinfo.delete and get Access to the path X is denied
how can i solve this?
Samele code will be greate help
thanks
|
|
|
|