Results 1 to 2 of 2

Thread: Plz Correct the Syntax :Retrive Value From DataSet

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Location
    Canada
    Posts
    141

    Resolved Plz Correct the Syntax :Retrive Value From DataSet

    --------------------------------------------------------------------------------

    textBox1.Text = dataset.Tables[table1].Columns[0].DefaultValue;
    textBox2.Text = dataset.Tables[table1].Columns[1].DefaultValue;
    textBox3.Text = dataset.Tables[table1].Columns[2].DefaultValue;
    Last edited by Waseemalisyed; May 10th, 2005 at 06:47 AM. Reason: ok

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Plz Correct the Syntax :Retrive Value From DataSet

    textBox1.Text = dataset.Tables["table1"].Columns[0].DefaultValue;
    textBox2.Text = dataset.Tables["table1"].Columns[1].DefaultValue;
    textBox3.Text = dataset.Tables["table1"].Columns[2].DefaultValue;

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