1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

C# Asp.Net Big Help Need

Discussion in 'C#' started by prabatha, Oct 2, 2011.

  1. #1
    Dear Friends,
    SEMrush
    this site done for my campus assignment.friends my site is c# asp.net site. this is the shoping cart.in the cheakout page there is a table that load cart item data that people order.there show product name price and qty.also there is drop down menu so we can select payment method.i need is when click contiue button need to save that page details in micorsoft sql server database table..

    i need to save flowing deatails in that table

    userid
    proid
    date(curent pc date)
    qty
    paymtd



    database table name is userbuypro.

    please help me..
     
    prabatha, Oct 2, 2011 IP
    SEMrush
  2. sarahk

    sarahk iTamer Staff

    Messages:
    25,335
    Likes Received:
    3,478
    Best Answers:
    101
    Trophy Points:
    665
    #2
    Maybe its time to confess to your tutors that you can't do the work?

    Can you get extra tutorials or assistance? Skipping a step now will only make it harder in the long run.
     
    sarahk, Oct 2, 2011 IP
  3. bibinsmk

    bibinsmk Active Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    What is the actual problem. You google to find the code to insert data
     
    bibinsmk, Oct 7, 2011 IP
  4. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #4
    Go to http://www.asp.net/mvc - they have useful tutorial videos.

    In any case, it really depends on how you'd wanna do it. There are tons of ways to insert data to DB. The easiest way I could think of is to just use existing controls... so you basically just grab and drop the data table control (I think) and everything should work magically (assuming that you've configured the DB settings in your web.config file).
     
    Rainulf, Oct 11, 2011 IP
  5. geekstrack

    geekstrack Member

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    just make connection with sql and insert the data..
     
    geekstrack, Feb 23, 2012 IP
  6. Andrew James

    Andrew James Member

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    Andrew James, Jul 2, 2012 IP