Click here to Skip to main content
15,894,362 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Checkbox in DataGrid.Plz help its urgent. Pin
_AK_25-Jun-06 19:37
_AK_25-Jun-06 19:37 
GeneralRe: Checkbox in DataGrid.Plz help its urgent. Pin
varshavmane25-Jun-06 21:22
varshavmane25-Jun-06 21:22 
GeneralRe: Checkbox in DataGrid.Plz help its urgent. Pin
nabeelkhan25-Jun-06 22:23
nabeelkhan25-Jun-06 22:23 
GeneralRe: Checkbox in DataGrid.Plz help its urgent. Pin
_AK_25-Jun-06 22:29
_AK_25-Jun-06 22:29 
GeneralRe: Checkbox in DataGrid.Plz help its urgent. Pin
varshavmane26-Jun-06 1:09
varshavmane26-Jun-06 1:09 
QuestionCredit card Processing Pin
sparkling star25-Jun-06 19:01
sparkling star25-Jun-06 19:01 
AnswerRe: Credit card Processing Pin
minhpc_bk26-Jun-06 0:10
minhpc_bk26-Jun-06 0:10 
AnswerRe: Credit card Processing Pin
cloudking1196629-Jun-06 1:30
cloudking1196629-Jun-06 1:30 
/* ================================================================
FUNCTION: isCreditCard(st)

INPUT: st - a string representing a credit card number

RETURNS: true, if the credit card number passes the Luhn Mod-10
test.
false, otherwise
================================================================ */

function isCreditCard(st) {
// Encoding only works on cards with less than 19 digits
if (st.length > 19)
return (false);

sum = 0; mul = 1; l = st.length;
for (i = 0; i < l; i++) {
digit = st.substring(l-i-1,l-i);
tproduct = parseInt(digit ,10)*mul;
if (tproduct >= 10)
sum += (tproduct % 10) + 1;
else
sum += tproduct;
if (mul == 1)
mul++;
else
mul--;
}
// Uncomment the following line to help create credit card numbers
// 1. Create a dummy number with a 0 as the last digit
// 2. Examine the sum written out
// 3. Replace the last digit with the difference between the sum and
// the next multiple of 10.

// document.writeln("
Sum = ",sum,"
");
// alert("Sum = " + sum);

if ((sum % 10) == 0)
return (true);
else
return (false);

} // END FUNCTION isCreditCard()

------------------------------------------
Boss asked me to Develop in "Java" or "Better"
So Developed in .NET
GeneralRe: Credit card Processing Pin
sparkling star29-Jun-06 2:03
sparkling star29-Jun-06 2:03 
QuestionNewbie needs help with 2 simple questions Pin
Infernojericho25-Jun-06 18:44
Infernojericho25-Jun-06 18:44 
AnswerRe: Newbie needs help with 2 simple questions Pin
swilly126-Jun-06 8:46
swilly126-Jun-06 8:46 
Questionlogin in sharepoint with asp.net script Pin
ritesh4web25-Jun-06 18:32
ritesh4web25-Jun-06 18:32 
Questiontree view control Pin
shantsuraj25-Jun-06 18:29
shantsuraj25-Jun-06 18:29 
AnswerRe: tree view control Pin
rajmani25-Jun-06 20:45
rajmani25-Jun-06 20:45 
QuestionIsNumeric Pin
Uma Kameswari25-Jun-06 18:07
Uma Kameswari25-Jun-06 18:07 
AnswerRe: IsNumeric Pin
Aurelius166427-Jun-06 14:02
Aurelius166427-Jun-06 14:02 
Question"bubble event" Pin
ravikiranreddydharmannagari25-Jun-06 17:58
ravikiranreddydharmannagari25-Jun-06 17:58 
QuestionCreate A Open file Dialog In ASP 3.0 !!! Pin
HatakeKaKaShi25-Jun-06 15:32
HatakeKaKaShi25-Jun-06 15:32 
QuestionASP to COM HOW TO? Pin
Dave_Roach25-Jun-06 14:41
Dave_Roach25-Jun-06 14:41 
Questionbrowser within an asp.net page Pin
oceanexplorer25-Jun-06 9:33
oceanexplorer25-Jun-06 9:33 
AnswerRe: browser within an asp.net page Pin
swilly126-Jun-06 8:26
swilly126-Jun-06 8:26 
QuestionDot Net Screen Scrapping Error Pin
Dot Net25-Jun-06 8:56
Dot Net25-Jun-06 8:56 
Questionhey guys any good videos abt session & application state ? Pin
Mohammed Amine25-Jun-06 7:17
Mohammed Amine25-Jun-06 7:17 
Questioncan we close the application with code ? [modified] Pin
Mohammed Amine25-Jun-06 7:13
Mohammed Amine25-Jun-06 7:13 
Questionhelp me guys to know how to handle a textbox_changed event Pin
Mohammed Amine25-Jun-06 7:10
Mohammed Amine25-Jun-06 7:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.