Wednesday, April 25, 2018

C# - Pass through result of dataset query to label text

New to datasets, I am able to use queries in the table adapter to fill out items like lists and dropdowns, but I have a query that will only ever return 1 row, and looking to put the text of a particular column in that row into a label so far my attempts have only returned the column name. Anyone know what I am missing?

var ta = new MyDataTableAdapters.MyTableAdapter(); var rates = new MyData.MyDataTable(); ta.FillBywxyz(rates, w, x, y, z); Label.Text = rates.MinRateColumn.ToString(); 

Any Insight would be appreciated!

C# - Pass through result of dataset query to label text Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team