Application we developed fills MS Word templates with data from Database. Customers require to have ability edit Word templates via MS Word (change style, font, layout e.t.c) with no additional software to be installed and no training.
AFAIK, Sql Reporting Services and Crystal Reports can't populate MS Word templates produced in MS Word...
The purpose of the code associated with the Global.asax is to hold functionality to respond to various application-level events.
But why is there a markup file associated with the Global.asax.cs? I presume this is an ASP.NET implementation side effect?
...
After I upgraded my projects to .NET 4.0 (With VS2010) I realized than they run slower than they were in .NET 2.0 (VS2008). So i decided to benchmark a simple console application in both VS2008 & VS2010 with various Target Frameworks:
using System;
using System.Diagnostics;
using System.Reflection;
namespace RuntimePerfTest
{
class...
Much of my sql code is generated (from POD). Now i have issue where table user_data has a FK to ref_status which points back to two different user_data. My code does the following
begins a transaction
looks at user_data (and adds it to a list)
sees ref_status then repeats #2 with it
executes the create table ref_status code
Then i g...
Hi there,
I'm in the need for a SCP library (free or commercial) to be used in a .Net 3.5 project. I've already had a look at SharpSSH but it lacks the a couple of basic features (like enumerating all files in a remote directory). Do you know a good, solid and cheap library?
...
MenuItem menus = new MenuItem();
GridView1.DataSource = menus.GetDataTable();
GridView1.DataBind();
menus.GetDataTable() returns a DataTable. In the above case, we are returning to GridView. I need to populate the data into a combo box. How can i do it?
NOTE: Assume GetDataTable only returns records of a single column.
I'm using Winf...
Is there a way to specify the paths to be searched for a given assembly that is imported with DllImport?
[DllImport("MyDll.dll")]
static extern void Func();
This will search for the dll in the app dir and in the PATH environment variable. But at times the dll will be placed elsewhere. Can this information be specified in app.config or...
Hello, this is a weird one, when I run the following code all rows are returned from the db. Imagaine what would happen if this was an update or delete.
Dim cmd As New NpgsqlCommand
cmd.Connection = conn
cmd.CommandText = "select * FROM ac_profiles WHERE profileid = @profileId"
cmd.Parameters.Add("@profile", 58)
Dim...
Hi all,
We have a aspx.net site which send out mail to users using a web server hosted externly.
This have been working perfectly for a couple of years sending 100-1000 mails pr day, but recently users have started to report that they do not recieve mails - some days they recieve all mails (2-100) and some days only 40-60%.
All mails...
I need to Pass some data to a text file and save that text file in a SQL Server 2005 database.
Then I'll need to be able to load that textfile into a C# WinForms DataGrid.
How do I do that in C#?
...
Hi All,
I have a asp.net page which is checking a UNC path on a listbox item change event using Directory.exist method.
This works fine in Internet explorer.
But when i use firefox and debugging this method returns false even though the directory exists.
What could be the reason for this strange problem.
this is the code
Director...
I have problem in project i have dll, when i use function "open" show message box with advertisement where i need push "no thanks" how i can remove this message or simulate push on this button ?
is MatriX XMPP SDK http://www.ag-software.de it cost too much for me (((
...
When i click on the obout calendar control , the calendar opens in the bottom of the screen , but it should opens on the side of the calendar button. how can we fix it ?
Notice : When scrolling the calendar stays fixed in one place.
...
Hi.
I'm working on multilingual Asp.NET MVC application. In url i need to use category name.
Is there any way how to convert i.e japanese text to its url safe equivalent?
Or should i use original text in url(www.example.com/製品/車 = www.example.com/product/car)?
EDIT:
I need SEO firenly urls. I know how to strip diacritics and replace spa...
i m developing a application for administrative purpose, it's developed completly but now i m stuck with hiding process from taskmanager, because my application monitor the users activity and send reports to admin, i have hide the application but i m not able to hide the process from task manager.
...
Can't get list sorted by date. How to show data ordered by date?
XDocument doc = XDocument.Load(Server.MapPath("file.xml"));
IEnumerable<XElement> items = from item in doc.Descendants("item")
orderby Convert.ToDateTime(item.Attribute("lastChanges").Value) descending
...
My program has heavy interaction with the operating system through Win32API functions. Now I want to migrate my program to run under Mono under Linux (No wine), and this requires different implementations to the interaction with the operating system.
I started designing a code that can have different implementation for different platfor...
I try to start plink.exe (PuTTY Link, the command line utility/version of PuTTY) from a C# application to establish an SSH reverse tunnel, but it does no longer work as soon as I pass the correct parameters.
What does that mean? The following works as expected: it opens a command line window, displays that I forgot to pass the password ...
Every time I had to update my ASP.NET application, I used to rename the file "app_offile.html" and the application would go offline. It still works with ASP.NET MVC, but when I start to upload the new versions and I refresh my browser, it gives me many errors because the application is being updated... so the "app_offline.html" is not wo...
Hi... Here ther is one button. If we click that button pop up window will be opened.If i minimized that one and again i click that button means that minimized pop up window sholud be opened. Any idea ?
...