#datarowview
Explore tagged Tumblr posts
Text
Set IList as ComboBox Datasource in C#
ComboBox is a control which let user input or select one of value from listed items .In C#.Net we can easily populate data to combo from database without complicated loops. All you need to pass the display, value member and a data table as follows cmb_handle.DataSource = Common.MaccDataset.Tables[0]; cmb_handle.DisplayMember = “product”; cmb_handle.ValueMember = “pid”; we can also use IList,…
View On WordPress
0 notes
Text
How to fetch data rows from a data view in C#
Data View is a representation of data table which can be used to access rows in a table. In Database programming sometimes we need to search and extract/copy rows which meet some criteria/condition. C# and .Net framework allows you to do this using rich set of objects available in Visual Studio.
In our example we have a table Groups which is used to store various accounting groups. I want to…
View On WordPress
0 notes