|
please help for the printer .. !!
how can i print with the help of C#
any thing .. !!
and also guide that whenever i m in form1 then how can i jump to the form2 without the new object whenever i created the new object the new window is created i have faces the serious problem for that .. !! and i dont want too open new window i can stay in the previous window like setup their i can place the option of next and back option to so please kindly help me for that ..
Regardz,
Kalim
|
|
|
|
|
Hi
I am trying to explain my problem clear enough. I have a dataset DataSet1 which has some data retrieved from the database. I have a copy of DataSet1 called DataSet2. In DataSet2 user are doing some transaction..modifying and deleting rows in a datatable. Now I want to reflect deleted records of DataSet2 in DataSet1.
I tried with "Merge", but it reflects only the modified not deleted records.
Can anyone help solve this?
Thanks in advance
Muthu.
|
|
|
|
|
You don't need a second copy of the dataset to track the changes yourself. Each row has a RowState property which tracks this so you can validate / undo / whatever
|
|
|
|
|
Thats right. But in this case, second dataset is generated by another application. So I need to get modified and deleted details of second dataset.
Thanks
Muthu.
|
|
|
|
|
Are changes being made to dataSet1 while changes are being made to dataSet2 in the other application?
|
|
|
|
|
Yes. Exactly. Second application returns the modified Dataset. I want to find out the deleted records for each datatable without using any loops.
Thanks
Muthu.
|
|
|
|
|
I am not sure if this is what you want:
for (int i = 0; i <= pTable.Rows.Count - 1; i++)
{
DataRowState rowState = pTable.Rows[i].RowState;
if (rowState == DataRowState.Deleted)
{
//.....
}
}
|
|
|
|
|
Hello, I am a bit new to .NET. It would be great if someone gave me the link from where I can download the C# compiler file csc.exe
|
|
|
|
|
|
Hi,
you will gain it with a .Net Framework implementation.
I suggest you Microsoft .Net 2.0 because of the more rich implementation of the standard (which has more things to be implemented yet).
By installing it, you will have csc.exe file in the framework folder
You can find it searching ".Net Framework" in MSDN download at msdn.microsoft.com
You may prefer for yourself Mono (implementation of the same standard for Linux, which proceed at a lesser peace of Microsoft's one), BSD implementation, and other few which I may have overlooked.
Each one has its own peace and support from the vendor or the community (Microsoft has both), and has gain its own per-cent of the whole standard implemented. You have to Google for Mono since I do not remember the address.
With Microsoft .Net 3.0, just released, you gain a larger implementation of the standard as well a few non-standard implementation Microsoft has decided to put on. This is not proper a new version of the platform, then, but a whole set of additional implementation (however so cool!).
Depending on wich kind of application you are looking for, there are some free and even Open Source IDE you may want to consider for gain a better experience that just the compiler itself.
Hope this help,
Parsiphal
|
|
|
|
|
If your system has .NET 2.0 then you probably will find csc.exe inside
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Luc Pattyn
|
|
|
|
|
|
in the dot net framework directory?
IIRC it's called csc.exe
HTH
Russell
|
|
|
|
|
Simply download the .NET Framework SDK. By the way, there are no visual compilers. There are only IDEs that ease or should ease writing code and free you from specifying all necessary compiler options e.g. to reference assemblies.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
or Nant[^]
Does no one search anymore? A simple google of 'C# compiler' would have given you more than enough information. There's even a codeproject article in the top 3 results.
|
|
|
|
|
Thanks Everyone for all the suggestions.
|
|
|
|
|
I wrote some C# code to send an e-mail using System.Net.Mail.SmtpClient. This allows me to specify the sender, receiver, message, etc., and it works on one SMTP server perfectly. However, when I tried using AOL's SMTP server instead, I was getting authentication failures from their server. Using my regular e-mail program (Eudora), I CAN send to AOL's SMTP server.
The only apparent difference between the two programs is that Eudora does this:
EHLO name..
AUTH LOGIN..
<credentials>..
The program I wrote using SmtpClient does this:
EHLO name..
AUTH LOGIN <credentials>..
AOL's SMPT server rejects the latter, saying "501 INVALID SASL FORMAT OR LENGTH".
I don't know if what AOL's server is doing is breaking any rules or not, but that's kind of beside the point. Is there any way to adjust the SmtpClient object to be more "friendly" to AOL? If not, is there another class I can use?
|
|
|
|
|
I cannot say who is breaing standard, and it's a beside point as you say.
You can try to redefine behavior of SmtpClient, which is not sealed, by wrapping or ovveriding SmtpClient.Credentials.GetCredentials method which is a method of ICredentialsByHost interface.
You have to some tests, i'm not sure: this is just a hint
You can also try to find a way to interact with the underlying soket, using a string-manipulation approach to patch the problem.
Hope this help
Parsiphal
|
|
|
|
|
|
Hi,
does anybody know an alternative WebBrowser-Control?
greets
|
|
|
|
|
Search for Mozilla ActiveX.
|
|
|
|
|
Hi Guys,
I have a set of rows/records retrieved from a database as a result of a SELECT query . I need to show the returned records on a windows form.
whats the easiest and fastest way to do it.
I am using C# and windows's form as an application.
Thanks,.
Ahmed
|
|
|
|
|
The easiest and fastest way is to fill a DataTable with your data and bind that to the DataSource property of a DataGridView Control.
|
|
|
|
|
hello
I make a serialization into a file, and I put there many objects.
How can I deserialize this objects.
For one object I can do that, but I don't know how many objects are there
can u help me ...
10x
|
|
|
|
|
Here's what I recommend you do instead:
put all the objects in a System.Collections.ArrayList. Serialize the array list. When you go to deserialize, deserialize the file to ArrayList, and from there you can extract each serialized element.
|
|
|
|