| |
thread by: Martin Horst |
last post Jun 27 '08 by: Martin Horst
Hi,
I've got a problem with SQL update statements when I pass null values
(or better let's say DbNull values) to a DbParameter derived class (in
my case, I'm using an SQL Server database).
When I pass the DbNull value to the Value property, the DbType of the
DbParameter object is still string. If I try to write into a binary
field (...
|
thread by: daveL |
last post Jun 27 '08 by: daveL
Hello,
c#2 , sqlserver 2005
I am parsing a Text File into 2 Datatables
Parent we'll say invoice
child well say Invoice Items
parent rows 10,000, child rows 30,000
the 2 Tables start out Empty, i get the table structures from the Database
"select top 0 from parenttable")
|
thread by: Robert |
last post Jun 27 '08 by: Robert
Thanks George, I really am grateful for attempts to be helpful, but this
really doesn't answer the question in my OP.
What I am looking for is an explanation of WHY things are this way (I was
not looking for a work-around).
Again, I am appreciative of the feedback. I will note, that even though I
can use Interfaces, the calling...
|
thread by: ShaunX |
last post Jun 27 '08 by: ShaunX
hey guys,
well im new here. and i have some queries. wondering if anyone could
help me out with this SMPP.
i have developed a program using the devshock library, and sucessfully
sent the msg over to me provider. but the problem here now is that i
cannot seem to receive back the DN. maybe the event handler that im
working on is wrong.
|
thread by: BD |
last post Jun 27 '08 by: BD
How can I duplicate the behavior of the operating system shortcut keys
in my application? For example, my windows form has 5 controls
(textboxes), the operating system will pickup which control has the
focus and handle ctrl-c, ctrl-v, or any other shortcuts. I have the
same shortcuts working in my app, but have not determined how to find...
|
thread by: colin |
last post Jun 27 '08 by: colin
Hi,
Im a bit confused about when you cast a value type to an object.
I have a property grid wich stores the data and the defualt as
objects.
the data is limited to primitive types, structs and strings.
the structs only have primitive types.
however once ive set the data to the defualt,
if the data is a struct then any edits change the...
|
thread by: Bill Fuller |
last post Jun 27 '08 by: Bill Fuller
I have a dropdown combo box where the DataSource is bound to a CSLA BO
returned from a WCF call. The dropdown list looks fine, but selecting an
item returns "SYSTEM.RUNTIME.SERIALIZATION.EXTENSIONDATAOBJECT" (which seems
to be related to WCF somehow) and I am not sure how to debug this. Does
anyone know what might cause such a wierd behavior...
|
| |
thread by: Anders Borum |
last post Jun 27 '08 by: Anders Borum
Hi Peter,
Well, as far as I'm concerned there's actually a big difference between the
two strategies. First of all, the SQL server may be busy / bandwidth limited
while serving requests from other web frontend servers. In addition, the IIS
is extremely efficient at transmitting binary files (uses a kernel level
process).
Perhaps the...
|
thread by: huohaodian |
last post Jun 27 '08 by: Peter Duniho
Hi
I have some code something like.
public class Info
{
public static IList GetUser() { return User.GetUser();}
}
internal class User
|
thread by: Ignacio Machin ( .NET/ C# MVP ) |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
On Apr 22, 2:51*pm, Tammy Nejadian
<TammyNejad...@discussions.microsoft.comwrote:
Do a search in the archives of this NG, look for "wizard" you will
find a lot of examples
|
thread by: monika shivgotra |
last post Jun 27 '08 by: David Richoz
i am preparing a website through .net technology on xp O.S.can user enter the data to the site even if he does not have the .netframework installed on his P.C. or is having windows 2000 installed
|
thread by: Dom |
last post Jun 27 '08 by: Dom
In my C++ and VB days, it was easy to put a program on a network
drive, and allow each user to shortcut to it. Then, when needed, I
could just update the program on the network drive, and each user
automatically had it the next time they ran it.
Sometimes seems to be happening in CSharp. Now I get the error:
"Request for the permission...
|
thread by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= |
last post Jun 27 '08 by: Marc Gravell
Hi, I am using Visual C# window creating an application to read an xml file.
At some point I need to use XPathNavigator and XPathNodeIterator however
when I used those subjects I get error message . I add the "System.Xml.XPath"
class however it either empty or not implemented. This problem happened also
when I was going to use...
|
thread by: Jacek Jurkowski |
last post Jun 27 '08 by: Jacek Jurkowski
Open file from resource as a stream?
Or just how to read resource text file line by line?
|
thread by: Ignacio Machin ( .NET/ C# MVP ) |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
The difference between compile & runtime. CreateInstance works at
runtime, you can pass ANY string to it (even an incorrect one like
"123123123123") and it will compile
Only at runtime you will get the error.
And honestly, you HAVE to know something about your Class. otherwise,
how do you know which method to call?
|
| |
thread by: GiJeet |
last post Jun 27 '08 by: Jeff Louie
Hello, just wondering, in the event model windows uses, they use an
argument wrapper class called EventArgs which you can subclass to
encapsulate all the arguments you need to pass to any eventhandler
method, so my question is, why is this model not used for pass
arguments to ALL methods? Why pass many individually typed arguments
to methods?...
|
thread by: pgrazaitis |
last post Jun 27 '08 by: Peter Duniho
I cant seem to get my head wrapped around this issue, I have myself so
twisted now there maybe no issue!
Ok so I designed a class X that has a few members, and for arguments
sake one of the members Y is the location of a file to be read. The
original design assumes that this class will be instantiated and each
instance will happily mange...
|
thread by: Jeff Louie |
last post Jun 27 '08 by: Jeff Louie
Robert.. You can use interfaces or an abstract base class to abstract
out the
functionality of the plug ins. You then program to the abstraction. In
the case
of an interface, you program to the public view, the interface. The
interface
defines a contract between the user of your plug in class and any
concrete
implementation of the class....
|
thread by: mark |
last post Jun 27 '08 by: Peter Duniho
I have a 5x5 Matrix. Each cell consists a string value(ex:URL of a
website)
I want to find out which string value occurs( i.e. repeats ) maximum
no. of times in the matrix.
I have a hint that BINARY SEARCH TREE will be used here and that NODE
class in c# may be used to implement trees.
|
thread by: Chris F |
last post Jun 27 '08 by: Chris F
I have the following in my web config. It looks like the AD login is
working because it tells me if the password is incorrect, however, if it is
a successful login it says on the login page and does not redirect to the
WebForm1.aspx. The url does have the return in it as well.
http://localhost:52502/Login.aspx?ReturnUrl=%2fWebForm1.aspx
...
|
thread by: Bill Fuller |
last post Jun 27 '08 by: Bill Fuller
I have an application that is modifying the ENTER key to use
this.ProcessTabKey() for data entry screens (replacing a green-screen
Telenet app). I would like to do the equivilent of ths.ProcessReverseTab()
for ALT-ENTER, but no such animal exists. Does anyone know how this could be
done?
|
thread by: Bob Bryan |
last post Jun 27 '08 by: Bob Bryan
Hi,
I am writing a windows app in C# and referencing a lib built in J# and which
I don't have the code for that requires a method to be overridden that
contains a parameter defined as:
java.lang.Exception
I tried specifying the .net Exception class instead, but then I got an error
message saying that my class did not define the the...
|
thread by: SMJT |
last post Jun 27 '08 by: SMJT
Hi all
I have a form with a treeview on it. I add 3 nodes and enable
LabelEditing.
In the AfterLabelEdit event code I want to change the SelectedNode on
the treeview however it doesn't always work.
If I click any node label, edit it and hit the Return/Enter key it
works fine. However if I edit any node label and click say on a
|
| |
thread by: dariosalvi78 |
last post Jun 27 '08 by: dariosalvi78
Hi,
I am exploring the object-relational mapping tools (the free ones) for
the .net CF 2.
As far as I have seen all the tools start from the tables of a
database and generate code to build persistent classes.
I would like to know if there is some tool that does the opposite:
starting from an object (a class) it generates the tables in the...
|
thread by: Danny Ni |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi,
I inherited a web project from other programmer. I notice on my dev
machine every time I request a page in IE or FF the CPU jumps to 100%, all
utilized by asp_wp.exe.
I did some researches on the web, somebody suggests this could be due to
database connection not properly disposed. I happened to see the following
code snippet in...
|