Vb.net - Capturing International Personal Data (Name/Address/Phone)?
Feb 25, 2010
I am looking for the best way to capture and validate US & international personal data. I have to use ASP.NET 2.0 (vb.net) and no 3rd party web services. This are all client restrictions.
The main point of this is I have to toss their data to FedEx for a shipping quote. I think FedEx has a address checker but that web service was not approved in the scope of the project and its too late to get it added.
My current solution is to just let the field be required and free form then before I save their profile check to see if FedEx will return a quote. If it fails then I will ask them to recheck their profile or contact the admin.
View 1 Replies
Similar Messages:
Dec 14, 2010
I am using a dropdownlist in my application to choose from the international telephone country codes. Since I didn't find anything I wrote a script which fetched the data from a telecommunications site and formatted it as ListItems. In case anyone else is looking for the same information you can find it here:
http://banani.de/?p=19
View 4 Replies
Mar 2, 2010
I am tasked with providing a membership form that requires users to given their postal addresses. The form needs to be very friendly to maximize data accuracy. So I am required to take the user's country and their zip code and from that pre-populate the town field. Moreover, this must be done in the official language of the country chosen e.g.Japan/Japanese. Since I don't really believe this is yet
possible, my starting point will be an English version of this.
Does anyone know of a database/web service that can provide*international* address information based on country and zip/postal code?
View 2 Replies
Dec 15, 2010
I have a web site where I need to capture the IP address of the logged in user. Earlier my code used to work fine. But all of a sudden it is giving me only one IP address from whichever machine may be the user logging in. I have tried almost all possibilites :
Request.ServerVariables("REMOTE_ADDR")
Request.ServerVariables("HTTP_X_FORWARDED_FOR")
Request.UserHostAddress()
Still it is giving me the same IP address.
View 3 Replies
Oct 14, 2010
I'm populating a gridview showing all the personal log entries for all users which have entered information into the database.
There's the following columns in the database table:LogID, DisasterID, UserName, DateEntered, and LogEntry.
I can get the gridview to populate with this information just fine depending on the DisasterID.
Right now, it shows the username next to each and every one of their entries.
How would I configure it so that it would list the username once and all their entries, followed by another user and all their entries, etc?
View 2 Replies
Oct 12, 2010
I am trying to populate a gridview control to display the current registered users on the site.
I query various tables from the ASPDOTNET.mdb database in order have a list comprising of UserNames, Email address, LastLoggedOn, etc. This bit is fine and it displays all the details.
The part I'm having a problem with, is I would like to add the FirstName and LastName to each row also. But I'm not sure how to get at the record. In the profile table I have a column with this detail within plus other personal details but I only need to retrieve the names and display that in the gridview.
View 2 Replies
Sep 17, 2010
I want to capture data in a string Ex. I want the user to pass a comma delimetted string
'67282,98272,7282,09282,6272,82728"
I want to be able to capture the date seperated by commas
67282
98272
7282
09282
6272
82728
I can than store this data in a table in memary or manipulate it in some way.
In VB we have the split function.
Is ther a function in SQl 2005 that will allow this or does someomeone have some code example to do this or should I use VB .Net and the CLR to capture this?
View 3 Replies
Dec 19, 2010
I have the questions written with the radio buttons for simple yes, no or N/A answers The website requires a minimum of one upload with options to upload four more. Good news - when you look at it in browser, everything works but now I'm clueless The "Submit" button is there but don't know what to do now where to submit to, server or Email or? I am assuming I will need a server through the host and think there is a test server to use.
View 3 Replies
Mar 16, 2010
I have a data grid showing only two colums of the data i have.
I need to display the contents of the other column in a text box on the same form for the row selected in the data grid.
capturing the select event in the data grid and update the text box as necessary.
View 8 Replies
Jul 20, 2010
I am tring to add a user control to do a search. this user control is to be used on the home page and for example /category-page.where do I write the code for data capturing. is there a way to force the user control to submit to a HomeController or the controller I want?
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Search(string key)
View 1 Replies
Feb 15, 2010
I have two pages, the first one displays a list of products in a gridview, one column in the gridview is a hyperlink, this can be clicked on to get further details about the product. Each row in the gridview can be selected, certain details are added to an array (including the hyperlink column). I them want to display these details on page number two. All details are displayed except the hyperlink field.Has anybody any ideas as to what I'm doing wrong? The code is as follows:
[Code]....
and the second page:
[Code]....
View 6 Replies
Dec 29, 2010
I've created a number of identical controls in a varying number depending on how many employees are under a supervisor. What I am trying to do now is to see which set of controls are checked via a checkbox and return a value from the label field in that particular set. Here is my code:
[Code]....
What I am trying to grab in particualr is the PayRoll Label. I've named sequentially as "lblPayRoll" + the counter. Which from what I think I should be able to do is get the total count of my array and from then loop through the controls and grab the label data.
Problem is that I can get the data, but it disappears after I click the button to grab it. I think I am saving everything to the viewstate, but they just disappear.
View 9 Replies
Mar 7, 2011
I have a grid view with the following structure
[Code]....
Here is the scenario:
The data is populated in the gridview dynamically at runtime The number of rows vary each time The auto postback event has been set to true I need to capture the rows that are selected, When I try to capture the button click event; the gridview is null(I understand that it has to be rebound on each postback). Hence this is not working
[Code]....
I also tried this, the rowcommand event; It is also not getting generated. The gridview rowcommand is not getting fired
[Code]....
I need the rows which are selected using the checkbox in the above mentioned sceanrio.
View 4 Replies
Aug 7, 2010
Let's say I have some HTML and Javascript which adds text fields dynamically to a form:
[code]...
What might the ASP.NET code for capturing the data from these dynamically created text boxes look like?
View 2 Replies
Jan 4, 2011
The question might sound weird, but I am planning to create a asp.net website, which when fully done, will ideally cater to all countries.I am currently in the architecture phase.. and is there anything that I should keep in might when doing this?
like,saving all datetime fields in utc
using user's timezone to display all time related data
all labels in the website to be localizable
is there anything else?
View 4 Replies
Apr 3, 2010
I have the follow form view:
<asp:FormView
DefaultMode="Edit"
ID="FormView1"
runat="server"
onitemupdating="FormView1_ItemUpdating">
<EditItemTemplate>
<asp:TextBox
ID="txtPrimerNombreNatural"
runat="server"
SkinID="texto"
MaxLength="30"
Text='<%#Bind("PrimerNombre") %>'></asp:TextBox>
<asp:TextBox
ID="txtSegundoNombreNatural"
runat="server"
SkinID="texto"
MaxLength="30"
Text='<%#Bind("SegundoNombre") %>'></asp:TextBox>
</EditItemTemplate>
</asp:FormView>
<asp:Button
ID="Actualizar"
runat="server"
Text="Button"
CommandName="Update"
/>
This formview is bound in this way:
protected void Page_Load(object sender,
EventArgs e)
{
Persona _persona =
new
Persona();
_persona.ObternerPersonaByUserIdApp(1);
List<SILPA.AccesoDatos.Generico.PersonaIdentity> persona =
new
List<SILPA.AccesoDatos.Generico.PersonaIdentity>();
persona.Add(_persona.Identity);
FormView1.DataSource = persona;
FormView1.DataBind();
}
When the page is shown, the textbox are filled correctly, this textbox are filled with the "primernombre" and "segundonombre" properties from the persona class. After this, If I change the textbox, and after click the update button, I need to update the persona class with the changes from the textboxes, then I call a ActualizarPersona method for updating the database. How can I do for update the persona class when I change the textboxes and click the update button? I try this method protected void FormView1_ItemUpdating(object sender, FormViewUpdateEventArgs
e)
{
}
View 1 Replies
Jul 22, 2010
I've been spending two days on this. My page formview is in a tab container and I need it to update, insert and display data. Insert and display are ok as long as the default mode is Insert. The problem here is edit mode, it's able to get values from the db(oracle) and display them in edit mode, but when I click save, any values I typed out on the textboxes do not get captured. When I call on my db update class, it just sends old db values. Here is the process: formview shows data selected from gridview, then an update button is clicked to edit the data. there is also a SAVE button to send updated data to db. Example: description textbox = "test", then I type out a different value, and in debug mode, the textbox.text still shows "test" after clicking save.
[Code]....
[Code]....
View 12 Replies
Jan 18, 2011
I'm trying to populate a datasource for a dropdownlist (which is actually in an insertitem template field within a detailsview on the same page) with a selectedvalue from a gridview. When I select a row in my Gridview 1, I get the "no value for a required parameter" message. ( and I have tried various alternatives... setting the selectedvalue of the grid to a variable... setting the selected value of the grid to a textbox nothing seems to work. It seems like this should be a pretty simple thing. I think I'm missing something obvious! Here is my code:
Field in Details view to be populated by the datasource:
[code]....
View 3 Replies
Oct 29, 2010
My Problam is on Capturing Text Box and Dropdown seleted itam from grid view i create a gridview with Empty DB binding using [URL] this senirio. I only used setinitional value() function and called its in page load as discribed in above lonk. insted of adding New record Button i callled a java scrit code discribed below. and i also create a button (SAVE) to capture a value intered in text box . On this button click event i try to capture a textbox and dropdown value like
for (int i = 0; i < Gridview1.Rows.Count; i++)
{
DropDownList sen_to1 = (DropDownList)Gridview1.Rows[i].Cells[1].FindControl("DD_sento_org");
TextBox Add_to1 = (TextBox)Gridview1.Rows[i].Cells[2].FindControl("Txt_addto");
int Add_to = Convert.ToInt32(sen_to1.SelectedValue);
String Addd_to = Add_to1.Text;
}
but its not working i can not go inside loop.
<script
type='text/javascript'
language='javascript'>
function AddNewRecord(keyCode, obj)
{
if (window.event.keyCode==13 )var grd = document.getElementById('Gridview1');
var tbod=grd.rows[0].parentNode;
var newRow=grd.rows[grd.rows.length - 1].cloneNode(true);
cleanUpInputs(newRow);
tbod.appendChild(newRow);
}
}
return
false ;
View 4 Replies
Oct 18, 2010
I want to validate zip codes that belongs to most of country like USA,UK,Australia,India etc.....
View 3 Replies
Feb 15, 2011
I am currently using regular expression for VISA card validation from nopCommerce to validate Visa cards just before sending them to the payment processor. The problem is that it returns a false-positive with international credit cards; it returns "invalid number" for a valid international VISA card number.
Is there any way I can validate international credit cards? I would like to do some pre-validation before sending it to the payment processor, and my guess is that nopCommerce only works with US-based credit cards.
View 2 Replies
Jun 16, 2015
Is there away to get data (like phone number or read text file) from android using aspx when page is loading?
Like parameters with android user load page ?
View 1 Replies
Jun 9, 2010
I have asp.net apps I have written that might be useful running locally on a users machine. My question involves how practical or impractical this might be? In the past, we've written separate desktop and web user interfaces. But we find asp.net programming so much easier to develop and maintain than desktop (although that perhaps is mainly due to the fact that we control what operating system/environment it is being run on). But in any case, it seems it could be desireable to be able to install a personal web server on the users machine (like those that come with VS) so that the same exact asp.net app could be run locally thru a browser instead of distributing a separate desktop interface. We would need it to be a professional download/install that could be performed by the user without aid. Is this something that's done? Is it practical? Are there particular pitfalls to worry about? What personal web server would make sense that could be freely distributed?
View 3 Replies
Mar 17, 2010
I am working on personal Web starter kit for creating a personal webiste and i would like to know what are the terms and conditions of using Personal Web starter kit ?Do i have to mention on the website something like " Powered by personal Starter kit" or something like that ?Can i write Copyright by name of the person for whom i am creating the website ? knnow the Microsoft mentioned here about it : http://msdn.microsoft.com/en-us/cc533486.aspxi read that already but it is net very clear that anyone can use Personal Web starter kit as personal webiste or not, can anyone write copyright by (person name )
View 2 Replies
Jan 20, 2011
I need sql server personal edition 8,give me the link if any wn knows that.
Any website contains all sql softwares?
View 5 Replies