I know this question might look easy, but there is lack of explanation how to use this control on the Web. I have bound a Telerik.Reporting.Table control to a data-source object, but data are never shown in the control. If explanation is provided how to show data in the table step-by-step. For your information, the data-source object is working well with other controls i.e. TextBox.
1/. Add a data source to your report.
The Telerik Reporting engine includes data source objects:
SqlDataSource – Enables you to work with Microsoft SQL Server,
MySQL, Oracle, OLE DB or ODBC databases.
CsvDataSource – Enables you to work with CSV data.
ObjectDataSource - Enables you to work with business objects or other classes and allows you to create reports that display data from the middle-tier.
EntityDataSource – Enables you to connect to the ADO.NET Entity Framework.
OpenAccessDataSource - Enables you to connect to Telerik Data Access.
CubeDataSource – Enables you to retrieve data from an OLAP cube using Microsoft Analysis Services.
OpenClientDataSource – Enables you to retrieve data from OpenEdge AppServer ABL procedures.
2/. A Table.
Drag the Table Wizard item from the Visual Studio Toolbox to the
detail section of the report.
On the Choose Data Source page of the Table Wizard, click the Add New
Data Source button and select the SqlDataSource Component. On the
Choose Your Data Connection page of the wizard, select the already
created data connection and click Next.
Enter your SQL statement and Finish the DataSource wizard.
Name your column.
Click a cell, property expression wizard, Click Field and Voila.
Related
I've already uploaded data from SQL Analysis services, and after this I can make any calculations or make any changers in the report because Transform data is unclickable and I cannot use Power Query Editor .
But if I upload data from SQL Server then everything works fine.
Could you help me, please, find the reason why I cannot work with data from SQL Analysis services?
There are different ways to work with Analysis Services. When using the UI, the default way is to connect to the whole data model. That means you can use all the pre-defined measures for example. If you want to add additional tables to that model, you have to change the connection to direct query. This is a preview feature that must be enabled by your admin: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-services
If so, you should see a clickable link at the right bottom like so:
If you clik on it, a dialogue like this should pop up:
After accepting your are able to click on "Transform data" to import more sources.
I am very new to oracle pl/sql and APEX and not familiar yet to it.
I want to make a simple CRUD project using the Oracle's Application Express : https://apex.oracle.com/en/ , but unfortunately I could not find any example or documentation. I got some courses but the versions of apex differ and a lot of things have been changed so I am not able to implement what I need.
I have created a simple new table just for practice in the following way:
Sql Workshop -> Object Browser -> Create Table
And I have a very simple table: New_Table with fields: id (INTEGER), name(VARCHAR2)
Now I want to make a simple crud website for this table, but cannot understand how the forms work.
I created a database project: App Builder -> Database Applications -> Create and got a simple web project with a blank page.
Questions:
How can I create the form and bind it to the table?
If I understand correctly, for editing a record, I should pass the id to the next page, how can I do it? or how to implement the edit page?
How can I get the data from form fields, validate it and execute an sql query using that data?
Thank you very much!
Easiest way to start is to click Create Page, choose Form, then Form on a Table with Report. Follow the wizard to select your table and columns, and viola.
It will create two pages - a report page and a single-record edit page, with navigation links between them. You can then examine the regions, items, buttons and page processes on these pages to learn how they work.
I have created an entity in Microsoft Dynamics CRM using "Settings => Customization => Customize the System" options which is available in the Dynamics CRM dashboard.
However I'm stuck out in finding a way to insert data to the entity which I've created.
I don't want to insert data through C# or SSIS (or) Bulk upload methods, and I'm just looking for a wizard/form to add/insert the data.
Can someone help?
An alternative to adding your entity to a section is you can use advanced find. You can find advanced find by selecting the Filter (Funnel) Symbol at the top right of your CRM screen.
Advanced find should open, change look for to your entity and click results.
You can then click the new button from the results screen.
Dynamics CRM has built-in import wizard which you can access via Settings > Data Management > Imports > Import Data.
And it's also available from most entity views:
And here's a link containing more info on how to use it.
When you created your entity there were a section about where this entity should be displayed (Sales, Service, Marketing, Settings etc.). You should have checked one of this checkboxes.
After creating entity you should click Publish all Customizations button (which is displayed on the upper menu of the solution where you've added your entity).
Now your entity will be available through the upper menu in whichever section you've chosen (for example in Sales section). You create a record of your custom entity exactly like the other entities (Accounts, Contacts, whatever), there is no difference.
I've spent 2 whole weeks in googling some working sample on this. I was almost kind of knocking my head against concrete wall....deeply suffering until now.
Ok, I have a simple web page to display two columns, say, Msg & MsgID, from a table named MsgLog in MS SQL Server. I have stored procedure that will insert new Msg entries into the table. (in future, possibly could update existing entries)
My desire is, whenever there is a new msg entry inserted, or an existing msg entry got updated, the web page must automatically reflect this change without user clicking any page button, or without any coded timer function, otherwise the web page just leave as it is. The page refresh can only be triggered by database table change.
I read lots of internet posts regarding using SqlCacheDependency to achieve this, but none provides complete steps and codes. I tried to tweak their sample codes in my project, but none of work successfully, as I predicted. Or is it impossible to implement this?
My development environment is: Visual Studio 2010 professional, using ASP.NET FRAMEWORK 4.0, MVC 3 application using C# with embedded sql statements with SqlCommand object, database is MS SQL Server 2008 enterprise editon, IIS express.
Can someone genius to show me complete workable detailed steps from sql server setting, to coding. Functionality is just as simple as display rows with 2 columns from one table in a web page, and reflect changes realtime if and only if the table got updated or inserted. Not using polling or timer techniques; Not using LINQ to SQL, but using SqlCommand.
thanks millions of thousannds.
This in itself doesn't have to do directly with SqlCacheDependency.
You are wanting to do something that until only recently was really done with timers/polling unless you were one of the big players (ie google chat) Once your server notification event is raised then use SignalR to notify the clients of the change, so it requires an 'open' connection. Otherwise polling/refreshing is your only option. I haven't used SignalR, but I do know its really your only option now to do what you want. There have been some other projects in this field, but this is your best bet by far.
https://github.com/SignalR/SignalR
I have an existing database context (database1) and .edmx that contains tables from database1. I need to add a couple of tables from another database2. How can I do this by right clicking on my .edmx and selecting "Update model from Database..." but be able to select the tables from database 2 instead of database 1?
You can't however an alternative here is to:
Create a separate edmx file. You CAN have more than one edmx file.
Use code first and the entity framework power tools (you'll need to download those and then right click in our project and you'll have a new menu option for Entity Framework) and reverse engineer both existing databases into their code counterparts (since you are using EF 4.1)
You can't directly do this. An Entity Framework context is tied to a single DB.
You can create a view that links to your other db and use that.