How to Verify if EventHandler for ValueChanged has been set?
Tue, 16 Dec 2008 10:04:16 -0800 (PST)
I have a huge Windows desktop application with over 100 individual
controls, like TextBox, NumericUpDown, ComboBox, etc.
I want each one to have its ValueChanged (or TextChanged) event
handler set, like:
-----------
System.Windows.Forms.TextBox cityTextBox;
cityTextBox = new TextBox();
cityTextBox.Tex ...
|
This server version is not supported. You must have Microsoft SQL
Tue, 16 Dec 2008 09:06:01 -0800
When I tried to use set the datasource to M'soft SQL Server (SQLClient). I
get this error message:
"This server version is not supported. You must have Microsoft SQL Server
2000 or later."
which is why I used odbc instead of sqlclient.
Thanks for your patience.
regards,
Andrew ...
|
Repository and Services
Tue, 16 Dec 2008 09:02:58 -0800 (PST)
Hello,
I am following ASP.NET MVC Storefront example available in CodePlex:
http://www.codeplex.com/mvcsamples
As far as I know a Repository Interface, ICatalogRepository, defines
methods like GetProducts, GetCategories, ...
And a class inheriting that repository, for example
SQLProductRepository, defi ...
|
Procedure xxx expects parameter '@ID' which was not supplied
Tue, 16 Dec 2008 07:44:08 -0800
ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure
'sp_StoreData' expects parameter '@ID', which was not supplied.
using (OdbcCommand cm = new OdbcCommand())
{
cm.CommandText = "sp_StoreData";
cm.CommandType = CommandType.StoredProcedure;
cm.Connection = Connection;
...
|
delegate defined by .NET
Tue, 16 Dec 2008 07:19:55 -0800 (PST)
What delegate are defined by .NET ? I know of ThreadStart but I'm sure
there are others. Any reason not to use .NET delegate beyond their
original intention \ scope (given it makes sense semantically) ? ...
|
Screenshot of the form
Tue, 16 Dec 2008 07:16:10 -0800
Hello,
I would like to create a button in my form to execute a screenshot of the
window (like I'm pressing ALT+STAMP on my keyboard).
I'm developing a WPF/Smart Client application, using Expression Blend to
design the visual interface and .NET Framework 3.5 sp1 (obvoiusly C#
language).
I'm not a good pr ...
|
Cross Platform encryption/decryption
Tue, 16 Dec 2008 04:53:00 -0800
I have a COM object written in VC++ which has encryption code.I would like to
decrypt the string which was generated by COM.
COM is using RSA and cryptoAPIs for encryption and .net will have to use the
RSACryptoServiceprovider.
Cab anyone let me know how to achieve the decryption in .Net?
--
regards,
Sha ...
|
|
|
Linq Style
Tue, 16 Dec 2008 22:36:21 +1100
var x = from c in customers where c.FirstName == "John" select c;
vs
var x = customers.Where(c.FirstName == "John");
I've been tossing up for a while which version of linq I prefer and I think
I've settled on the second. It's not quite as friendly to read in some cases
but I think it's clearer what's going ...
|
Linq style
Tue, 16 Dec 2008 22:01:24 +1100
I've been tossing up for a while which version of linq I prefer
...
|
SQLException - message property was empty
Tue, 16 Dec 2008 02:00:59 -0800 (PST)
Hi Friends,
When calling SqlCommand.ExecuteNonQuery() method, i got SQLException.
But the surprise thing is, the message property was empty. Could any
one provide some input about what went wrong and why the property
value was empty?
Thanks in advance... ...
|