Forms Data Controls :: Access The Customer Name Outside The Form?
Jun 15, 2010
I have an ASP pg with a formview list control on it that hooks up to a sql database customer table
I want to access the customer name outside the form.
How do I:
A) access the bound text box in the form view template? Something like Text1.text=formview1.customername.text (that doesn't work but that's the kinda thing)
B) access the database field in the table that the sqlsource connects to to feed the formview
Really appreciate the help. I bet it's easy to do but I'm just not getting there.
View 4 Replies
Similar Messages:
Jul 2, 2010
I am trying to find out if what I am looking to do is achieveable. And if it is - where I would start. We have users who are completing an online quiz which they submit to SQL, we then extract the data and using Mail Merge in MS Word send them a personalised certificate by email. What would be better is that when they submit the data to the DB that the certificate was generated and emailed directly back (this needs two fields from the form data to drop into the form template).
View 1 Replies
Apr 20, 2013
How can i Create Asp.net Form allow me to send sms from it to the Customer ?
View 1 Replies
Dec 16, 2010
I am writing an application that collects Customer Complaints and stores them into a database. I want to keep it simple so that the Managers without much web knowledge can use it. This is how my Entry Form works. The Manager selects the name and id of the staff by choosing a location. This loads ids and names of the Staff in that location from the database. Then the Manager rates the complaint based on the severity and enters the comments. I was able to use Session objects to get all these values from the Entry page to the Confirmation page so the Managers can check again. This is where it gets tricky. If there is a correction they have to make by trying to go back to the Entry page, the values are lost (esp. Drop-down ones).
View 6 Replies
Jan 13, 2010
Now i have a database table holds all info of my (customers) such as first last names and address phone number etc ... and i able to edit delete update their info from my side using the admin page that contians gridview i created. If several customers logged into their account pages, and each one wants to update his information,
How can i let the specific customer info be showin on his page for each customer? (I have one databse table and it contains a primery key column called "MemberID") how can i make the new subscribed user get his info that he did input or i would like to add to it, showin on his account page?
View 8 Replies
May 4, 2010
I need the simple task of populating a form from a dropdown if customer IDs.
The problem is I'm new to MVC and I no longer have events, so I'm not sure how my dropdownlist can have a postback event that does one thing, and my update button can have a postback event to do another thing.
Example, this only goes to the post action, so how does it know to load the customer or do an update:
[Code]....
View 4 Replies
Sep 1, 2010
1- How can i upload and show an image file for the customer in his account details page when the information are showing to him by a gridview?2- What is most commonly use as a data control for customer account pages (gridview or detailsview)?
View 17 Replies
Jan 26, 2010
how should i write selected product ids from grid view to database with customer id. how to associate customer id with job ids selected from grid control.how should i store which customer selected which product after login
View 1 Replies
Jan 11, 2010
I want to access all controls in a web form and I use the following code :
foreach(Control c in Page.Controls)
{
if (c.Controls.Count > 0)
[code]...
View 2 Replies
Jun 21, 2010
I ve build a web application iin c# and then wants to register new user. now i want to save that user info in a table created in Ms Access DB .accdb ... i cant understand validation group
View 7 Replies
Mar 9, 2011
I'm not really sure where to start with this and therefore can't pick a more specific area to post. At first I though this might be something I would do in IIS7 but on reflection i think it needs to be at the application level. I am developing an application which will as part of it's function provide a unique website (custom CMS) to my customers. Each person who registers will have their own site accessible via a url such as [URL]. I need someway to take this and work out which customer it is and then load the rest of the pages with their content. So the site may have a home, about us and news pages for example and be themed to the customers requirements. Each of the pages will be the same aspx file and application for all customers but the content and style will be loaded from the database at runtime. I'd like for the duration of the visit for everything to appear as if from this subdirectory without actually creating them for each customer. so thy could visit [URL] but it actually loads [URL] and loads the content based on the customer site the visit is viewing.
I'm not really sure how to approach this. Maybe using a session value to store the customerid for the site the person is viewing which could be calculated from the URL on the first visit. I presume other people have done something simialr in the past. Where it gets more complex is if I then want to offer customers to have there own domain name pointed to the site. In that scenario they would have say [URL] which points to my server and bound to my application [URL]. All pages would have look as though they were on the customer website such as [URL] but still point to [URL] in the background and also somehow link to the customerid in the database to load the correct content.
View 1 Replies
Aug 4, 2010
I am using a from view for data entry. I need to verify that a check box is true or false after editing a record.
I have been accessing label text using the following|
CType(FormView1.FindControl("RespDeptLabel"), Label).Text
How can I access the state of a checkbox in the form view to determine if it is true or false
View 4 Replies
Jun 23, 2010
How can I access my GridView in Customer.aspx file from another NewUserLogin.aspx file.
How should I chnge the access to my GridView to public so that I can chnge its values from another aspx file
View 5 Replies
Feb 21, 2011
I am working in a school and we recently installed a new server running WinServer 2008R2. I want to be able to point people to a URL on our intranet and have them fill out a simple registration form and have this data written to a database. It would also be nice to have some data auto-populate (such as their name).
Is it overkill to set up a sharepoint server and try to do this with Access Webforms? Could I use something like dotnetnuke and find a module that works? Or how about options for writing custom forms?
View 3 Replies
Dec 13, 2010
I'm pretty new in the world of ASP.Net, but not on developing in general. I created a webservice which read data from a SQl-database. This works fine. Now I want to create a customer website which uses the webservice to read those data. I need to do this periodically, say every 10 seconds.
The profiler on the database and debugging the website tells me that the values are read good, even is they are changed in de database. But, I need to display those values on a label, but this won't work, only with a meta-refresh every 10 seconds.Is there a way to use a timer and refreshes labels ?
View 4 Replies
Aug 21, 2010
I want to Check Gr #(PK) of student wheter exist in table or not id exist show Msg in Label after lost focus from text box .. I tried AutoNumber in Access but it showing error while insertion
Note : im using form View control for insertion...
View 1 Replies
Dec 21, 2010
(1) Customer would like data resides with their machines/server without expose the data to internet
(2) I want ASP code resides in remote PC in my office
So the idea is they access (via internet) my office PC/server with ASP codes on it and use the software, and the client PCs use data on their own server and these 2 combined to produce the result. I know this seems impossible but any idea to fine tune and still achieve (1) +(2) practicably?
View 2 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 25, 2013
How to save data in tables without any button click , it should be done at the time of entering data in textbox and before goin to next data.
View 1 Replies
Jan 11, 2011
I created a Class library for WCS service (MyWCFServiceLibrary) to access data form my database. The database connection strings have been defined in Properties->Settings.settings. The endpoints are defined in the app.config. Tracing and logging is set to write to files on local server. This service is hosted by a .net web service. This webservice refrences the WCF service using MyWCFServiceLibrary.dll and MyWCFServiceLibrary.pdb. The web service is hosted in IIS. All this setup is working fine on the development environment.Now I want to deploy this in the QA environment. Since I am a newbie with WCF, I would appreciate some help on what needs to be done for deploying this on the QA server.1. Do I need to recompile the MyWCFServiceLibrary.dll after changing the connectionstring to point to QA database and tracing and loggint paths to the new server?2. Is there anything that needs to be done with end points or anything else?
View 1 Replies
May 19, 2010
i need to acces the Form ID from master page.
I have this:
[Code]....
i need to access the Body Id and the Form Id from Users page
but this gives me an error:Object reference not set to an instance of an object.
[Code]....
View 4 Replies
Jan 8, 2010
developing a product (like shopping cart) in ASP.NET/C# 3.5. It is common for all the shopping sites. The following is my task,I need to get the datas from customer database (It may be SQLServer, MySQL or Oracle and the database structure also different). For example i need the following items for my product from the customer database,Category ID (Category or Product) Category Name Parent Category Description Cost Quantity Thumbnail image url Original image url Related products So how to get above values from the customer database and what should be the best concept to do this because i don't know anything about customer database (I don't know whether it is SQLServer or MYSQL and also i don't know the database name, table name or column name).
View 4 Replies
Oct 6, 2010
If I am going to access another page from previous page using response.redirect or server.transfer, What can I do so that the previous web page control can be accessed by the another page? Is it possible??
View 2 Replies
Oct 11, 2010
I want to create a search form that will check MS Access db. The form will have many checkboxes for users to check if they want to query specific amenities for a lodging query. It would probably be easier if somebody could recommend an example of how to do this rather than explaining each part. How to set setup up Access Datasource to return only those checkbox fields that are checked. So for example if there are checkboxes for the following.
Fireplace, HotTub,PetsAllowed,LaudryFacilities,Telephone,TV,DVD....
How to set up if user only chooses the first 3 selections? Perhaps my biggest obstacle is the select statement as all the fields in question here will be of boolean type Yes/No aka True/False.
View 4 Replies
Mar 22, 2010
We have a demand system where customer can demand the quantity they want for a particular deal.
For each demand they submit, a new record is added to the DealDemandRequest table with the CustomerID, DealID, Quantity
I want to be able to to calculate the total quantity demanded by a particular customer. Current I query the DealDemandRequest table for all the records by a particular customer and then do a sum of the Quanity column.
However, we are expecting this table to be over 1 million record and it is reallly really slow right now.. Any better ways?
View 3 Replies