Web Forms :: Run An .exe File Within A Website & Pass Parameters?

Jan 14, 2011

1) I have an .exe program that checks for the current directory and generate two .txt files from a .xml file. It should store the results of the two .txt files back into the same location as the .exe I heard that I should not be able to execute the .exe file within the website ??

2) I also have an .exe that generates a folder browser that I am using to allow my user to store the data the user downloads from the website. I am currently passing the full path name of the folder by storing in in my C: drive, but that may not be possible on a website? How would you pass the full folder path so that I can read it within my website form and store the downloaded data to ???

Currently the folder browser .exe code is also on the c:drive, where do you recomment me to put it to use for the website ???

I am not sure if I have access the a drive (like c:) on a real website.

View 3 Replies


Similar Messages:

VS 2008 - Pass Parameters From One Website To Another Without Login

May 10, 2012

I need to pass username from one intranet website to another. User logs into one website, if a clicks a link, it should take him to another website, seamlessly i.e. without logging in again.

Both websites would be on the same domain. I do not want to use querystring.

View 3 Replies

AJAX :: Pass Additional Parameters When Using File Upload

Feb 25, 2016

i'm trying to upload files by AjaxFileUpload, i have got it done. But now i need also to know 2 parameters, 1 is given on the URL adreess myPage.aspx?parameter=2...the second is in ViewState.

But on event OnUploadStart or OnUploadComplete...i dont have access to these values event when i tried session.

View 1 Replies

Web Forms :: 10 Parameters To Pass To Popup

Jun 10, 2010

Instead of specifying 10 parameters in the URL, is there any good alternative way of passing the parameters? And note the new window has to be a popup.

View 6 Replies

Web Forms :: How To Pass The Parameters And Get The Data In Gridview

Jun 8, 2010

I got DDL1: 10 miles

20 miles

TextBox1 : 'AAA20'

Button:

When user selects 10 miles from dropdownlist DDL1 and types AAA20 in textbox1 which is of type text, on button click it has to pull all the columns from database and show results in gridview using sqldatasource store procedure. I'm stuck in server side code..how to pull the data..in store procedure I'm passing two parameters val1 and val2. val1 gets data from DDL1 and val2 gets data when user types in textbox1 and it has to validate the text...see the code below mentioned and tell me how to pass the params and get the data in gridview...

[code]....

View 13 Replies

Web Forms :: How To Pass Parameters Via A Button Control

Sep 16, 2010

I would like to pass a number of parameters via a button, (it must be a button) but I don't know how to do this.

View 2 Replies

Web Forms :: Pass Multiple Parameters In URL Routing

May 7, 2015

I have seen demo on remove .aspx extension from url in asp.net, its a great articale, but i have few queries which i would like to ask.

How we can use same approcah when we are passing multiple values in a query string like:

"www.localhost/Category.aspx?Id=1&Name=abc"

In example shown that we need to write below code in global file like :

 routes.MapPageRoute("CustomerDetails", "Customers/{CustomerId}", "~/CustomerDetails.aspx");

but what about in above case?

View 1 Replies

Forms Data Controls :: SqlDataSource Pass Parameters

Mar 15, 2011

I have big filter coming from database by using storedprocedure. This stored procedure contains about 12 parameters. In asp.net page I select these values and after doing that I want to pass these values to SqlDataSourec which is bound to gridview. How can I pass these values to SqlDataSource, manually in codebehind?

View 8 Replies

Web Forms :: Using Wizard To Pass Parameters From Page With No Buttons?

Sep 8, 2010

I'll start out by saying that I am kind of new to the Wizard control. What drew me to it, was the fact I didn't need to pass variables between pages with the traditional methods. Now I am faced with a situation where I may have to use those methods.On Step 2, I have a handful of LinkButtons that look similar to this...

[Code]....

I figured I could hide the item in a hidden field control before transfering over to the next page by changing the activestepindex. That's not the case. The first trip through the steps, I never retrieve the value in Step 3 from the hiddenfield. However, if I called boxChanger to get to Step 3, use the previous button (buttons are visible on Step 3) to change index back to Step 2, then called boxChanger again, I see the value called from the first time I called BoxChanger.Is there a way to accomplish this or am I stuck with the old fashioned methods? Hopefully, I am being clear enough with what I need.

View 2 Replies

Web Forms :: Pass Additional Parameters To Uploadify Using JQuery?

Jan 25, 2012

this is regarding a tutorial posted here at [URL] , as such this example is working fine, but what if i have a textbox in the page and i want to call the value in the web handler, how can i achieve that?

