Databases :: Calling Excel Marco Function?
Aug 2, 2010How to call a macro function of Excel file using Microsoft.Office.Tools.Excel in VS2005?
View 3 RepliesHow to call a macro function of Excel file using Microsoft.Office.Tools.Excel in VS2005?
View 3 Repliesi want to export multiple tables in a dataset to excel workbook with each tables as sheets without using COM Interop or Excel Object.
View 2 RepliesIs there a way to import an amount of data from an excel sheet using the sheet rowindex, something like: SELECT * FROM [PLAN1$] WHERE ROWINDEX BETWEEN 1 AND 1000?
View 1 RepliesCan you tranfer the data from Excel to another Excel using Asp.net 3.5 without saving it to database.
View 1 RepliesI'm tyring to call stored procedures from asp.net C#.
Initially i created a stored procedure in mysql database which returns a whole table when executed.Bt i'm a bit confused on how to call the stored
procedure from c#.
I have a req in which I have to call an AS400 stored procedure.The stored has an input and output parameter.
View 9 RepliesGetting error calling Javsscript function from another Javascript function
[Code]....
Is is possible to call a Javascript function whether it's embedded in the HTML markup file or a .js file from a VB.Net procedure/function?
View 3 Repliesi want to display Hello World Message. How to call this function every five minutes?
View 1 Repliesi wanted to show or hide duplicate records according to query. So, I need to know how to call the javscript function from C# codebehind.
<a onclick="Grid1.insertRecord(); return false;" id="a2" href="javascript:">Save</a>
When I click save i need to show a popup which i Have written in javascript.
if (!exist)//exists is the query
{
System.Web.UI.Control my = FindControl("a2");
a2.Attributes.Add("onclick", "retrun HideDuplicate()");
This line returns an error saying "a2 doesnot exist in current context."
Question: I want to call a generic function, defined as:
Public Shared Function DeserializeFromXML(Of T)(Optional ByRef strFileNameAndPath As String = Nothing) As T
Now when I call it, I wanted to do it with any of the variants below:
Dim x As New XMLserialization.cConfiguration
x = XMLserialization.XMLserializeLDAPconfig.DeserializeFromXML(Of x)()
x = XMLserialization.XMLserializeLDAPconfig.DeserializeFromXML(GetType(x))()
x = XMLserialization.XMLserializeLDAPconfig.DeserializeFromXML(Of GetType(x))()
But it doesn't work. I find it very annoying and unreadable having to type
x = XMLserialization.XMLserializeLDAPconfig.DeserializeFromXML(Of XMLserialization.cConfiguration)()
Is there a way to call a generic function by getting the type from the instance ?
Just wondering how I do this, Im creating a class that will have my common database functions. So for example I've created a function db_con in a class called db_functions.How do i use that db_con function in for example my homepage vb code?Do I import the class? I've tried typing the full class and method name, no joy so far?
View 1 RepliesI wrote a small function in C# that manipulates pdf files using itextsharp. Is it possible to call this function from a classic asp page?
View 6 RepliesI have the following jquery function
[code]...
but I need a way of calling the growlUI jquery function from my code behind file in C# rather than clicking on a div in the UI.
Is this possible?
I have a master that I am trying to load a certain stylesheet based on some data. I have a function in the code behind of the master page:
[Code]....
Then in the head of the master, I have:
[Code]....
I've tried "Eval" too but if I set a breakpoint in the LoadFacilityStyles function, it never even gets triggered/called. Is this possible to do with .master?
how to call a partial view from within a Javascript function? I've looked around the web, but all the examples that I have been able to find are examples using Ajax.ActionLink or Ajax.BeginForm.
When a user clicks on an item, I want to be able to hide/display some Divs and possible do other operations before calling the partial view. ActionLink doesn't appear to provide that ability. Depending upon the item the user clicked, I may be assigning the results of the PartialView to the same Div, or to a different Div.
What I'm looking to achieve, is to have an onclick handler associated with the item which performs whatever other operations might need to be done, then assign the result of the call of the PartialView to the appropiate Div. In some instances, the function might even be making two separate calls to PartialViews, to update the content of two separate Divs.
I have a button with OnClick=Button_Click. I want to call Button_Click from another function but the problem is that I need to give it:
object sender, EventArgs e)
What should I enter for those parameters? Is there any way around it?
I am trying to show the results of a function with information from a form on the previous page.I was working on this project in the past and the following code worked, but it does not anymore.I know its alot to look at but if someone could help that would be great.The form on the first asp page:
<FORM METHOD="POST" ACTION="RollingRiverFarmCustomerQuote.asp" id="InformationForm">
I have an ASP.NET site and I'm using jGrowl to display notifications to the user. This works great when the user stays on the same page, but what if I'm redirecting the user.
Example, AddPerson.aspx is a page for adding a new person. After a person is added the user is redirect to People.aspx. I'd like to then display the notification 'Josh Smith has been added.'.
I currently have a function in my Master page executing the javascript:
public void DisplayNotification(string html, string header)
{
string text = """ + html + """;
string options = "{ header: '" + header + "', life: 6000 }";
string scriptJGrowl = "$.jGrowl(" + text + ", " + options + ");";
ScriptManager.RegisterStartupScript(Page, GetType(), Guid.NewGuid().ToString(), scriptJGrowl, true);
}
How can I call this after a Response.Redirect?
I've a pre-supplied public function in classic asp that creates a hash value - it is pretty complex and I'd rather not convert it to .net if at all possible (mainly as I don't understand half of what it does!) I'm running it under IIS7 on VWD2008 express. How would you call a function in that asp file? do you have to redirect or as it is #included into the asp.net file, is there an eaiser way? At the moment the complier does not spot the function and says it is not declared.
View 2 Repliesusing vb.net/asp.net 2005
I have a content page (<asp:content>) where I am using javascript and normally I am adding the attribut in the code-behind page. however I now need to add a javascript function that will cause when the body or panel loads. I have a test javascript function that simply shows an alert box but I cannot get it to display. Is there a special way to do this in a content page?
[Code]....
I'm instantiating an asp:Button inside a data-bound asp:GridView through template fields. Some of the buttons are supposed to call a server-side function, but for some weird reason, it doesn't. All the buttons do when you click them is fire a postback to the current page, doing nothing, effectively just reloading the page.
Below is a fragment of the code:
[Code]....
The viewBtn above should call the viewBtnClick() function on server-side. I do have that function defined, along with a proper signature (object,EventArgs). One thing that may be of note is that this code is actually inside an ASCX, which is loaded in another ASCX, finally loaded into an ASPX.
I m trying to call a JQuery .click funtion after page postback from code behind. I m using ASP.NET with C#.
View 2 RepliesI'm trying to call web service function via GET method using jQuery, but having a problem. This is a web service code:
[WebService(Namespace = "http://something.com/samples")]
[ScriptService]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [Code]....
And I get an error because of this (error handler is called).
I 've some session variables which are used on a page, i want to clear those session variables as soon as user is redirected from this page,
Is there any method which i can call before user is redirected from this page ?