or
300.00 Amex 2
600.00 Cash 4
450.00 Cheque 3
450.00 Discover 3
300.00 Master 2
300.00 Paypal 2
300.00 Visa 2
The pie chart has to display Amount of the respective tendertype.
Plz help me with how to code and display in Windows application using VB.Net.
Thank you in advance.
Regards,
Raj
| 1 Error Why am I seeing this page? |
| The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'Telerik.Examples.WinControls.Editors.ComboBox.EditorExampleBaseForm' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. |
| Instances of this error (1) |
| at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) |
| at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) |
| at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) |
| at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) |
| private void gv_RowsChanging(object sender, GridViewCollectionChangingEventArgs e) |
| { |
| if (e.Action == Telerik.WinControls.Data.NotifyCollectionChangedAction.Add) |
| { |
| RowSetup = e.NewItems[0] as GridViewDataRowInfo; |
| RowSetup.Cells["ID"].Value = gv.Rows[e.NewStartingIndex - 1].Cells["ID"].Value; |
| RowSetup.Cells["PAGE"].Value = gv.Rows[e.NewStartingIndex - 1].Cells["PAGE"].Value; |
| RowSetup.Cells["ORDER"].Value = Convert.ToInt32(gv.Rows[e.NewStartingIndex - 1].Cells["ORDER"].Value) + Convert.ToDecimal(".5"); |
| foreach (GridViewRowInfo dri in gv.Rows) |
| { |
| if (dri.Cells["PAGE"].Value.ToString() == RowSetup.Cells["PAGE"].Value.ToString()) |
| { |
| if (Convert.ToDecimal(dri.Cells["ORDER"].Value) > Convert.ToDecimal(RowSetup.Cells["ORDER"].Value)) |
| { |
| dri.Cells["ORDER"].Value = Convert.ToInt32(dri.Cells["ORDER"].Value) + 1; |
| } |
| } |
| } |
| RowSetup.Cells["ORDER"].Value = Convert.ToDecimal(gv.Rows[e.NewStartingIndex].Cells["ORDER"].Value) + Convert.ToDecimal(".5"); |
| } |
| } |