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!
0 comments:
Post a Comment