|
mperazac wrote: others are extremely complicated.
Only you are going to know if it's extremely complicated or not. You could get recommendations for everything you've already seen. It's probably going to be up to you to just bite the bullet and use one of the complicated ones.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
I'm looking to allow the user to make changes to a database. Basically, I have a DataGridView and a bunch of text boxes to allow the user to view all relevant fields on the DataGridView on one form. Both the text boxes and the DataGridView are bound to a DataTable and to a BindingManagerBase.
I want the user to be able to make multiple edits to the database and then click 'Save' to save any and all changes he/she has made since the last time the database was saved. I'm filtering the rows by DataRowState and only updating those rows that are DataRowState.Modified. Well, this works OK, except that if the user is editing the row he is currently viewing, it seems the data is not validated as being part of the DataTable, so the row is not considered Modified. If the user switches rows to an unedited row prior to clicking 'Save', then all changes are saved, but forcing a user to do that is not ideal, to say the least.
Any feedback would be appreciated. Thanks.
|
|
|
|
|
Hi.
What do you think about J#?
Have you ever done any important project using J#? Why should(n't) we use it? Is it worth any attention at all?
It's one of just 4 official .NET languages and yet Code Project doesn't have a forum dedicated to it.
Is J# just a big waste of time and money from Microsoft in order to feed their fat ego?
|
|
|
|
|
|
blackjack2150 wrote: Is J# just a big waste of time and money from Microsoft in order to feed their fat ego?
J# was created to make it easier to port from java .net. While it might've been used a fair amount in that role back in 02 by people who originally wrote their apps in j++ before sun killed it, no one's using it anymore so MS has decided to stop developing it.
--
CleaKO The sad part about this instance is that none of the users ever said anything [about the problem].
Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
|
|
|
|
|
Hi
I’m creating one windows service in my own purpose
Using msxml4.dll.
The process of service is to fetch the data from exchange server through webdav SEARCH METHOD
When i use this coding in windows form normal button click event , it works fine,
When I convert into windows service, it throws the error
The coding is below
MSXML2.XMLHTTP objXMLHTTP = new MSXML2.XMLHTTP();
writemethod("After Initialize");
System.Xml.XmlDataDocument xmlDOMParams = new System.Xml.XmlDataDocument();
objXMLHTTP.open("SEARCH", strInboxURL,false,strAliasName, strPassword);
objXMLHTTP.setRequestHeader("Content-type", "text/xml");
objXMLHTTP.setRequestHeader("Depth", "1");
string strXML;
strXML = "" +
" = \'DAV:\'>" +
"" +
"SELECT \"urn:schemas:httpmail:fromemail\"," +
------------------
---------etc…
objXMLHTTP.send(strXML); // Error Raised
The Error Raised in when i send the xml query
Any suggestion,please reply
We are using c#
Regards,
Arunkumar S
|
|
|
|
|
Yes
finally i identify the problem
the problem caused in path of the inbox
instead of ip address, i use hostname
ex. http://xx.xx.xx.xx/exchange/emailaddress/inbox
we use
http://hostname/exchange/emailaddress/inbox
|
|
|
|
|
Hi, I have been looking for a simple, free, forum software download I can use. I have had problems with "Yet another forum" and "Jumpy Forum". My preference would be a .NET 1.1 or 2.0 (even better) application in C#. I've scoured the Internet, but no luck so far. Could anybody please recommend one?
Thanks
|
|
|
|
|
Isn't phpBB good for you?
|
|
|
|
|
I'll check that out, thanks.
|
|
|
|
|
Hi!
I am trying to creat the body for an email. First I create the text of the email like this:
System.Text.StringBuilder sbBody = new System.Text.StringBuilder();
sbBody.Append(" asdasfsdgfdfg dfgh \r\n");
sbBody.Append("fw4 34wtrc345v345345gv43bv3 \r\n");
sbBody.Append("asdasdaskjfn39i4fn3498gn4oegerlkg. \r\n");
Then I start a process that launches the email client. The problem is that the text of the email is not displayed correctly in Outlook, meaning that the \r\n are ignored(if I display the text in a message box the \r\n work fine). Can anyone help me with this problem...
PS: I have tried using Convert.toChar(13) but still nothing...
|
|
|
|
|
If it's in HTML view, \r\n won't have any effect. You'd need a <br /> tag there instead.
Regards,
Nish
Fly on your way like an eagle
Fly as high as the sun
On your wings like an eagle
Fly and touch the sun
|
|
|
|
|
I have tried adding <BR> instead of \r\n...but in this case it just displays <BR> in the text...this means that it is not in HTML view mode
|
|
|
|
|
How are you sending the mail body to the process?
---
single minded; short sighted; long gone;
|
|
|
|
|
strMail = "mailto:" + strAddress + "?subject=" + strSubj;
strMail += "&body=" + sbBody.toString();
System.Diagnostics.Process.Start(strMail);
|
|
|
|
|
Hello guys in this forum .
in some programs i download as free trial , i saw some Api(s) calls written in ansi C and in C++ , these Api(s) enable me to get some information from the installed program or inject to it commands to be executed once i refer to these Apis in my application , so the question is:
how can i develop an application and expose some Api(s) like that for other developers to use to communicate with my application ??????
Thank you very much
Human knowledge belongs to the world.
|
|
|
|
|
Is there a possible way to find who is using an executable on a network share? If so could you point me in the right direction? thnx.
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
I wrote a code project article on this:
http://www.codeproject.com/dotnet/OpenFiles.asp[^]
The short answer is log on to the network sever, go to the computer management then shared folders then open files.
By the way I like the reference to Romans 12:21
Hope that helps.
Ben
|
|
|
|
|
Thank you for the info man, helps out alot!
Adam
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
On the machine with the share, right-click MyComputer, click Manage. Under System Tools, open Shared Folders. It should be obvious from there.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Is there a possibility for a memberwise compare of two structs / classes?
|
|
|
|
|
Hello,
Maybe Reflection helps you at this problem.
object yourclass1;
Type t = yourclass.GetType();
foreach(PropertyInfo pi in t.GetProperties())
{
pi.GetValue(yourclass,new object[0]);
}
Hope it helps!
All the best,
Martin
|
|
|
|
|
You could implement the IComparable or IComparer interface
only two letters away from being an asset
|
|
|
|
|
Yeah, bu I don't want to
A generic implementaiton could be done via reflection - but I wonder if something like that already exists.
|
|
|
|
|
I think the default object.Equals does it through reflection, not sure..
Anyway, comparing through reflection is horribly slow, not a good idea imo.
- alwinus
|
|
|
|