display data question

Results 1 to 2 of 2

Thread: display data question

  1. #1
    Join Date
    Dec 1969

    Default display data question

    I was wondering if it&#039;s possible to display the return values of a stored procedure in different textboxes instead of displaying it on a datagrid. i.e like when you use a store procedure to get a book name and title and instead of displaying the data on a data grid you want to display the returned data on a different textbox or label. <BR><BR>Any comments, suggestions or sites where I can find more information regarding this will be greatly welcomed.<BR><BR>Thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: display data question

    Sure just bind the data to your TextBox or Label.<BR><BR>MyLabel.Text = myDataReader("DataField1")<BR>MyTextBox.Text = myDataReader("DataField21")<BR><BR>etc.<BR>

Posting Permissions

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