View 1 Replies

Forms Data Controls :: ListView And Hyperlink Pass Parameters

Oct 18, 2010

I am trying to add a hyperlink to the below listview. This hyperlink passes multiple parameters to the next page? I am trying to achieve the below, works with a gridview but not below.

View 4 Replies

Forms Data Controls :: How To Pass Two Parameters In Gridview - Databinder

Aug 13, 2010

I try to pass two parameters to code behind

Into gridview

Visible='<%# Show(DataBinder.Eval(Container, "DataItem.Id").ToString()) %> + <%# MostrarBotonBorrar(DataBinder.Eval(Container, "DataItem.Rol").ToString()) %>'

in codeBehind:

public bool Show(string value,string value2)
{
if(value == LbluserInvisible.Text)
{
return true;
}
else
{
return false;
}
}

View 2 Replies

Forms Data Controls :: Pass Multiple Parameters In A HyperLinkField Field?

Aug 15, 2010

I am creating a grid with a code behind and in the hyper link column I would like to pass some parameters before passing users to a new page. If I just use one parameter, the CustomerID in the dataNavigateUrlFields and dataTextField then the

linkField.DataNavigateUrlFormatString = @"/details.aspx?Customerid={0}";

statment works fine.

Now my requirement is to pass multiple parameters and when I tried the following it gave a

'A field or property with the name 'System.String[]' was not found on the selected data source.'

Here is the code snippet:

HyperLinkField linkField = new HyperLinkField();
string[] dataNavigateUrlFields = { "CustomerID", "CompanyName", "FirstName" };
linkField.DataNavigateUrlFields = dataNavigateUrlFields;
string[] dataTextField = { "CustomerID", "CompanyName", "FirstName" };
linkField.DataTextField = dataTextField.ToString();
linkField.DataTextField = "CustomerID";
linkField.HeaderText = "Customer ID";
linkField.DataNavigateUrlFormatString = @"/details.aspx?Customerid={0}&CompanyName={1}&FirstName={2}";

Does some one know how pass the multiple parameters via the hyperlinkfield in C#?

View 3 Replies

Forms Data Controls :: How To Pass Parameters From A GridRowView Selection Via Radio Button

Jul 21, 2010

I need to pass parameters via a gridRowView to a button I have a gridView that currently allows row selection via a radio button What I need to do is based on that selection is pass the parameters to one of 4 button options within the footer. This will then open a new page based on those values. I'd got this working using a hyperLinkButton and querystring but now I'm really struggling with the new requirement "it must be a button" selected this way

Here's my code, if it helps anyone to see it?
<asp:GridView
ID="gvSavedChanges"
runat="server"
AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False"
CellPadding="4"
DataKeyNames="EmployerIDNo"
DataSourceID="dsSavedChanges"
ForeColor="#333333"
borderColor="Silver"
GridLines="None"
>
<RowStyle
BackColor="#F7F6F3"
ForeColor="#333333"
/>
<Columns>..............

View 2 Replies

Forms Data Controls :: Delete Gridview Row Using Stored Procedures And Pass Parameters

Jan 8, 2011

i have a gridview and the delete option.

when i press delete button i want to run my stored procedure which requires an input variable. how can i do this?

View 1 Replies

Forms Data Controls :: Listview Itemtemplate/alternatingitemtemplate Modalpopup Pass Parameters To Iframe?

Mar 8, 2011

I am trying to enable server side code to check my session varible but my itemcommand is not being executed because my modalpopup is client click.Each template is loading the iframe which is horible performance killer. How do I get it to load the iframe on LinkButton click only once?

[Code]....

[Code]....

View 4 Replies

Forms Data Controls :: Tie DataSource To SqlDataSource On Aspx Page And Pass Select Parameters?

Nov 10, 2010

[code]....

Is ther a way I can tie DataSource to SqlDataSource on aspx page and pass select parameters?

View 6 Replies

Link To .xls But Need To Pass Parameters?

Aug 3, 2010

I have a page containing a link to to MS Excel spreadsheet (I am able to assume that Excel is available as this is an intranet page). All works fine until I want to pass a parameter into the spreadsheet.

Normally I would do this with /e but this will not work I am starting Excel through a link.

Any ideas how I would pass the parameters into Excel?

(also - there may be multiple requests for the spreadsheet at any time with differing parameters!!)

View 1 Replies

How To Simplify Code To Pass More Parameters

Feb 5, 2010

