|
Hi guys,
Am using com objects in my project to create a word document
that only has a simple table and a pie chart.
I create all this via asp.net.
But when i make my site live, it looks my clients cannot start COM objects on the
server side...everything runs well on my local machine.
Is there something(a tool or .dll) i can use to create word documents?
rather than fighting with com objects?
or is there something that i need to know about com objects when clients
make request to the server to create a word document?
I have tried google and most of the articles want me to use com objects
to create a simple word document
Please help me
|
|
|
|
|
You won't be able to use a COM object on a live web server for this purpose unless Word is also installed there (and I strongly suspect it isn't - for licencing reasons if nothing else...)
You really need to use a third-party component - try Googling for ".net Word component" - but don't expect to find anything that is any good without having to pay (quite a lot) for it.
|
|
|
|
|
Thanks man,
I have the whole office package installed on my server....either way
iam not looking forward to working with com objects to create word docs....
Thanks for your help
|
|
|
|
|
You can use OpenXML SDK to create word document on the fly on server side, there is no need to install MS office in server.
|
|
|
|
|
Hi I want to bind checkbox list with a datatable with select/deselect function corresponding in datatable rows deletion(deselect) insertion(select with duplicate row avoidance). Anyone has a working example ?
|
|
|
|
|
Anybody ?
|
|
|
|
|
Hi All,
I am using Data set to get value from the data base using following code.
<pre>
DataSet ds = new DataSet();
String connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ToString();
MySqlDataAdapter mySqlDataAdapter = new MySqlDataAdapter(query, connectionString);
mySqlDataAdapter.Fill(ds);
</pre>
once i get this i want filter with another query
how to add do this.
Thanks,
Amit
|
|
|
|
|
You can either filter with a SQL query or use datatable's 'Select' method like
DataRow[] dr=ds.Tables[0].Select("id="+yourid);
|
|
|
|
|
hi I want like query like this way
i am filling dataset in following way
<pre>
SELECT O.name , study_uid_mask FROM study_org_mapping s INNER JOIN Organization O ON O.PK = S.ORG_FK"
ds.Tables[0].Select(myid + "LIKE 'study_uid_mask'";
</pre>
but it seems it is not working
Thanks,
Amit
|
|
|
|
|
|
hi.. currently i m using asp.net 2.0 and sql server 2000.
As when the session expires automatically, i would like to update the session values to my database table. i cant write sql statements, connections in Session_End function (Global.asax). how to handle this. help me - KARAN
|
|
|
|
|
|
Hi,
If i want to show newly released products from one site on my site without manually add it, how do i do this?
What should i search after?
|
|
|
|
|
Check whether that site provides the RSS Feeds for the same.
|
|
|
|
|
for one of the sites there is a rss feed
|
|
|
|
|
you can scrap the data from that site and show it on your site.
|
|
|
|
|
ok, should i search for scrap data?
|
|
|
|
|
Good morning.
I am develop an application in asp.net 2.0 in C#.How to restrict the browser's back button from review after logout.
kindly help me.
Your's
Debapriya
|
|
|
|
|
Once Back button is clicked, the browser may display the Cached version of the page.
If you wish to avoid that, Expire the page using Response.Expires = -1;
Don't forget to kill the session for logged out user.
If you wish to disable browser back button, use Request.ServerVariables["HTTP_REFERER"] to get the info
about the url of the client's previous request.
string s = "";
if(Request.ServerVariables["HTTP_REFERER"] != null)
{
s = Request.ServerVariables["HTTP_REFERER"].ToString();
}
Hope this will help.
|
|
|
|
|
<script language="javascript" type="text/javascript">
<!--
javascript:window.history.forward(1);
</script>
call the above JS in all pages
|
|
|
|
|
|
I want o generate my reference.cs from a wsdl in my .net application
I have used Wsdl to create the .cs file, but I have no idea of how to import it in my visual studio application
How do I create my .map file and call the methods?
Can someone provide the information. Is there any step by step guide? I have search the web but I have find nothing
Thanks
|
|
|
|
|
|
I have only the wsdl file not the web service. My application is a windows service and I need to create the proxy class in order to call the webservice. I don't have the site for the webservice.
Please help
|
|
|
|
|
gerom77 wrote: I have only the wsdl file not the web service. My application is a windows service and I need to create the proxy class in order to call the webservice. I don't have the site for the webservice.
You don't need to have a site for webservice for generating proxy classes. You can add web reference of WSDL file from local disk too like c:\consumer.wsdl as an URL while adding a web reference.
Knock out 't' from can't,
You can if you think you can
|
|
|
|