Click here to Skip to main content
15,914,419 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Regarding datamining Pin
Eddy Vluggen10-Sep-12 2:46
professionalEddy Vluggen10-Sep-12 2:46 
QuestionC# .Net windows application unable to open MS Access Database Connection in windows server 2003 Pin
ankit_1987_95-Sep-12 23:04
ankit_1987_95-Sep-12 23:04 
AnswerRe: C# .Net windows application unable to open MS Access Database Connection in windows server 2003 Pin
Eddy Vluggen5-Sep-12 23:48
professionalEddy Vluggen5-Sep-12 23:48 
Generaloptiontips.in Pin
optiontips.in4-Sep-12 21:26
optiontips.in4-Sep-12 21:26 
AnswerRe: optiontips.in Pin
Eddy Vluggen4-Sep-12 21:58
professionalEddy Vluggen4-Sep-12 21:58 
QuestionObtain Summary Values from GridView Control in vb.Net?? Pin
Priyanka Jain4-Sep-12 19:39
Priyanka Jain4-Sep-12 19:39 
AnswerRe: Obtain Summary Values from GridView Control in vb.Net?? Pin
Eddy Vluggen4-Sep-12 21:55
professionalEddy Vluggen4-Sep-12 21:55 
AnswerRe: Obtain Summary Values from GridView Control in vb.Net?? Pin
Durgeshyadav201210-Sep-12 23:20
Durgeshyadav201210-Sep-12 23:20 
In a DevExpress GridView to get the customized Summary of a Column we have to handle CustomSummaryCalculate event of the GridView. And we have to set the SummaryType property of that column to "Custom".

Below is an example of a GridView showing student details, in which we want to show the Customized Summary value of the Percentage Column.Here "gcPercentage" is the GridView's column name and PERCENTAGE is the FieldName of the column "gcPercentage".

Here is the code to set the SummaryType of the Column
gcPercentage.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Custom;

and for CustomSummaryCalculate event of the student GridView.

private void grdvStudents_CustomSummaryCalculate(object sender, DevExpress.Data.CustomSummaryEventArgs e)
{
if (((DevExpress.XtraGrid.GridSummaryItem)e.Item).FieldName.
CompareTo("PERCENTAGE") == 0)
{
double totalMarks =
Convert.ToDouble(gcTotalMarks.SummaryItem.SummaryValue);
double marksObtained =
Convert.ToDouble(gcMarksObtained.SummaryItem.SummaryValue);

if (totalMarks != 0)
{
e.TotalValue = marksObtained / totalMarks * 100;
}
else
{
e.TotalValue = 0;
}
}
}
QuestionXML Deserializing Button.Color Pin
Dan Orr4-Sep-12 19:20
Dan Orr4-Sep-12 19:20 
AnswerRe: XML Deserializing Button.Color Pin
Eddy Vluggen4-Sep-12 21:54
professionalEddy Vluggen4-Sep-12 21:54 
QuestionBest way to understand .Net Framework!? Pin
Tan-V4-Sep-12 6:34
Tan-V4-Sep-12 6:34 
AnswerRe: Best way to understand .Net Framework!? Pin
Eddy Vluggen4-Sep-12 6:42
professionalEddy Vluggen4-Sep-12 6:42 
QuestionCustom Tool and Designer Serializer Pin
Ali el2-Sep-12 2:17
Ali el2-Sep-12 2:17 
GeneralRazor Engine Pin
Albarhami1-Sep-12 20:45
Albarhami1-Sep-12 20:45 
GeneralRe: Razor Engine Pin
Eddy Vluggen1-Sep-12 21:50
professionalEddy Vluggen1-Sep-12 21:50 
GeneralRe: Razor Engine Pin
Dave Kreskowiak2-Sep-12 4:45
mveDave Kreskowiak2-Sep-12 4:45 
QuestionRazor engine (MVC) Pin
Albarhami1-Sep-12 20:44
Albarhami1-Sep-12 20:44 
Questionhow to create database with sql connection in vb.net Pin
mamnafih31-Aug-12 1:05
mamnafih31-Aug-12 1:05 
AnswerRe: how to create database with sql connection in vb.net Pin
Eddy Vluggen31-Aug-12 1:31
professionalEddy Vluggen31-Aug-12 1:31 
AnswerCross post Pin
Wes Aday31-Aug-12 2:28
professionalWes Aday31-Aug-12 2:28 
Question.Net Framework Pin
Georges2328-Aug-12 5:14
Georges2328-Aug-12 5:14 
AnswerRe: .Net Framework Pin
Eddy Vluggen28-Aug-12 5:33
professionalEddy Vluggen28-Aug-12 5:33 
SuggestionRe: .Net Framework Pin
AsaApplications30-Aug-12 13:26
AsaApplications30-Aug-12 13:26 
AnswerRe: .Net Framework Pin
Abhinav S30-Aug-12 19:46
Abhinav S30-Aug-12 19:46 
AnswerRe: .Net Framework Pin
Bernhard Hiller31-Aug-12 2:37
Bernhard Hiller31-Aug-12 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.