ADO.NET :: Give A Parameter Value?
Dec 3, 2010
[Code]....
i have written this code in a Class for enter date in data base using gridview And following code is written in aspx.cs page on button click but i do not know what value pass in st.insert(..........)
[Code]....
View 1 Replies
Similar Messages:
Jan 6, 2010
my table has an address. below my table im displaying a map. i have a button show map. i would like to give a parameter to that button to load the address from the query and display it on the map. how can i achieve that. here is my code and button.
protected void Button2_Click(object sender, EventArgs e)
{
map.Visible = true;
}
this is the button code. here is the code from my address.
zooaddress.Text = zo.Address;
View 6 Replies
Jan 10, 2011
i have dll in which i have writter function for filling dataset, so i want to pass field name of the table as a parameter to thid dlli dont know how to give quotes to the parameter.i am passing the parameter as a string
[Code]....
View 2 Replies
Jun 16, 2010
I have create a masterpage and add content page include user (firsname,lastname,password,new password,confirm new password adn etc..)detail update field. i try to give a client side validation all the function work,but in confirm password its not hide wen give a correct password.. anybody give correct solution..code are below..
[Code]....
View 2 Replies
Aug 21, 2010
I've a MDX Query that has where clause as shown below.I'm designing report using SSRS 2008. How can i pass date as parameter? I tried to setup @from and @to as parameter but not working?
WHERE ( {[Date Central].[Calendar Date].[2010-04-01 00:00:00]:[Date Central].[Calendar Date].[2010-08-30 00:00:00]} )
need it to work as
WHERE ( {[Date Central].[Calendar Date].[@From]:[Date Central].[Calendar Date].[@To]} )
View 1 Replies
Oct 19, 2010
Is it possible to change a parameter's property after the uer has made a selection or filled in another parameter field? I'm using VS2005
Case:
- 3 parameter fields; Country,Station,Carrier all three are textfields and are allowed to stay 'blank'.
- When the user enters a Country-code in the 'Country' parameter field, the 'Carrier' parameter should become a required field.
I did some searching on the net, but haven't found the solution. I started to wonder if it's actually possible?
View 6 Replies
Nov 12, 2010
I have a parameter Owner with 1,2,3 options in dropdown.
On selection of option 1 , a country parameter should be enabled with all countries' values defaulted.
Option 2 should enable Region parameter with all the Regions values selected and country parameter should be displayed.
Option 3 should disable both Region & Country Parameter.
I am using SSRS 2005 with Enesys tool as add on.
View 2 Replies
Jun 26, 2010
One of our customers has a report with a single value string parameter that has over 1000+ possible values. selecting single value from 1000+ choices results in bad UI, among other things.create another parameter that acts a filter for the other parameter. So you would have Param1 with say 25 choices and selecting a choice would narrow down the option for the second parameter.Is this the best way. What is the best practice for handling these kinds of parameters?
View 5 Replies
Mar 11, 2010
How do you use the http POST method with a Grid View on another page. I am trying to use the POST method to send the ID from the selected row of a Grid View, I am using a link button set to fire the select command and it has the Post Back URL set, from one page and then retrieve the ID value on another page using an Object Data Source. Also, under the Defining Parameters, I am setting the ID parameter to Form Parameter Source and have entered the Grid Views name in the Form Field.
View 4 Replies
Oct 8, 2010
I have created one application where user has to submit data. I want to give the shortcut to button.
For Example if user click A1 it should save the data
View 3 Replies
Sep 6, 2010
i want that only sign in user can only see the page .other user cannot see befor sign in?
View 1 Replies
Mar 11, 2011
i have created 5 pages which are back-end and should be accessible only to sitre admin that is me. how do i do it?
View 3 Replies
Oct 8, 2010
I am new to Asp.net MVC. How to give validations for my forms.
View 2 Replies
Mar 2, 2011
My global.asax is not being triggered on errors on my production server..It's works fine on my dev server but I can't figured out why. my app is using asp.net 4.xxxx and iis6. I've read on web about PrecompiledApp.config but I don't see that anywhere on dev or rod..what are some things to look for..also, On my dev server the error is written cleanly to eventlog but on prod I get message below. The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: ........
View 5 Replies
Mar 20, 2010
I have trouble sending mail out ..it comes with no errors,
[Code]....
View 7 Replies
Jul 15, 2010
IBecuase if they the UrlReferrer is my applicatin then i want them to allow access to a file.Otherwise not.I know the urlReferrer is null if you go directly to the link, but thats not possible.In my test solution it works great, but if i put it online i got null values, sometimes he gives a value but mosly its null...
View 5 Replies
Nov 3, 2010
CODE
<div class="navheader">
<ul class="navuseraccess">
<li><a runat="server" id="mnuAccount" href="AccountSettings.aspx">My Account</a></li>
</ul>
</div>
CSS
[code]....
What I'm trying to do is add a new listitem-anchor but want it to display beneath the existing one, and not next to it. So I'm guessing I'm going to have to move the existing one up a bit, then add a new one beneath it.
View 1 Replies
Jun 11, 2010
how to give read only access to the xml file in c#?
View 1 Replies
Mar 30, 2010
i have a file named print.aspx. There is a link over the print file named friendly print. Behind the link i coded as <a href="print.aspx?mode=print"> As u can c that whent the link is clicked it is redirected to the same page. I want to retrive the querysting value and want to give the if statement like:
if (print==mode) then
{<link href="style1.css" rel="stylesheet"/>}
else
{<link href="style2.css" rel="stylesheet"/>}
View 11 Replies
Nov 15, 2010
in my web application i want to give theme or css dynamically sal for example there are 5 radiobuttons each with some different theme user will choose any one and than that theme should apply to his page.i don't want give class name dynamically i want to give entire theme dynamically.
View 2 Replies
Jun 11, 2010
I have deployed my website in ftp server.now i need to upload image to my database and place images in upload folder. while uploading images i'm getting the below error.
Access to the path 'd:hostingmystieproductImagesvaara.jpg' is denied.
Description:
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.UnauthorizedAccessException: Access to the path 'd:hostingmysiteproductImagesvaara.jpg' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
View 1 Replies
Mar 14, 2011
How to give style in Crystal Report
i have a database column.(SQL column)
[code]....
View 1 Replies
May 4, 2010
I have a asp.net website. For that site, i want to give RSS feed for my users. How can i do that?. I want a basic tutorial for this.
View 1 Replies
Feb 15, 2010
There are three developers who create a web application with ASP.NET using different coding standarts.First developer: Uses class libraries and Web forms without using ASP.NET Web Components or Codebehind pages. (Just like ASP with HTML components, single .asp file etc.)Second developer : Uses ASP.NET Web Components and codebehind pages (all advantages of ASP.NET)Thirth developer: Uses HTML components and just codebehind files with old ASP methods(Request, Respond etc.)Which method of these developers use is more advantageous ?
View 6 Replies
May 28, 2010
I have an asmx file that was created using notepad. Then I created the proxy class using wsdl.exe. Now I have a dll that I want to put it in GAC. GAC needs the DLL to have a strong name. How can I create a strong name for the web service?
View 2 Replies