|
More site info...
|
|
Forum profile page for C# on http://www.asp.net.
This report page is the aggregated overview from a single forum: C#, located on the Message Board at http://www.asp.net.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "C#" on the Message Board at http://www.asp.net is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on C#:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
79
|
192
|
600
|
|
Post:
|
180
|
520
|
1,652
|
|
|
C# Posting activity graph:
|
Top authors during last week:
user's latest post:
Date Conversion to mmm dd, yyyy
Published (2009-11-27 22:53:42)
What type is the database column? Can you show the table definition? I suspect that it is some sort of string (varchar) rather than a datetime. The string in the database is probably in a different format from the one that the culture on your server expects and so when it trys to convert the string to a date it gets the month and day back to front. The best option would be to change the database column to be a...
user's latest post:
Date Conversion to mmm dd, yyyy
Published (2009-11-27 23:24:42)
Sorry, i add a caps error (no pun intended) your code works great!
user's latest post:
algorithm to check duplicate in...
Published (2009-11-27 02:57:00)
This is not so. In the bom table, it has many finished goods with the topmost level. It means it has many different tree structure. If there are two tree structure with one common node linkage, it does not mean that they have duplicate product in one big matched tree structure. It is incorrect to just select * from bom where parentid=?? for duplicate check. For example, it may need to have recursion functions.
user's latest post:
Manually coded POST form not...
Published (2009-11-19 23:45:35)
I created a class RemotePost, rather than trying to dump an replace in my code, made a few tweaks and it works!!! Awesome, wish I had not given up so easily on that solution, it was like the n'th I tried,
user's latest post:
How to iterate thru HashTable?
Published (2009-11-24 00:55:00)
Paul Linton: If this is the correct code then you should be good to go with the corrections that I noted in my previous post. Paul Linton: Your screenshot answers the first question - the error is on the first foreach. The second question is also answered in the screenshot - insertTable is a Hashtable. I have never used Hashtable (I prefer the generic Dictionary<>) but the msdn documentation says...
user's latest post:
Zip a Folder and Files
Published (2009-11-23 16:03:02)
Well you can see from that code in the first link how to loop through files and subfolders. There is actually a built in zip file creating namespace tucked away in .net called System.IO.Packaging namespace: http://msdn.microsoft.com/en-us/library/system.io.packaging.aspx
user's latest post:
Initializing BOOL?
Published (2009-11-25 11:16:00)
XIII: Hi, bool result = true; Grz, Kris. Kris, Don't you mean: bool result = false;
user's latest post:
execute shell from C# code...
Published (2009-11-27 04:25:00)
Hi, U may have to Give proper rigths IIS_usr http://support.microsoft.com/kb/555134
user's latest post:
[Ask] Runtime *Eval* in c#/.net
Published (2009-11-28 00:34:11)
Hi, after i googling for solution, i found the eval algoritm from codeproject.com. Below the Eval code (but having bit expensive performance cost). Anybody can improve the performance of the code -or- having another similar code/idea? protected virtual object Eval(string expression) { if (string.IsNullOrEmpty(expression)) return null; var expressionMethodHash =...
user's latest post:
setting a breakpoint in a cs file
Published (2009-11-21 04:53:00)
I didn't understand the following macros 1. I want to know custommacro we are creating is stored in which dll ? is it Microsoft.VisualBasic 2. I tired to assing the macro using the following link but could not achieve the result. http://www.helixoft.com/blog/archives/8 Any ideas..
|
|
|
|
Latest active threads on C#::
Started 1 day, 6 hours ago (2009-11-28 17:58:39)
by Ambran
Hi Here you have a basic DbAccess class which uses OleDB connection. http://www.koders.com/csharp/fidB748F37371AC3007CC 680BC33F334D2C311EB6BA.aspx?s=dataset#L22 It includes a method for executing a Select SQL and a method for executing a Insert/Update/Delete SQL. Use the ConfigurationManager class to get the connection string from the Web.config: public DBAccess()
{
string connString =...
Started 1 day, 8 hours ago (2009-11-28 16:15:09)
by XIII
Hi, you're trying to multiply integers and strings and that doesn't work. You need to cast the string obtained from the Text property of TextBox3 to an int for example: diff.Days * Int32.Parse (TextBox3.Text) Grz, Kris.
Started 1 week, 3 days ago (2009-11-19 14:53:36)
by DarrellNorton
Yep, follow the instructions here: http://stackoverflow.com/questions/73063/how-do-i- add-debug- breakpoints-to-lines-displayed-in-a-find -results-window-in-v
Started 5 days, 17 hours ago (2009-11-24 07:28:00)
by yunuzzz
anybody can help me please?
Started 2 days, 7 hours ago (2009-11-27 17:21:00)
by reyou
Hi, In SQL in your select use SELECT CONVERT( VARCHAR(12), GETDATE() , 107) AS [Mon DD, YYYY] also you can refer here; http://www.sql-server-helper.com/tips/date-formats .aspx
Started 3 days ago (2009-11-27 00:30:00)
by Paul Linton
What would make the newly added node a duplicate? Same qty and same updateddate? or same childid? or something else?
Is this an sql question? Select * from bom_table where qty=@qty and updateddate = @updateddate
or select * from bom_table where childid = @childid
If not an sql question then can we see the classes you are using to store the tree and its nodes?...
Started 1 year, 4 months ago (2008-07-25 13:25:25)
by Jeev
This attribute is used to mark the method to easily identify select, insert, delete methods that are a part of this object for object datasource controls and their designers http://msdn.microsoft.com/en-us/library/system.com ponentmodel.dataobjectmethodattribute.aspx
Started 2 days, 15 hours ago (2009-11-27 08:56:00)
by integrasol
You could create a new constructor in object B that takes an object A as the only parameter, like this: public class A
{
public string Name
{
get;
set;
}
public int Height
{
get;
set;
}
}
public class B : A
{
public B(A a)
{
Name = ...
Started 2 days, 18 hours ago (2009-11-27 06:39:00)
by linick
Try using : a.menu_id = Convert.ToInt32(reader["menu_id"]);
|
|
Hot threads for last week on C#::
Started 2 days, 7 hours ago (2009-11-27 17:21:00)
by reyou
Hi, In SQL in your select use SELECT CONVERT( VARCHAR(12), GETDATE() , 107) AS [Mon DD, YYYY] also you can refer here; http://www.sql-server-helper.com/tips/date-formats .aspx
Started 5 days, 23 hours ago (2009-11-24 01:13:00)
by qwe123kids
Hi, It well exaplined Y to use Interface.. http://www.c-sharpcorner.com/UploadFile/rmcochran/ csharp_interrfaces03052006095933AM/csharp_interrfa ces.aspx?ArticleID=cd6a6952-530a-4250-a6d7-54717ef 3b345 http://en.csharp-online.net/Interfaces_and_Abstrac t_Classes
Started 6 days, 15 hours ago (2009-11-23 09:00:00)
by mkamoski
A key cannot be null, (Nothing in Visual Basic), but a value can be.
http://msdn.microsoft.com/en-us/library/system.col lections.hashtable.aspx
Started 6 days, 20 hours ago (2009-11-23 03:49:00)
by Pandiya Krishnan
You can try Math.Ceiling(value)
Started 5 days, 21 hours ago (2009-11-24 03:33:00)
by pin8marian
If you want to get keys from ProjectsHt you do like this foreach (string entry in ProjectsHt.Keys){ ResultLabel.Text += entry;}
Started 4 days, 13 hours ago (2009-11-25 11:38:00)
by joewashington
I think you have to cast the object back to its type to access the property. Im not sure if this is the most efficient way. The way I have done it from a generic list by getting the required element and then casting it to the original object type: object ob = genericList[i]; obj2 re = (obj2)ob; and then u can access the property: obj2.Name To call the method you can use Obj1 test = new ...
Started 3 days ago (2009-11-27 00:30:00)
by Paul Linton
What would make the newly added node a duplicate? Same qty and same updateddate? or same childid? or something else?
Is this an sql question? Select * from bom_table where qty=@qty and updateddate = @updateddate
or select * from bom_table where childid = @childid
If not an sql question then can we see the classes you are using to store the tree and its nodes?...
Started 5 days, 17 hours ago (2009-11-24 07:28:00)
by yunuzzz
anybody can help me please?
Started 2 days, 20 hours ago (2009-11-27 04:25:00)
by qwe123kids
Hi, U may have to Give proper rigths IIS_usr http://support.microsoft.com/kb/555134
Started 6 days ago (2009-11-24 00:27:00)
by reza141414
hi... == equal 1==1 != not equal 1!=2 && and || or
|
|