Local RDLC report using spatial data - vb.net

I am currently attempting to create a local RDLC report that contains a map within visual studio 2012.
This report will fetch its data from a SQL dataset that contains a spatial data column. This dataset is generated from stored procedure and contains a field with the geography data type.
The problem I am having is that as soon as I attempt to create the dataset I receive the error within the screen shot below.
Could someone please explain how I can create a dataset with the geography data type if I cannot use the wizard?. I apologies in advance if I have missed something incredibly obvious...

Ive managed to get around the issue.
I used the guide below to assist me with creating a manual dataset.
http://msdn.microsoft.com/en-us/library/hh272532(v=vs.110).aspx

Related

Linking the Sql Database to Excel using a query

I am trying to bring data from SQL server using a Microsoft query the result is displayed correctly in the preview but once I close the Microsoft query window and apply it to the sheet I get the error: "problem obtaining data" if I pull it as a pivot table ...and it doesn't populate if I pull it as a table it just writes "Query from Data_Source" in the selected field and runs the query in the background and stays as is when that's finished instead of showing me the table result. 
pivot table error
table pull error
can anyone please help me figure out what I am doing wrong ?
I have made the Query into a Stored procedure, it is working well now, Thank for the help !

Using data held in an SQL database in Visual Studio

So far, I have created 3 tables in SQL using visual studio. They have been connected to my VB project file and I can view the data held within them using the Database Explorer.
My only problem is: how do I use/make available the data held within each table?
I need to write code which will add a Japanese character (from one of the tables that already exists) to a new table when a check box is ticked. Then I need to write code to update the table and save the changes.
I have absolutely no idea how to retrieve the data held in each table nor how to write a SQL query in VB.
Any help would be appreciated.

Crystal Report Duplicating in details?

so I have a template in Crystal reports using vb.net, I changed my data source location and that source still contains the needed tables for my report, the problem is this... My original template displays the exact report but when I changed its data source it duplicates the data in the details section(e.g I made a query that will show 1 item only,but instead I get 4).
Here is a screenshot of my problem:
(original at http://tinypic.com/r/5by6ih/5)
I want to alter the template rather than to make another one
This is normally down to an issue with the underlying SQL query. If you open the the report in Crystal (or visual studio) you should be able to "Show SQL Query". Run the query in Query Analyser or SQL Server Management Studio and look at the result.
If the underlying reason isn't then immediately apparent please paste the resulting output.

Add Description From Excel File to Columns description in SQL

I have a DB (in SQL Server 2008 SP3) include many tables and each tables have a lot of columns, in other hand I have an Excel file include description for any of my DB's columns (In SQL Server Management Studio when you want create a table, in design mode, for each column in property window there is a description field), So I am interesting in add this(Excel) description to description of columns in DB (of course not by hand and one by one), does any one have any idea about this?
Knock up some VBA to iterate through the Excel data, calling the database for each table/column.
The SQL Server stored procedure you want (if I understand correctly) is sp_addextendedproperty to add comments about objects in SQL Server
You can get help from some references given below: please have a look over there, thanks
a. Reading and Writing Excel
b. Reading Excel and then save to your DB

How can use rdlc report with Oracle procedure?

Can any one help to solve creating reports of rdlc using Oracle stored procedure.
RDLC accepts object (POCO, StrongTyped DataSet, ...) as data source. So it doesn't matter where data source comes from.