web service SQL variable from Window Form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Khamal

    web service SQL variable from Window Form

    Hello;

    I''m writing the program using windowform and webservice with offline
    application block under C#.

    Let say at Window form:
    - Got a form with datagrid, textbox and a button.
    - the datagrid will display a selective record from sql query from the web
    service from a table.

    Let say at web service:
    - Establish db connection
    - put select sql statement ('select * from profile where name =
    "+textbox1.text +");

    Question:
    the texbox1 is from the window form, but it will not work, right?. How do i
    passing the value of the textbox1 into the webservice to give me what user
    want to display?
    --
    :: KHAMAL ::
Working...