Copy Data and its Data Member - visual-studio-2013

I would like to copy the data and the name of the data member inside of the class and then i would like it to paste it into a Excel.
Do you know any application or functionality that has the ability to do it?
Thanks!

Related

upload and dowanload Files in ORACLE APEX

i have costumer's every one i have to upload mullite files
so is there any way to get it?
i create table with
FILE_NAME
FILE_MINETYPE
FILE_CHARSET
i see many video's but they aren't useful for me
You need to create a Page Item with the type File Browse.... Then, under Storage Type, you can use your own custom table or you can use APEX_APPLICATION_TEMP_FILES.
If you use APEX_APPLICATION_TEMP_FILES it will automatically save information about the file type such as file name, mime type, etc. If you use a custom table, you will need to designate which column in the table should hold which file attribute.
You will also need a button or some way of submitting the page. Once the page is submitted, the files will be uploaded and saved to the database.

Get data from exteral source into OKS Survey's forms

Is there a way to add external data to the ODK Survey form, like the "pulldata" method in the Collect Forms? I know about queries but this are used to populate a multiple choice prompt with values.
I need a tool that will get data either form outside the form (from a cvs for example) or from an array or something inside the xlsx form, and set that value to a prompt inside the form. Any ides?
Thank you!

Caching in an excel document level customization in vsto

I have a document level customization in excel that is used to calculate and save quoting data. Basically each sheet is a quote with specific cells containing QuoteNo, Description, Totals etc.
I want to be able to extract this data into a list of POCO objects that is then cached as a property in the ThisWorksheet class.
I get the error
The Cached attribute on the following member is in error because the
member is not public, static, read-only, or is a parameterized or
indexer property
I believe that this is because a list has an indexer property.
So how can I store this type of data in the cache?
OK, not my preferred solution but it solves the problem.
I add a method to the class that inherits from list that creates xml with the relevant data. The BeforeSave event is used to add (or update) this xml to the customXmlParts. Other documents can then access this and de-serilaise it.
Clunky but it works, does anyone have anything more elegant?

Blend 4 - Regenerate 'Create Sample Data from Class' when class changes

Using Blend 4 I know how to generate sample data using the 'Create Sample Data from Class...' option in the Data tab. This creates a .xaml file in a SampleData folder that I can use to populate my UI in design time.
My question is how do I regenerate this XAML file when I change the base class that this .xaml is based on? I added a new C# property called 'Clients' and it shows up in the Data tab after I rebuild, but I do not see how to regenerate the XAML sample data to include data for this property.
I would rather not scrap the entire sample data and recreate it as that would require me to re-setup the data types on each property again (Number, 3 words, Address, etc).
Thank you
I don't think this is possible. As far as I know the setup of the datatypes is not stored anywhere. The sample data for the string format you select is written to the file immidately. And only if the type is defined in the sample data xaml file. The only thing you can do is adding the new property by hand and than select a format for it.

Creating custom class for every Stored Procedure using linq to SQL?

I'm using stored procedure in LINQ, i know it will generate a class T(procedure name + "Result") for me automatically to store the data.
If the name of stored procedure is spCampus, the generated class will be spCampusResult.
My Question:
when i'm using SP should i create custom class that replicate all the properties ( i'm refering to whatever the .dbml creates when you drag and drop the SP)
in my situation i will be using SP... is that fair to say i will be treating as a class object and pass around from model to controller and to view ?
or i will be better off creating a new custom business object contining all the props from .dbml ?
i havent get any clear cut answer
anybody?
In the designer you can shape the object any way you see fit. You can change the names of the properties you can change the name of the object returned from the sproc if you want to. It is also my understanding that you can change the protection levels on the properties as well. This to me means that you can use the LINQ2SQL generated objects as your DTO's or you business objects because you have the power to shape them as you see fit in the designer and since they are partial classes you can extend their behavior without touching the generated class. Hope this helps.

Resources