121.
how I can in corporate if Statements in XAML for WPF
One approach can be this :Make a user control for every individual tables which have a grid and other facilities prepared in there. Then dynamically load that user control into the window which you want to load all controls in there.For example you can add a StackPanel to your main...
|
Amir Mahfoozi
|
Updated: 15 Jan 2012
Rating:
( (No votes))
|
|
122.
circle program in c language
The program you are searching for is Bouncing Ball.Here is an implementation :http://www.mycfiles.com/2011/04/bouncing-ball-code-in-c.html[^]For more examples use Google.Hope it helps.
|
Amir Mahfoozi
|
Updated: 15 Jan 2012
Rating: 5.00/5
( (2 votes))
|
|
123.
How to send values to SP without ParameterName using ADO.NET
Have you tried by this way :SqlConnection mySqlConnection = new SqlConnection(ConnectionString); SqlCommand mySqlCommand = new SqlCommand("exec InsertData ID0001 , FirstName, LastName", mySqlConnection); mySqlCommand.CommandType = CommandType.Text;Change the...
|
Amir Mahfoozi
|
Updated: 14 Jan 2012
Rating:
( (No votes))
|
|
124.
String Split Problem
Have you tried this :string currentstring = "'They are running, John','the dogs'";string[] result = Regex.Split(currentstring, ",(?=(?:[^']*'[^']*')*[^']*$)");Extracted from here :http://stackoverflow.com/questions/3147836/c-sharp-regex-split-commas-outside-quotes[^]
|
Amir Mahfoozi
|
Updated: 14 Jan 2012
Rating:
( (No votes))
|
|
125.
Finding all childern of a parentid in sqlserver
Firstly, have a look at the output of this query :declare @nodeid intset @nodeid = 109;with rootCTE(id, parentid, level )as(select id, parent ,1from table where parent = @nodeidunion allselect e.id, e.parent , r.level+1 from table t, rootCTE r where t.parent =...
|
Amir Mahfoozi
|
Updated: 14 Jan 2012
Rating:
( (No votes))
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
.
()
|
|
Updated:
Rating:
()
|
|
126.
How to run specific command in Command prompt using C#
When there are some classes to do this why you are using command prompt ?public static void RestartService(string serviceName, int timeoutMilliseconds){ ServiceController service = new ServiceController(serviceName); try { int millisec1 = Environment.TickCount; TimeSpan...
|
Amir Mahfoozi
|
Updated: 11 Jan 2012
Rating: 4.80/5
( (3 votes))
|
|
127.
get external software output from visual studio 2008
It seems that Joulemeter doesn't have SDK, so have a look at this one :http://software.intel.com/en-us/articles/intel-energy-checker-sdk/[^]
|
Amir Mahfoozi
|
Updated: 11 Jan 2012
Rating: 3.00/5
( (1 vote))
|
|
128.
How to use SDL or ALSA to mix multiply audio stream?
for examples of establishing UDP and TCP connections read here :http://www.tenouk.com/Module40c.html[^]And just for UDP read here :http://www.abc.se/~m6695/udp.html[^]And here is a sample wave player with SDL...
|
Amir Mahfoozi
|
Updated: 10 Jan 2012
Rating: 5.00/5
( (1 vote))
|
|
129.
Problem in sql query
Here it is :Update Table1 Set Status = 'Paid'Where code in (select code from table2)
|
Amir Mahfoozi
|
Updated: 10 Jan 2012
Rating: 5.00/5
( (2 votes))
|
|
130.
Regualr Expression to skip white space
If you want to just separate them why using regular expressions , and not using split function :string s = "myName , age ";List fields = s.Split(',').ToList();for (int i = 0; i
|
Amir Mahfoozi
|
Updated: 10 Jan 2012
Rating: 3.22/5
( (2 votes))
|