Guest> mahmoud elsaman say hello
Guest> hi
amjad
sahi> hi
amjad sahi> how may i
help you
Guest> how can export data
from linq to excell
amjad sahi> i am
afraid there is no specific api to extract/export data to Excel
sheet
Guest> i am using Aspose.cells
v4.6.00
amjad sahi> But Aspose.Cells
does support to import data from array, data table, data reader, data
row
amjad sahi> etc.
Guest> linq to query
Guest> supported or not
amjad sahi> linq to query? could you
explain?
Guest> i am using linq
dataContext
amjad sahi> sorry it is not
supported
amjad sahi> we we may look
into your requested feature in future versions
Guest> var query = from x in datacontext.Expenses
select x ;
Guest> i want to export this
query to excell
Guest> i tried to cast
this query to DataTable but !
amjad
sahi> OK
amjad sahi> Could you
post a query in Supported Forums of Aspose.Cells for your requested
feature
amjad sahi> we all can look into
it soon.
Guest> Aspose.Cells does
support like ExportDataTable()
Guest>
but dose not support like ExportIQueryable()
amjad sahi> yes it does
amjad sahi> and it does not support
ExportIQueryable()
Guest>
thanks
Guest> just i want to be
sure
amjad sahi> would you like to use
forums to post your requested feature
amjad
sahi> or I should do it for your need on your behalf
Guest> yes
Guest> if any next versions will support linq , please
send me at Mr.mahmoud_elsaman@hotmail.com
amjad sahi> ok sure
Guest> thank you Mr.Amjad
amjad sahi> i will post your request into the forums and
will reply you there
amjad sahi> all
our developers can see it
amjad sahi> ok
thanks and have a good day
Guest>
ok
This message was posted using Email2Forum by Amjad Sahi.
Hi,
Well, Aspose.Cells does support anonymous types or custom objects in Smart Markers feature. I think you can use this feature if it suits your need. To get reference for the feature, please check document especially the sub topic “Using Anonymous Types or Custom Objects”:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/smart-markers.html
Thank you.