- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
5 Posted Topics
Re: here is a piece of code you can use in your method: [CODE] string s = inputstring; string output = ""; char a; foreach (char c in s) { if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && … | |
Re: You may use this piece of code to get what you want: [CODE] int total = 0; string s = ""; for (int x = 0; x <= checkedListBox1.CheckedItems.Count - 1; x++) { s = checkedListBox1.CheckedItems[x].ToString(); if (s.IndexOf("-Lab") != -1) { total += 1; } else { total += 2; … | |
Hi, I'm trying to send an email using a lotus notes account and c# which is working fine. It is a two part mail which consistes of an HTML formatted message and attachment/s. The problem i'm encountering is when I have multiple attachments in different file formats. For example when … | |
please help. I'm trying to run a script from a inside shared function: [CODE]Dim strScript As String strScript = "<script language=JavaScript>" strScript += "alert(""" & string1 & """);" strScript += "</script>" HttpContext.Current.Response.Write("alert(""" & string1 & """)") If (Not Page.ClientScript.IsStartupScriptRegistered("clientScript")) Then Page.ClientScript.RegisterClientScriptBlock(MyPage.GetType(), "clientScript", strScript) End If[/CODE] I'm getting an error in … | |
I have a table in SQL Server with the following structure: DateRated, Parameter, Rating, UserID Sample Data DateRated Parameter Rating UserID 10/01/2010 Flexibility Good User101 10/01/2010 Efficiency Average User101 10/01/2010 Value For Money Below Average User101 I want to create a query that will make it like this: DateRated Flexibility … |
The End.