I have one requirement in which we need to show data in the form of parent, child, grand-child upto multiple levels. saw some blogs but couldn't find any specific solution for that.
data should be shown like:
Please refer the link below, It might help you.
http://www.codeproject.com/Articles/14445/Reporting-Hierarchical-Recursive-Data-using-MS-Rep
Related
This is frustrating me to no end. I need to create a report based off a SQL query to be displayed in a report viewer on an asp page. Seems like it would be simple but I can't seem ti find an example of how to accomplish this. I don't need a stored procedure I need something I can add variables to like stringbuilder. The user will give an input and then the report will populate based off the query that the input was passed too. Simple seems like but anything dealing with a report seems to want the wizard. What can I do to get a report that looks good and I can use a sql query to bind data to? Thank you in advance.
You can use Gridview to display table from a database. A good start can be read here and here.
Please give us some additional info on what you need so that we can able to help more. :)
I'm quite busy reading different posts over how to create reports from dynamic queries. I have the next problem and maybe someone here can help me with this:
I have a class where I can create a dataGridView from a dynamic dataTable in a project made with C# from VS 2010. I populate my DataTable with one of 9 different linq queries that I have according to the user requirements, which also are saved in a register in my database. Starting from this point, I need to make a report where I can show of the same way the data selected.
I have found the code from the website got ReportViewer and it works quite good. Only I have a last problem. I need my report to show a chart according to the parameters passed via the DataTable. I saw the examples that they have there for the charts but they work quite restrict with what I need, and the code for the chart generator that is incluided in the Dynamic Table project is quite extense and a bit complex for a beginner like me.
Do you know any other examples that maybe I can find to use to make the code in my project? Many thanks in advance :).
I found another way to do it:
Now I'm using classes as datasources and filling arrays of these classes with the contect of the datatable.
I pass these arrays as my datasources for the project.
I group my data by the number of fields I want to display and then I choose between pre made .rdlc files where I show my data to the user.
I've got a site with WebPart containing custom fields.
http://wsscg.blob.core.windows.net/resources/forum/front/aa432.PNG .
My goal is following: I want to add a button below this form and after click, data from it goes to a custom list.
So far I've managed to add a button and a code inline with Sharepoint Designer. It adds some data (like 1,2,3,4,5) to the list that I want. But the problem (probably last) is how to retrieve data from the form.
I would highly appreciate any help.
I recommend you to search here: http://sharepointjavascript.wordpress.com/
I've found there many useful client-side gotchas.
Site seems down today, but take a look at cached version of dynamic js sp form:
http://webcache.googleusercontent.com/search?q=cache:j97GDCJkwsYJ:sharepointjavascript.wordpress.com/2012/01/19/dynamic-forms-for-sharepoint/+&cd=2&hl=en&ct=clnk&gl=en
where getFieldValue function used.
Hope that can help.
My goal are to create a module that holds a listview with entries of xml files. The xml files are just serialized arrays of some object. Country{Code,Name,URL} as an example.
When an entry is clicked another control should show all the items in some kind of item control with styling based on the type(The idea are from WPF). I assume its possible to create some kind of style/rules for possible item types, in above case Country. (any ideas/advises on how to achieve this is welcome).
Now in the list of styled items, one should be able to select wanted items, and export this to a new XML file based on a new type SelectedContries{Code,Name,Url, Params}. The user will then need to add in the extra params in the new list and export(serialize).
My question is now, to do such module what would be the proper way. One module with 3 controls. I am new to module development so please explain deeply. Do i create Asxc files within the module as my controls?
Based on my explained goal above, any links to guides that might be good for exactly this would be nice and any general advises are also welcome. Thanks.
if I got you right, that you want to have a grid on your module showing all your country entries read out from a xml file.
The user can edit or add some detail information to those entries and export (serialize) it again into xml.
I would use the implemented Telerik Grid RadGrid (DNN wrapper is called "dnnGrid") to show all xml items in a grid on your module.
Then I would enhance the grid for your special needs adding some new columns or edit the existing (dont know exactly what you want to edit in this grid).
The last step is to serialize the entries again this should be done with a extra button calling the serialize method.
These are rly basic ideas from me. Iam a dnn module developer I think I could help you better if you explain it to me a lil detailed, show me a bit of the xml file and so on.
best regards, noone
I have made 3 ReportsViewer and need to make 7 more, and the all have the same header (title date and logo)
Is there a way to reuse parts of a report (e.g. header, footer)? I can't be the first one to need this feature :) I searched a bit on MSDN and alot on SO, but could't find anything, please help. Even a link in the right direction would be much appriciated.
I tryed messing around with subreports for a few days, but could't get anything to work, but I might just have to try harder or is there a other way?
It's not that I can't create the last 7 reports individuel, it's just that it feels so wrong not reusing anything, so I wan't to learn more about it.
Update:
Yes it can be done. The hardest part is to pasing the parametres down to the subreport.
Update2:
Few tips about the hard part, know that I've getting better.
1) Parent report, in the Report Data window add the parameters. After that, right click the subreport and choose properties. You also have to add the parameters here and right the name of the subreport (wihtout the .rdlc)
2) Sub report, Add the parameters in the Report Data window
3) I checked the "Alle blank value("")" and the "Allow null value". It might help you too if it's your first time.
You can use subreports for this task.