Click here to Skip to main content
15,901,749 members
Home / Discussions / C#
   

C#

 
GeneralRe: create vcf contact file Pin
Jassim Rahma6-Aug-14 2:23
Jassim Rahma6-Aug-14 2:23 
GeneralRe: create vcf contact file Pin
Ravi Bhavnani6-Aug-14 2:27
professionalRavi Bhavnani6-Aug-14 2:27 
GeneralRe: create vcf contact file Pin
Dave Kreskowiak6-Aug-14 2:29
mveDave Kreskowiak6-Aug-14 2:29 
GeneralRe: create vcf contact file Pin
Jassim Rahma6-Aug-14 2:36
Jassim Rahma6-Aug-14 2:36 
GeneralRe: create vcf contact file Pin
Dave Kreskowiak6-Aug-14 6:38
mveDave Kreskowiak6-Aug-14 6:38 
QuestionRetrieve information from UDL file Pin
Ashfaque Hussain4-Aug-14 20:26
Ashfaque Hussain4-Aug-14 20:26 
Suggestion[Repost] Retrieve information from UDL file Pin
Richard Deeming5-Aug-14 0:59
mveRichard Deeming5-Aug-14 0:59 
QuestionC# how to get count of same and distinct cell values from datagrid view in indexed labels ? Pin
Member 109914914-Aug-14 15:20
Member 109914914-Aug-14 15:20 
// datagridview name is dgdaily.

i got error

"System.NullReferenceException occurred
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=final
StackTrace:
at final.DailySheet.UpdateLabelText() in h:\final\final\final\DailySheet.cs:line 122
InnerException:
"
//my code start
updatelabeltext()
{
Label[] la= new Label[10];


int counter1;
int counter2;
int i = 0;

for (counter1 = 0; counter1 < (dgdaily.Rows.Count-1); counter1++)
{

int sum = 0;
if (dgdaily.Rows[counter1].Cells["destination"].Value != null)
{
string x = dgdaily.Rows[counter1].Cells["destination"].Value.ToString();
int descount = 1;

for (counter2 = 1; counter2 < (dgdaily.Rows.Count-1); counter2++)
{

string y = dgdaily.Rows[counter2].Cells["destination"].Value.ToString();

if (x==y)
{
descount++;
sum = descount - 1;
}

}

la[i].Text = dgdaily.Rows[counter1].Cells["destination"].Value.ToString()+":" + sum.ToString();
i++;
}

}
}
AnswerRe: C# how to get count of same and distinct cell values from datagrid view in indexed labels ? Pin
Bernhard Hiller4-Aug-14 20:55
Bernhard Hiller4-Aug-14 20:55 
QuestionNeed help to print a receipt in a WPF project Pin
vanjier4-Aug-14 7:43
vanjier4-Aug-14 7:43 
AnswerRe: Need help to print a receipt in a WPF project Pin
Dave Kreskowiak4-Aug-14 8:03
mveDave Kreskowiak4-Aug-14 8:03 
GeneralRe: Need help to print a receipt in a WPF project Pin
Member 108746935-Aug-14 3:57
Member 108746935-Aug-14 3:57 
GeneralRe: Need help to print a receipt in a WPF project Pin
Dave Kreskowiak5-Aug-14 6:42
mveDave Kreskowiak5-Aug-14 6:42 
GeneralRe: Need help to print a receipt in a WPF project Pin
vanjier5-Aug-14 7:05
vanjier5-Aug-14 7:05 
AnswerRe: Need help to print a receipt in a WPF project Pin
Dilan Shaminda4-Aug-14 18:13
professionalDilan Shaminda4-Aug-14 18:13 
GeneralRe: Need help to print a receipt in a WPF project Pin
vanjier5-Aug-14 7:06
vanjier5-Aug-14 7:06 
AnswerRe: Need help to print a receipt in a WPF project Pin
Jaimin H. Soni4-Aug-14 22:56
Jaimin H. Soni4-Aug-14 22:56 
QuestionHow to convert Date of v.b to DateTime of c# Pin
Dj@y4-Aug-14 3:29
professionalDj@y4-Aug-14 3:29 
AnswerRe: How to convert Date of v.b to DateTime of c# Pin
OriginalGriff4-Aug-14 4:45
mveOriginalGriff4-Aug-14 4:45 
AnswerRe: How to convert Date of v.b to DateTime of c# Pin
jschell4-Aug-14 11:22
jschell4-Aug-14 11:22 
AnswerRe: How to convert Date of v.b to DateTime of c# Pin
V.5-Aug-14 0:05
professionalV.5-Aug-14 0:05 
QuestionDelete file which was in Picture Box before loading another Picture Pin
Alston Antony2-Aug-14 18:02
Alston Antony2-Aug-14 18:02 
AnswerRe: Delete file which was in Picture Box before loading another Picture Pin
Mycroft Holmes2-Aug-14 22:45
professionalMycroft Holmes2-Aug-14 22:45 
AnswerRe: Delete file which was in Picture Box before loading another Picture Pin
Ravi Bhavnani3-Aug-14 9:04
professionalRavi Bhavnani3-Aug-14 9:04 
Questionwant to add a text box on master page Pin
Atul 19892-Aug-14 2:19
Atul 19892-Aug-14 2:19 

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.