I used a sub in which need to pass about 15 parameters. How to simplify it?
Protected Sub test(ByVal _a As String, ByVal _b As String) //about 15 parameters will pass
Dim s As String = "insert into AAA a, b value(" & _a & ", " & _b & ")"
End Sub

View 5 Replies

Mvc 2 - How To Get The First Part Of The URL Parameters And Pass It To Controllers

Mar 29, 2011

I'm building a site that has a number of language versions. currently I use session variable to manage the country code for different language version

but today the client specifically requires to put the country code in the url right behind the domain name so the site url will be like these examples

uk version: [URL]

usa version: [URL]

I defined the default route to

[URL]

but I'm not sure how to get the first segment of the url in the controllers?

View 1 Replies

How To Pass Parameters From Eval To Href

Dec 10, 2010

<a runat="server" id="link" href='ProductDetails.aspx?ID=<%# Eval("productID") %>'></a>

View 2 Replies

How To Pass Model To An Action Which Have Other Parameters

Feb 24, 2011

My problem with the following is how do I send the ModelStateErrors to the action Employee, when I go through the catch part in DeleteEmployee

[Code].....

With return View("Employee", model); I a still not able to send the ID and Name as parameter.

View 5 Replies

C# - Pass Parameters To Crystal Report?

Mar 10, 2011

crystal report has two parameters field, however, i used three method searched, all failed. Error is missing parameter values. sure parameter is passing by query string URL] checked by Label However, do not know why Error is missing parameter values.

Method 1
// First parameter
ParameterFieldDefinitions crParameterFieldDefinitions;
ParameterFieldDefinition crParameterFieldDefinition;
ParameterValues crParameterValues = new ParameterValues();
ParameterDiscreteValue crParameterDiscreteValue = new ParameterDiscreteValue();
crParameterDiscreteValue.Value = Request.QueryString["ID"];
crParameterFieldDefinitions = objRpt.DataDefinition.ParameterFields;
crParameterFieldDefinition = crParameterFieldDefinitions["Cheque_IssueRecord_Secretary_Review_TT_ID"];
crParameterValues = crParameterFieldDefinition.CurrentValues;
crParameterValues.Clear();
crParameterValues.Add(crParameterDiscreteValue);
crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
// Second parameter
ParameterFieldDefinitions crParameterFieldDefinitions2;
ParameterFieldDefinition crParameterFieldDefinition2;
ParameterValues crParameterValues2 = new ParameterValues();
ParameterDiscreteValue crParameterDiscreteValue2 = new ParameterDiscreteValue();
crParameterDiscreteValue2.Value = Request.QueryString["tCOMDB"];
crParameterFieldDefinitions2 = objRpt.DataDefinition.ParameterFields;
crParameterFieldDefinition2 = crParameterFieldDefinitions2["tCOMDB"];
crParameterValues2 = crParameterFieldDefinition2.CurrentValues;
crParameterValues2.Clear();
crParameterValues2.Add(crParameterDiscreteValue2);
crParameterFieldDefinition2.ApplyCurrentValues(crParameterValues2);
Method 2
//objRpt.SetParameterValue("Cheque_IssueRecord_Secretary_Review_TT_ID", Request.QueryString["ID"]);
//objRpt.SetParameterValue("tCOMDB", Request.QueryString["tCOMDB"]);
Method 3
var value = new ParameterDiscreteValue();
value.Value = Request.QueryString["ID"];
objRpt.ParameterFields["Cheque_IssueRecord_Secretary_Review_TT_ID"].CurrentValues.Add(value);
var value2 = new ParameterDiscreteValue();
value2.Value = Request.QueryString["tCOMDB"];
objRpt.ParameterFields["tCOMDB"].CurrentValues.Add(value2);

This crystal report database use stored procedure, parameter field is automatically added, after added i removed @ character do not know why parameter missing

View 3 Replies

Pass Parameters From A ListBox To A DataGrid?

Mar 16, 2010

I am trying a programming example, which I saw in a book, in an attempt to learn ASP.NET and figure out how to pass parameters to a simple query. Here is my HTML:

[Code]....

The page loads but the ListBox does not fill. As a consequence, or maybe as an aside, the button click_event does absolutely nothing. Here is my VB:

[Code]....

View 8 Replies

MVC :: Pass The Parameters Using Db2 To Jquiry Grid?

Mar 23, 2010

I have a db2 table with certain columns.. i have a stored procedure for select all table

how to use this stored procedure to fill the json grid.using asp.net mvc control..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved