|
Respected Sir, I want to send an sms through ASP.Net Without any Gateways . So please Send me the Source code to send free Sms....
Thanking you
Yours faithfully
(SharathMadhav)
|
|
|
|
|
|
Hi ,
Can we write a pure JSON REST service using classic ASP ?. My client requirement is to write it in classic ASP not .net. Could you please help.
Regards
Subin
|
|
|
|
|
Subin Mavunkal wrote: My client requirement is to write it in classic ASP not .net.
Unless they've given you a very good reason for that requirement, my suggestion would be to find another client.
"Classic" ASP is a dead technology. It's been dead for 12 years. Any client who demands that you write your code in a dead technology is not someone you want to deal with.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I was thinking the same. But I am just an employee here and the decision makers are non-technical guys ![Cry | :((](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_cry.gif)
|
|
|
|
|
|
hi all,
I am using a GridView in my aspx page I want make the fields editable or non editable depending upon a field in page Code behind and another thing is that the bound column is also not getting values that I am assigning for code behind. Can anybody please look into my code and let me know, where am I doing mistake.
Please help me by giving suggestion where am I doing mistake or by showing any link for example. I am also researching regarding this. Any kind of help is appreciated. thanks in advance. For assigning values both the "" and '' aren't working I don't know why?
Here is my aspx html code:
<asp:GridView ID="gv1" runat="server" AutoGenerateColumns="False"
OnRowEditing="gv1_RowEditing" OnRowCancelingEdit="gv1_RowCancelingEdit"
OnRowUpdating="gv1_RowUpdating" CellPadding="4" ForeColor="#333333">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<Columns>
<asp:CommandField ShowEditButton="True" />
<asp:BoundField DataField="RecipientAgency" HeaderText="Recipient Agency" InsertVisible="False"
ReadOnly="True" SortExpression="RecipientAgency" />
<asp:TemplateField HeaderText="Carry Over Year" InsertVisible="False" SortExpression="CarryOverYear">
<EditItemTemplate>
<asp:TextBox ID="txtCarryOverYear" runat="server" Visible="<%# IsInEditMode %>" Text='<%# Bind("CarryOverYear") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblCarryOverYear" runat="server" Visible='<%# !(bool) IsInEditMode %>' Text='<%# Bind("CarryOverYear") %>'></asp:Label>
<asp:TextBox ID="txtCarryOverYear" runat="server" Visible="<%# IsInEditMode %>" Text='<%# Bind("CarryOverYear") %>'></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Diverted Year" InsertVisible="False" SortExpression="DivertedYear">
<EditItemTemplate>
<asp:TextBox ID="txtDivertedYear" runat="server" Visible='<%# IsInEditMode %>' Text='<%# Bind("DivertedYear") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblDivertedYear" runat="server" Visible='<%# !(bool) IsInEditMode %>' Text='<%# Bind("DivertedYear") %>'></asp:Label>
<asp:TextBox ID="txtDivertedYear" runat="server" Visible='<%# IsInEditMode %>' Text='<%# Bind("DivertedYear") %>'></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Jul" SortExpression="Jul">
<EditItemTemplate>
<asp:TextBox ID="txtJul" runat="server" Visible='<%# IsInEditMode %>' Text='<%# Bind("Jul") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblJul" runat="server" Visible='<%# !(bool) IsInEditMode %>' Text='<%# Bind("Jul") %>'></asp:Label>
<asp:TextBox ID="txtJul" runat="server" Visible='<%# IsInEditMode %>' Text='<%# Bind("Jul") %>'></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
And Here is my code behind code that tries to manipulate the gridview appearance and values:
public partial class MonthlyPerformance : System.Web.UI.Page
{
protected bool IsInEditMode=false;
protected void gv1_RowEditing(object sender, GridViewEditEventArgs e)
{
IsInEditMode = true;
var temp = ((TextBox)gv1.Rows[e.NewEditIndex].FindControl("txtCarryOverYear"));
var t=temp.Visible;
}
protected void gv1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
IsInEditMode = false;
e.Cancel = true;
}
protected void Page_Load(object sender, EventArgs e)
{
LoadList();
}
protected void gv1_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
}
private void LoadList()
{
string strSQL;
DataSet ds = null;
IDataReader dr = null;
double Total = 0;
DataSet dsByHand = new DataSet();
dsByHand.Tables.Add();
dsByHand.Tables[0].Columns.Add("RecipientAgency");
dsByHand.Tables[0].Columns.Add("CarryOverYear");
dsByHand.Tables[0].Columns.Add("DivertedYear");
dsByHand.Tables[0].Columns.Add("Jul");
dsByHand.Tables[0].Columns.Add("Aug");
dsByHand.Tables[0].Columns.Add("Sep");
dsByHand.Tables[0].Columns.Add("Oct");
dsByHand.Tables[0].Columns.Add("Nov");
dsByHand.Tables[0].Columns.Add("Dec");
dsByHand.Tables[0].Columns.Add("Jan");
dsByHand.Tables[0].Columns.Add("Feb");
dsByHand.Tables[0].Columns.Add("Mar");
dsByHand.Tables[0].Columns.Add("Apr");
dsByHand.Tables[0].Columns.Add("May");
dsByHand.Tables[0].Columns.Add("Jun");
dsByHand.Tables[0].Columns.Add("TotalProductProduced");
dsByHand.Tables[0].Columns.Add("TransfToState");
dsByHand.Tables[0].Columns.Add("Adjustment");
dsByHand.Tables[0].Columns.Add("EndingBalance");
var tempr = dsByHand.Tables[0].NewRow();
tempr.ItemArray[0] = "Test Temp";
dsByHand.Tables[0].Rows.Add(tempr);
gv1.DataSource = dsByHand.Tables[0];
gv1.AutoGenerateColumns = false;
gv1.DataBind();
}
}
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
hi,
dsByHand.Tables[0].Columns.Add("RecipientAgency");
dsByHand.Tables[0].Columns.Add("CarryOverYear");
dsByHand.Tables[0].Columns.Add("DivertedYear");
dsByHand.Tables[0].Columns.Add("Jul");
dsByHand.Tables[0].Columns.Add("Aug");
dsByHand.Tables[0].Columns.Add("Sep");
dsByHand.Tables[0].Columns.Add("Oct");
dsByHand.Tables[0].Columns.Add("Nov");
dsByHand.Tables[0].Columns.Add("Dec");
dsByHand.Tables[0].Columns.Add("Jan");
dsByHand.Tables[0].Columns.Add("Feb");
dsByHand.Tables[0].Columns.Add("Mar");
dsByHand.Tables[0].Columns.Add("Apr");
dsByHand.Tables[0].Columns.Add("May");
dsByHand.Tables[0].Columns.Add("Jun");
dsByHand.Tables[0].Columns.Add("TotalProductProduced");
dsByHand.Tables[0].Columns.Add("TransfToState");
dsByHand.Tables[0].Columns.Add("Adjustment");
dsByHand.Tables[0].Columns.Add("EndingBalance");
here you are adding the column name only.It doesn't contains any values in it.you cannot edit without the value
refer this:
Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List[^]
To learn all there is to know. I know I'll be disappointed one day, but I've made a good start, and the eventual disappointment is likely to be brief.
-Roger Wright
|
|
|
|
|
Hi Friends,
I'm new to paypal, one of my application is integrated with paypal(testing site ie, sandbox). I need to use the actual live URL in the application with new live account.
For creating new account: Do i need to create directly business account or developer account and then business account?
|
|
|
|
|
You have your customer open a PayPal account, and then they give you the login credentials to transmit a payment processing request.
Your customer will have to agree to the terms and conditions of the account, and enter their checking account information for fee's to be deducted from, and money to be deposited to. Plus they must comply to the pay pal version of morality as well, no porn, guns, pawn shops, bullets, the list goes on an on.
You test your code in your sandbox that you signed up for.
|
|
|
|
|
|
i've tested my site with sandbox url, it is working fine.
Now client wants to create an account. Which type of account he has to create?
Developer or Business?
|
|
|
|
|
You want a business account. That way they can actually process real transactions.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
My client has commissioned a project to create a custom eshop. This project has a lot of customization to be done if i use a ready solution (Nopcommerce etc). Also the list of products will be great. Which platform do you recommend for such a project? Basically I want to do customization of both the frontend and the backend.
Thank you
|
|
|
|
|
|
I have experience with asp.net, but not with ecommerce solution. Performance of nopcommerce?
|
|
|
|
|
Depends on what your selling and what your volume is, how many employees will operate the website, etc.
Plus what technology you like working with.
Most companies use Magento which is PHP, but I've never really seen anybody make serious money with it. There are lots of program modules for it that you can buy.
Now you have shipping to be concerned with, do you want real time rate quotes with 92% accuracy, then you have to consider rural charge of $5.00 extra to drive out to the middle of the woods, if the shipping address is not an exact match, then a $3.50 correction charge is applied, taking a base rate of lets say $7.45 to $15.95 but you only charged $5.00 for it.
Plus payment processing of lets say $15.00 a month for the payment gateway, plus the merchant account monthly fee, the percentage rate charged. gets quite expansion. The best rate deals are using First Merchant or Chase Payment Tech, so now you need a program that supports the best rates.
People want inventory as well, because they don't have time to look in the warehouse to see if they have it. Also lots of people want remote fulfillment, where orders are transmitted to a remote warehouse and dropped shipped.
I can type about this all day long now, but you really need to gather more information on this before you just select a pre-written program to modify, it may take longer than you think to complete the modifications.
If you have any more questions, feel free to ask me. I've been doing this for over 11 years now.
So what are you selling?
|
|
|
|
|
First of all thank you for your information. My client want to develop an e-commerce system like as ebay. He want a site which anybody will register and sell their products (everyone has their own warehouse). So it's complicated website.
|
|
|
|
|
That's a lot of planning first.
If it was me doing the job, before I wrote a single line of code or choose a package, I would think about if the concept is really EBay style, or if that is just a general reference.
[EBAY Style]
I would map out exactly how people pay, where the money goes first, and how to distribute the money back to the seller. You may have to pay the seller after 10 days for the money to clear, and charge 3X the initial fee to make up for 2 transfers. I have EBay customers tell me that the total cost now is about 38% of the selling price.
I would then create a shipping account, in which everybody that sells uses the same shipper number, all freight is prepaid, and pass the shipping charges back to the seller. The shipping label is downloaded from the website and stuck to the package.
EBay is different, for they accept multiple currencies, but pay the seller in PayPal currency, which is technically not US Dollars. Then they charge you 6% to convert the PayPal currency to the currency of your preference. They also have unified shipping, in which all sellers can use the same EBay account to get a group rate to lower the shipping cost to the customer.
[GunBrokder Style]
Or run it like GunBroker.com, in which sellers list the items, and pay 8% of the selling price within 30 days after the item sells. It's pretty slick, because all you do is provide the service and collect the fee's, and you don't have to handle the money.
So to sell an item, you have to list it first, enter your credit card info, buy an auction ad, design it and so forth. The seller runs the auction, if a customer makes a purchase, the website knows about it, and produces a charge to the seller for 8%, or the seller can go to account setting and make the payment.
The seller then collects the payment first usually US Postal Money Order, and ships the item when the check clears. The seller is responsible for not being scammed, and packing the item so it doesn't get damaged. Reputation comments control fraud and bad service.
You make upfront money off the AD upgrades, and get rewarded on the back end after the sale.
There both custom jobs, I don't know of a package that provides these levels of service.
|
|
|
|
|
you can use asp.net, html, css, jquery and sql as back-end
|
|
|
|
|
Of course. But i'm thinking if customize nop commerce(or another .net ecommerce system) or create new e-commerce(like rediscovering the wheel).
|
|
|
|
|
try out http://virtocommerce.com, open source platform for building various applications including eshops
|
|
|
|
|
|
hi,
how huge data processing in entity framework and where the data stored in mvc.
|
|
|
|
|
As an idea - huge data processing not inside the database is not good!
However you provided not enough information about your problem - so no rally valuable answer can be found.
Please elaborate on the kind of processing and on the 'huge' data real size...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|