How To Check Identity Card Number
Nov 3, 2010I doing a system which need to check Identity Card No. (Malaysia). Example: 880505-10-5633
how to check whether it is valid?
I doing a system which need to check Identity Card No. (Malaysia). Example: 880505-10-5633
how to check whether it is valid?
I am developing a asp.net application and i am using SQL Server 2008. I took a IDENTITY column as Record_ID for detail table where i will have trillions of records per year. So just want to ask whats the largest number record id (identity) column can hold and in ASP.NET which data type i should use to handle record id as i am using this id as a reference to update the table data. I don't want to end up being trapped some day.
View 1 RepliesI have an input field on a webpage that contains a credit-card number. What is the best way of preventing the browser from caching this value?
Any solution needs to work on a large selection of browsers.
how can secure credit card number in database
using Encryption technique. using stored procedure instead of inline query and what more....
How can I trap if the user input an invalid credit card? How can I detect it?
View 2 RepliesThe scenario is that I wanna insert a record to the database via INSERT query and I need to user the identity number of this record in the INSERT query.
But I don't know how to achieve this.
Here is my table structure and code for your better understanding.
There are three columns in the Table: categoryID, categoryName, categoryPath. I need the path based on the categoryID which is an identity int column.
Now I used this code to do INSERT:
[Code]....
I have a List of integers
List<int> LI = new List<int>();
i wants check whether a particular number exists in the list.if exists do a database updation else do a database insert
foreach (int IT in LI)
{
}
can i do this inside the foreach loop or if not possible how to achieve this?????
It's Convert mixed letter to Number worked. I use sametimes russian letter с and е program must check if е then convert to 5 if с then convert to 3.
View 1 Replies public string ACtivationKey()
{
string allowedChars = "";
allowedChars = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,";
allowedChars += "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,";
allowedChars += "1,2,3,4,5,6,7,8,9,0";
[Code] ....
I am generating a new order reference id in a class Called GeneratePdf.cs
I use it as
GeneratePdf gp = new GeneratePdf();
string orderunique = "ORD-" + gp.ACtivationKey();
var uniqness = db.OrdersMasters.Where(x => x.OrderRefNumber == orderunique).Select(x => x.OrderRefNumber).Count();
I want to run a check if the reference number is not present in database. if its present generate new ...
I have the following regex to check if a number with 11 digits are entered
^[0-9]{11}$
Now I instead want to check if the number has 11-14 digits, how should I change my regex?
I would like to use validation to check the length of a textbox entry (character length) when the textbox loses focus. how I can do this?
View 41 RepliesIf I have a checkboxlist where I insert a clients clientid and a number of interests they check off. How do I then update that later when they check off additional interests. The insert tries to insert the original ones as well as the new ones. This is a violation of the Primary key and the statement is terminated.
Is there a way to skip some or do I need to run a delete first and remove the existing interests for that client and then do a new insert? When the page opens the checkboxlist is populated with the previous interests that were inserted for the client. The user can then check additional interests for the client and then click a button to do the insert.
[Code]....
i want to consume API but not understanding how, I have some things in chunks but not understandable how to use this.
url parameter from text box = 9999999999,8888888888
End Point Defination
GET : []URL
REQQUEST Example :
// These code snippets use an open-source library. http://unirest.io/net Task<HttpResponse<MyClass>> response = Unirest.get("https://dndcheck.p.mashape.com/index.php?mobilenos=9999999999%2C8888888888") .header("X-Mashape-Key", "pNbCJwwIRomshADW9uYFkiP5hgz7p10710KjsnTsk9Kf07qOiw") .asJson();
RESPONSE BODY
This is the response from the service
[ { "mobilenumber": "9999999999", "DND_status": "on", "activation_date": "12-02-2013 00:40", "current_preference": "0", "preference_history": [ { "preference_date": "11-02-2013", "preference": "1#3#6#7", "status": "Active" }, { "preference_date": "07-02-2013", "preference": "0", "status": "Active" }, { "preference_date": "31-01-2013", "preference": "0", "status": "Active" }, { "preference_date": "28-01-2013", "preference": "0",
[CODE]
Using C#, how can I check the total number of rows returned from a database when using a Repeater? The reason I need to check is I need to alter the presentation of the data when there is only 1 row returned.
View 9 RepliesI am using the asp.net and framework 2.0 with Ajax enable web.i have a text box and when user will enter "a" or number in this will search the name started from "a" character or number if he or she enter the number basically we can say live-search.
Employee search: Textbox.In this text box she/he will enter the first character of name or first number of employeeno and according to the a character name will search in list.
I have a table "RANGES" with the following columns
LowRange as int
HighRange as int
with the data similar to below
select * from Ranges
LowRange HighRange
1 100
101 200
201 300
.
.
.
901 1000
And another table "infoDetails" with the following columns
Range as INT
amount as money
with the data similar to below
select * from infoDetails
Range Amount
23 34.00
235 44.00
345 34.00
678 100.00
555 100.00
530 100.00
510 100.00
I need one report with the following format without cursor.
LowRange HighRange Count Amount
1 100 1 34.00
101 200 0 0.00
.
.
501 600 3 300.00
601 700 1 100.00
Is it possible to know network card id of the user host computer from where the request is coming like IP address. I am interesting to know if it is possible at IIS or asp.net level or any other possible way of knowing it?
View 2 RepliesI have an application where I need to be able to load files from an SDCard inserted in a client pc and have the files loaded to the server. I had the processing working just fine when I was executing it locally, but when I try to run it on a server, of course it would not work, since the card was not available to the server.
I found some info on some of the forums about sharing the card on the client and then mapping the share on the server. I did this, but for some reason, I cannot see the mapped drive. I tried several variatioins of the DriveInfo.GetDrives method and while it shows the drives that are local, it does not show the network drives.
If there is a better way to do this, I am open to changing my direction.
I looked at this site: [URL]
But does not check for all the cards, in addition, my credit card and write the force that does not exist.
How do you use to verify credit cards, which is the best?
i have a web app.. and need to process credit card payments. recommend the best payment gateway provider that is easy to implement?
View 3 Repliesi want to stream TV channel to my family and few friends at another country over internet. I dont know what to do. But i have a rough idea that to capture the channel with a TV card and then broadcast it over internet.This means that i'm not the only user, it's a multiuser broadcast.
View 4 RepliesIs there any way to send a business card to a mobile phone using C#? I have an application in j2me which requires some set of data corresponding to some contacts so I want to send the business card of that contact via my server
Business Card is a type of special sms which contains the contact details of any person
I have system with TV tuner card. In my project, I want to stream one of the channel from my system to other users in my LAN.
I don't have any idea how to stream TV channel from TV Tuner Card.
I want to use ASP.NET with C#.
I am assigned to create a credit card application that follow PCI Compliance. I know that there are documenation in PCI Compliance website about what kind of thing need to be followed. Is there anybody has somekind of sample code about ASP.NET Credit Card Processing?
View 2 RepliesWe need to validate the credit card expiry date using C#?
How to convert String("MM/DDDD" : "07/2011") to Datetime and compare with current date?