15,902,636 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 hasithakaru (Top 10 by date)
hasithakaru
12-Jun-16 12:23pm
View
ALGORITHM
CHECKOUT()
STEP 1: Start
STEP 2: FINALISE PRODUCTS
STEP 3: INPUT local_adrs, pin, cntry, cntct_no
STEP 4: IF pin, cntry, cntct_no ARE NOT VERIFIED THEN GOTO STEP 3
STEP 5: IF MODE OF PAYMENT IS CARD THEN DO STEP 6 AND GOTO STEP 11 ELSE GOTO STEP 7
STEP 6: INPUT card_name, cardno, cvc, exp_date, pin
STEP 7: IF MODE OF PAYMENT IS VIA PAYPAL THEN DO STEP 8 AND GOTO STEP 11 ELSE GOTO STEP 9
STEP 8: INPUT paypal_id, paypal_pass
STEP 9: IF MODE OF PAYMENT IS COUPONS THEN GOTO STEP 10
STEP 10: INPUT coupon_no, coupon_name
STEP 11: IF DETAILS NOT VERIFIED THEN GOTO STEP 5
STEP 12: CUNDUCT TRANSACTION
STEP 13: PURCHASE CONFIRMATION EMAIL SEND TO CUTOMER AND ORDER NOTIFICATION EMAIL SENT TO SALES AND ORDER TABLE UPDATED
i HAVE DOUBT IN ADDING FOLLOWINGS ;
• Customer contact details have already been collected, including email address, and are stored in ViewState
• The shopping cart is available and stored in the ViewState
• The sales email address and payment gateway URL are defined in the appSettings
hasithakaru
11-Jun-16 11:56am
View
Ok thanks.WHat alterntive u recommand?
hasithakaru
11-Jun-16 11:51am
View
This is assignment question.So I need to answer for this
hasithakaru
11-Jun-16 11:50am
View
Deleted
protected void Submit(object sender, EventArgs e)
{
string connectionString = ConfigurationManager.ConnectionStrings["CustomerDB"].ConnectionString;
using (SqlCommand cmd = new SqlCommand("SELECT * FROM Customers WHERE CustomerId = '" + txtCustomerId.Text + "'"))
{
using (SqlConnection con = new SqlConnection(connectionString))
{
con.Open();
cmd.Connection = con;
CustomerGridView.DataSource = cmd.ExecuteNonQuery();
CustomerGridView.DataBind();
con.Close();
}
}
}
hasithakaru
11-Jun-16 11:49am
View
What is wrong with the following code? What alternatives would you recommend?
hasithakaru
13-Sep-12 3:42am
View
Hi,
Did you find the way of doing it? if so please publish the code.It's very helpful
hasithakaru
22-Feb-12 23:25pm
View
Thanks a lot Dhol Gaurav1.
hasithakaru
22-Feb-12 21:47pm
View
Hi,
Can you explain it further.The question is as follow.
7. Show details of employee hiredates and the date of their first payday. (Paydays occur on the last Friday of each month).
ENAME HIREDATE FIRSTPAYD
---------- --------- ---------
SMITH 17-DEC-80 26-DEC-80
ALLEN 20-FEB-81 27-FEB-81
WARD 22-FEB-81 27-FEB-81
JONES 02-APR-81 24-APR-81
MARTIN 28-SEP-81 25-SEP-81
BLAKE 01-MAY-81 29-MAY-81
CLARK 09-JUN-81 26-JUN-81
SCOTT 09-DEC-82 31-DEC-82
KING 17-NOV-81 27-NOV-81
TURNER 08-SEP-81 25-SEP-81
ADAMS 12-JAN-83 28-JAN-83
JAMES 03-DEC-81 25-DEC-81
FORD 03-DEC-81 25-DEC-81
MILLER 23-JAN-82 29-JAN-82
hasithakaru
11-Oct-11 7:56am
View
yeah.....i did like so.but it couldn't work.Tbe whole code is like below
public partial class frmCashBeniToSalGrade : Form
{
UI ui = new UI();
BLLCashBeniToSalGrade bll = new BLLCashBeniToSalGrade();
public frmCashBeniToSalGrade()
{
InitializeComponent();
}
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void frmCashBeniToSalGrade_Load(object sender, EventArgs e)
{
try
{
DataSet ds = new DataSet();
ds = bll.Get_Salary_Band();
ui.bindDatasetToCombo(cmbSalGrade, "SALBAN_NAME", "SALBAN_CODE", ds);
cmbSalGrade.Text = "---Select Salary Grade---";
DataSet ds1 = new DataSet();
ds1 = bll.Get_Cash_Benifits();
dataGridView1.DataSource = ds1;
dataGridView1.DataMember = "HS_HR_CASH_BENEFIT";
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void groupBox1_Enter(object sender, EventArgs e)
{
}
private void cmbSalGrade_SelectedIndexChanged(object sender, EventArgs e)
{
DataSet ds2 = new DataSet();
ds2 = bll.Get_Cash_Benifits_Assigned(cmbSalGrade.SelectedValue.ToString());
dataGridView2.DataSource = ds2;
dataGridView2.DataMember = "HS_HR_CASHBEN_SALARYBAND";
}
private void btnassign_Click(object sender, EventArgs e)
{
for (int i = 0; i < dataGridView1.Rows.Count; i++)
{
dataGridView2.Rows.Add(dataGridView1.Rows[i]);
}
}
}
hasithakaru
1-Oct-11 2:38am
View
Thanks a lot....Have a nice day.....:)
Show More