C# - Super Fuzzy Name Checking?
Jul 20, 2010
I'm working on some stuff for an in-house CRM. The company's current frontend allows for lots of duplicates. I'm trying to stop end-users from putting in the same person because they searched for 'Bill Johnson' and not 'William Johnson.' So the user will put in some information about their new customer and we'll find the similar names (including fuzzy names) and match them against what is already in our database and ask if they meant those things... Does such a database or technology exist?
View 6 Replies
Similar Messages:
Oct 21, 2010
On admin side how to create first secure admin account when there is no users/admin exists without manuall entry ?On any website how we can create Super admin account who will handle all the things? Except the entry in db manually. I c# or vb.net
View 1 Replies
Feb 12, 2010
I have a number of pages
<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="MyPage.aspx.cs" Inherits="MyPage " MasterPageFile="~/Site.master" %>
<asp:Content ContentPlaceHolderID="commonForm" runat="server">
<asp:Table runat="server">
[Code]....
Why neither method can't find a control?
View 3 Replies
Dec 6, 2010
I'm trying to find out if there is a way to have a action link that can be view(!) ( and use )Only by logged user with super Permissions?I would like to have a delete action link but I do not want all user to view this link (or to use)About the use I know I can use [Authorize] and declare the user but can I also hide the action link in the page?Or do I need (just for this to use area ?)
View 4 Replies
Feb 7, 2011
I am designing an ASP.NET web application (.NET 4.0) which basically has a page that should interact with the code behind every 1-2 seconds (Using Client callbacks or PageMethods via ScriptManager or jQuery.ajax) It'll be hosted on an intranet, so a 1-2 second refresh rate is kind of reasonable.
How can I make the page to access the web service/pagemthod in the code behind in a timeply manner (e.g. every 1 second). Should I use a javascript timer (I'm not familiar with javascrip very much)?
Although the site is hosted on an intranet, but I still need to implement a good approach to reach the desired refresh rate. the amount of data being transfered is about 1KB in each interaction. What are your recommendations on my design regarding this? (using callbacks or ScriptManager or jQuery.ajax,...
View 3 Replies
May 25, 2010
I ultimately need to show countries in one drop down then states/provinces drop down of the previously selected drop down. I'm sure everyone has seen this many times. My page shows the countries but does not show values in the province/states drop down. It's as if the webservice is never run. I've tried removing and adding the ajaxtoolkit reference. The tableadaters run simple working sql code. I'm really at a lose here.
default.aspx:
...
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
...
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<%--Dropdown to display countries--%>
Country:<asp:DropDownList ID="ddlCountries" runat="server" DataSourceID="ods_Countries"
DataTextField="country" DataValueField="abbreviation">
</asp:DropDownList>
<%--data source for the country drop down list--%>
<asp:ObjectDataSource ID="ods_Countries" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetAllCountries" TypeName="countryDataSetTableAdapters.CountriesTableAdapter">
</asp:ObjectDataSource>....................................
View 8 Replies
Jan 24, 2011
Looking for advice on how to troubleshoot an application (not something I wrote) that is on the old 2.0 Framework. It acts "crazy" sometimes when selecting an item from a drop down list. Sometimes the page will reload like it should on the post back with the new data, while othertimes, it just throws a Page Not Found error. What's the best way to troubleshoot and eliminate the various variables of IIS6, 2.0 Framework, SQL Server, the VirtualMachine, etc.
View 3 Replies
Aug 22, 2010
I have a asp.net web app that needs vfpoledb dll installed on the server to work. I wanted to check to see if this dll is installed and if it isn't display a message and link to install it. I have no idea how to go about this. Can someone give me an example of how to do this check in code for an asp.net C# app?
View 1 Replies
Jan 8, 2011
Lets say there's a table Table1 with Primary key as "MainID" and this MainID is being used as a Foreign key in many tables.
Now when I try and delete a record from Table1 who's MainID as foreign key is being used in some child tables, then it throws this exception that "Foreign key conflict n stuff"..
Now I want to design my Delete Strored procedure in such a way that first of all checks ALL the child t ables that have that foreign key column "MainID" and if MainID from Table1 is being used in any of the child tables it should return 0 . Based on this 0 value I want an alert box to show that will say "Still in use or watever" and wont let the user delete that record unless ALL the records in child tables have been deleted that were using that mainID from table1.
I can't use ON DELETE CASCADE. I want the user to delete child table records manually one by one. Only after child table records using the MainID have been deleted that the user can delete record from Table1
View 1 Replies
Jan 28, 2010
protected void rptNavigation_ItemDataBound(object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e){
if (!((e.Item.ItemType == ListItemType.AlternatingItem) || (e.Item.ItemType == ListItemType.Item)))
{return;
}string Name = string.Empty;
if (IsDBNull(e.Item.DataItem["FullName"])) {
Name = String.Empty;}
else {Name = (string)(e.Item.DataItem["FullName"]);}
Literal ltlLiteral = (Literal)(e.Item.FindControl("ltlLiteral"));
ltlLiteral.Text = Name.ToString();
I get error for IsDbNull - Error 1 The name 'IsDBNull' does not exist in the current context. What's the best way to check for null values returned from db? also I get errors on both lines where (e.Item.FindControl(ltlLiteral")); is present ERror: Cannot apply indexing with [] to an expression of type 'object'
View 12 Replies
Jan 23, 2011
I am making a class with an optional paramiter which will be a List<> paramiter. I want to set it's default value to null so I have used List<Params> Param = null. What am not 100% sure is checking the list to see if it was set to null or not. Is using:
if (Param == null)
View 4 Replies
Sep 14, 2010
.NET noob here (as in I know next to nothing, I'm trying to pick up some of the scraps left by my developer). Ok, I am getting this error on a number of my .aspx pages: Error while checking url '/': Key cannot be null. Parameter name: key Interestingly, I get this on my homepage on which the only .NET code is in the form of two includes, e.g: <% Response.WriteFile("/includes/footer.aspx") %> These includes in themselves only contain HTML, so I assume the issue can only be related to these or a configuration issue?
View 4 Replies
Apr 7, 2010
I have an application where I use the AJAX Tabpanel. It works 99 times out of 100. But sometimes a JavaScript error appears on the site saying that the Tabpanel cannot be found.
What I want is to check the site for JS errors and if JS errors appear then I will reload the site. In Pseudo-code:
Code:
If noJavaScriptErrorsAppear then
Ok
Else
reloadTheSite
Endif
Is that possible to implement in the serverside code e.g. in the page events?
View 4 Replies
Aug 5, 2010
I'm looking for some code to do a page rank check on a given domain provided I pass it a URL string in ASP.net. I have been unable to find anything and I have been searching for days.
View 2 Replies
Dec 22, 2010
using vb.net 2005.I am reading an image using a FileStream object and wondering this: is there a way that I can check what the dimensions are of a file before I read it using the FileStream object? the code I have now is like this:
[Code]....
View 4 Replies
Mar 10, 2010
i have a on my project a web forum for new users to register and another forum for registerd users to update there details my question is how do i check when the update or the new user insert occurs
if the mail address they use is not alredy used by another user ?
View 4 Replies
Jan 18, 2011
I want to write an ASP page which will accept a set of parameters (lets call it Page A), and will then launch other ASP pages, feeding parameters to those pages as required (call these Page B and Page C).What I want to do though is make sure that Page A will only launch Page B if Page B isn't already open. I also want to perform the same check before Page A launches Page C.Is there an easy way to do this using ASP?
View 4 Replies
Jan 6, 2010
I have a program that parser html and collecting urls. The problem is when checking for duplicates before I add them to an arraylist is that I cannot distinguish between types of the following format:
http://forums.asp.net/AddPost.aspx?ForumID=15
http://forums.asp.net/AddPost.aspx?ForumID=15/helloworld.asp
http://forums.asp.net/AddPost.aspx?ForumID=15/helloworld.asp/byeworld.html
Now if I captured the first url, how can I avoid collecting the next few since they are not technically duplicates.
View 2 Replies
Jun 1, 2010
I am creating a DropDownList at runtime.How do I check if a particular value exists (code snippets in VB please)?
View 2 Replies
Aug 6, 2010
This is my base class for all pages except EndSession.aspx
override protected void OnInit(EventArgs e) {
base.OnInit(e);
if (Context.Session != null)
{
//check the IsNewSession value, this will tell us if the session has been reset.
[Code]....
But on EndSession I try to navigate back to, say default.aspx, and then this code above just redirects be back to EndSession.aspx.
So for better clarification:
Step 1: Go to mypage.aspx
Step 2: Wait for timeout
Step 3: try to navigate away
Step 4: get redirected to EndSession.aspx
Step 5: try to navigate away
Step 6: GoTo set 4
Setp 6 should be actually being able to navigate away...
View 1 Replies
Jan 12, 2010
I need to check the username availability like twitter.com (https://twitter.com/signup) in asp.net/c# 3.5 with AJAX concept. How to do this?
View 2 Replies
Feb 10, 2011
Is it best practice to check whether a value is null coming from a database even though there are constraints on the column which disallow nulls.
View 3 Replies
Oct 7, 2011
To detect if a mobile device is browsing to the website, I found I could do something like this:
Code:
Request.UserAgent.ToString().ToLower().Contains("droid"))
And I would need to check for other values such as blackberry, iphone, etc. My question is that I assume I would need to make the home page an aspx page right? Right now it is an html page so I would need an aspx page to check and redirect according to the value?How many people use this method to detect mobile? I have already tested the IsMobileDevice method and that was not correct with many devices.
View 2 Replies
Mar 16, 2010
I know I can use Request.Browser.IsMobileDevice.
But does anyone know how it works, and if it is reliable and up to date?
View 6 Replies
May 17, 2010
I have a sign up page in my website where the user needs to enter his email id.Now i want to check whether the email id entered by the user actually exists or not...
View 18 Replies