Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~1K People Reached
Favorite Tags

5 Posted Topics

Member Avatar for king03

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' && …

Member Avatar for duke_swh
0
388
Member Avatar for king03

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; …

Member Avatar for duke_swh
0
151
Member Avatar for duke_swh

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 …

0
295
Member Avatar for duke_swh

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 …

Member Avatar for duke_swh
0
252
Member Avatar for duke_swh

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 …

Member Avatar for duke_swh
0
258

The End.