Results 1 to 2 of 2

Thread: data manipulation

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2004
    Location
    Orlando
    Posts
    30

    data manipulation

    I would like to make a simple query.

    I have a dropdownlist and two text boxes. How can I query my sql server db using those 3 variables as the (where) criteria so that I can display the (select) part of it in a datagrid.

    Therefore I need to connect to my db.
    make the Select From Where Statement
    and then Bind all that info to a datagrid.

    Any help and code examples will be so very much appreciated.
    Or If you can let me know what book offers how to do form (data manipulation) using a sql server for your connections. Problem with the books I have is that they offer these things just in different chapters and not as a whole project.


    Jose

  2. #2
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    Re: data manipulation

    Originally posted by rangerbud249
    I would like to make a simple query.

    I have a dropdownlist and two text boxes. How can I query my sql server db using those 3 variables as the (where) criteria so that I can display the (select) part of it in a datagrid.

    Therefore I need to connect to my db.
    make the Select From Where Statement
    and then Bind all that info to a datagrid.

    Any help and code examples will be so very much appreciated.
    Or If you can let me know what book offers how to do form (data manipulation) using a sql server for your connections. Problem with the books I have is that they offer these things just in different chapters and not as a whole project.


    Jose
    SELECT blah1, blah2 WHERE Country='USA' AND Weight>160 AND Date IS Null

    look up sqldataadapters, connections, and readers www.asp.net
    the tutorial has VERY simple examples

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width