List view selection change is one of interesting matter in WPF. When you will select the item from list view. It will automatically fill field of the corrosponding item. Consider the following Selection change Event:
private void unitNamelistView_SelectionChanged(object sender, SelectionChangedEventArgs e)
if (unitNamelistView.SelectedIndex > -1)
/*====Setting Selected item in Entity=====*/
EUnitMeasurement seletedUnit = (EUnitMeasurement)unitNamelistView.SelectedItem;
/*==== Filling UI Field From entity======*/
unitIDtextBox.Text = seletedUnit.Id;
unitAbbrivationtextBox.Text = seletedUnit.UnitName;
fullNameUnittextBox.Text = seletedUnit.FullNameOfUnit;
unitCommenttextBox.Text = seletedUnit.UnitComment;
If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...
Based on value of Weight, Rate , CNF & AWB it will change the value of Freight , TTLCNF anfd TTLFright . Freight= Weight*Rate...
There is no doubt that we fall a great problem that the VS2010 is not intregated crystal report. Initially it seems to be a big problem. Ha...
Crete a new project: Add a aspx Master Page Create a new folder Reports and 2 sub folder crystal & crystalview...