all groups > dotnet general > march 2006 > threads for monday march 6
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
delete multiple lines in DataGrid, message always shown deleting the first line
Posted by Ryan Liu at 3/6/2006 11:41:12 PM
private void dt_RowDeleted(object sender, DataRowChangeEventArgs e)
{
int id= (int)e.Row["id", DataRowVersion.Original];
if(id >5)
{
e.Row.RejectChanges();
MessageBox.Show(this, "Can not delete!" + id);
}
}
When multile li... more >>
how to change tab page color
Posted by jaffar at 3/6/2006 5:57:28 PM
hi,
I am using Tab control, i added the tab pages , i want to change the tab
pages color when ever i select the tab page,
i have tabpage1,tabpage2,tabpage3
i mean when ever i select the tab page 2 the tabpage is hilighted remaing
two are not hilighted,
i want to change the tab page ... more >>
Deployment - Uninstall Previous Application
Posted by Eric at 3/6/2006 2:46:57 PM
We are about to deploy a new version of our application re-written in .Net.
Our .Net app is using the installer included with VS.Net 2003. The
previous version of the application was deployed using InstallShield. Is it
possible, using a Custom Action, to call the previous apps uninstall
r... more >>
c# Active Directory connect directly to user DN
Posted by AdamKadmon at 3/6/2006 11:51:09 AM
Hello there. I have a method that pulls out the members of a group in
the form of distinguishedName. I read somewhere that I could then
connect to the Directory with:
DirectoryEntry(@"LDAP://servername/" + dnPulledFromGroup)
and somehow pull the user CN in this fashion. Could someone point me... more >>
How to add IPs
Posted by A.Taheri at 3/6/2006 11:20:28 AM
Hi everyone,
Thanks for reading and for any assistance, I hope I posted in the right place.
I am trying to find a method in which to add / remove IPs from a network
card. I am going to be placing this into a web service in which - on the fly
- i will be adding and/or removing an IP addres... more >>
Layout Absolute vs. Relative vs...my sanity
Posted by Rob R. Ainscough at 3/6/2006 8:15:36 AM
Ok, I gotta say I now believe in Voodoo & Magic after working with VS 2005
developing web pages.
I have a standard ASPX web page, the only two controls on the page are a
Label Control (WebControls.Label) and a Button (WebControls.Button). If I
place both controls using Layout = Relative th... more >>
Create Form from Async-Callback
Posted by Roemer at 3/6/2006 6:48:27 AM
Hi all
I stumbled over a new problem:
I have a programm with just a class that is asynchronous listening for
network connections. As soon as someone connected, a new form needs to be
created.
The Form gets created but hangs after creation. I'ts logical that that
happens because the new Fo... more >>
3-Tier Development - A little confused..
Posted by iTISTIC at 3/6/2006 6:12:30 AM
Developing a new app and am trying to make this my first truly
OOP/3-Tier app. I understand the principles of the presentation,
business, and data layers. I do, however, have some questions on where
certain functionality should be placed and how some things should be
implemented.
Let's use a ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
problem installing V Studio 2005 trial DVD using external drivw
Posted by steveBelfast at 3/6/2006 5:12:28 AM
Having trouble installing my 180 day Visual Studio 2005 trial disk.
The CD that was sent is actually a DVD not a CD. My home PC only has a CD
drive.
I attempted to install on an external drive using a work PC with a DVD drive
and then use the external drive from my home PC. Unfortunately the ... more >>
When to be static??
Posted by Steve at 3/6/2006 3:49:27 AM
C#
I am new to C#, and new to the whole OO concepts, and so I am sure this is a
very stupid question, but I'll ask anyway. When should my methods be static?
I have several "Business Objects" in my app, which basically hold key
functionality. For example I have an Asset class. In there I ... more >>
sending periodic info from dll to interface
Posted by aitzi at 3/6/2006 3:09:30 AM
Hi to all!
We are designing a dll that needs to send some information periodically to a
possible interface application that is listening to these messages.
The information, which consist on a complex structure with several fields,
must be sent periodically, and although the frequency depen... more >>
prevent a row from being deleted in datagrid/datatable
Posted by Ryan Liu at 3/6/2006 2:28:34 AM
Can someone give a sample to prevent a row from being deleted in a
datatable?
I tried e.Row.RejectChanges(); in dt_RowDeleting() but seems does not work.
I need verify if there other data using data in this row before actually
remove it from datagrid.
I can certainly control with Delete... more >>
Memory grow and out of memory
Posted by Florin at 3/6/2006 2:23:14 AM
Hi all,
I have a problem related to memory grow on a server application
which is basically stateless (I have some static info loaded). The
client accesses this server using remoting and it has worked for about
2 years without problems.
The problem I have encountered lately is that the... more >>
questions abt unmanaged code
Posted by swapprose at 3/6/2006 1:49:05 AM
Hi
what is com and dcom,wt's the difference?
what is unmanaged code?
is .net support unamanaged code?
how can we include unmanaged code assembly into .net?
is there compatability from unmanaged to managed code in .net?
which .net host doesn't support application domain
a)iis
b)internet ... more >>
|