15,905,325 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by IshaqSalam (Top 6 by date)
IshaqSalam
21-Jan-16 3:34am
View
Oke.
Thanks SA :)
IshaqSalam
21-Jan-16 2:47am
View
thanks for your quick respons.
so, do you have suggestion, solution, clue or excample for my case
" i want to send an email by attaching an excel file from html table"
thanks SA :)
IshaqSalam
21-Jan-16 2:05am
View
yes, downloading to the client side.
do you think if it could?
if it can't how about downloading to server side with set destination in application folder?
My goal is i want to send an email by attaching an excel file from html table.
IshaqSalam
21-Jan-16 1:32am
View
The point is i want to change default destination downloaded file from "download" folder to the "C:\", and i want to set this by source code.
IshaqSalam
4-Jun-14 2:08am
View
I was try this, but it's still not work.
i can check some data in table, but when I was click edit comment, the error still come out.
the error says "A primary key field specified via the KeyFieldName property is not found in the underlying data source. Make sure the field name is spelled correctly. Pay attention to the character case."
please help me this problem,
I want to explain more detail about this problem, I Want to send Image, but how
IshaqSalam
19-Jun-13 1:27am
View
class Class2
{
public string Terbilang(Double angka)
{
string strAngka = null;
string strDiurai = null;
string Urai = null;
string Tbl1 = null;
string Tbl2 = null;
short x = 0;
short y = 0;
short z = 0;
string [] arrBelasan = {"SEPULUH ",
"SEBELAS ",
"DUA BELAS ",
"TIGA BELAS ",
"EMPAT BELAS ",
"LIMA BELAS ",
"ENAM BELAS ",
"TUJUH BELAS ",
"DELAPAN BELAS ",
"SEMBILAN BELAS "
};
dynamic [] arrSatuan = {
"DUA ",
"TIGA ",
"EMPAT ",
"LIMA ",
"ENAM ",
"TUJUH ",
"DELAPAN ",
"SEMBILAN "
};
angka = Math.Round(angka);
strAngka = (angka.ToString()).Trim();
while (x < strAngka.Length)
{
x += 1;
strDiurai = strAngka.Substring( x, 1);
y += short.Parse(strDiurai);
z = (short)((strAngka.Length) - x + 1);
if (short.Parse(strDiurai) == 1)
{
if ((z == 1 | z == 7 | z == 10 | z == 13))
{
Tbl1 = "SATU ";
}
else if ((z == 4))
{
if ((x == 1))
{
Tbl1 = "SE";
}
else
{
Tbl1 = "SATU ";
}
}
else if ((z == 2 | z == 5 | z == 8 | z == 11 | z == 14))
{
x += 1;
z = (short)((strAngka.Length) - x + 1);
Tbl2 = "";
Tbl1 = arrBelasan(Convert.ToInt32(strDiurai)); //<-- Error
}
else
{
Tbl1 = "SE";
}
}
else if (int.Parse(strDiurai) > 1 & int.Parse(strDiurai) < 10)
{
Tbl1 = arrSatuan(Int32.Parse(strDiurai) - 2 ); //<-- Error
}
else
{
Tbl1 = "";
}
if (int.Parse(strDiurai) > 0)
{
if ((z == 2 | z == 5 | z == 8 | z == 11 | z == 14))
{
Tbl2 = "PULUH ";
}
else if ((z == 3 | z == 6 | z == 9 | z == 12 | z == 15))
{
Tbl2 = "RATUS ";
}
else
{
Tbl2 = "";
}
}
else
{
Tbl2 = "";
}
if ((y > 0))
{
switch (z)
{
case 4:
Tbl2 += "RIBU ";
y = 0;
break;
case 7:
Tbl2 += "JUTA ";
y = 0;
break;
case 10:
Tbl2 += "MILYAR ";
y = 0;
break;
case 13:
Tbl2 += "TRILYUN ";
y = 0;
break;
}
}
Urai = Urai + Tbl1 + Tbl2;
}
return Urai + "RUPIAH";
}
Show More