|
Hi,
I have two DataViews on the same table.
and thord dataview is returning the combination of two dataviews.
dv3 = dv1 + dv2
return dv3;
amy one have this type of idea then please shame me..
|
|
|
|
|
try go row by row, and do whatever you like in there, I don't think that operator overloading is the best solution in this... it's too complicated on inheriting etc...
|
|
|
|
|
hi guys,
any information about the extarcting the zip or RAR file and zipping file to zip or RAR ..
where article or site can i find that?..
;)
tnx in advnce...
regards,
JayR
|
|
|
|
|
|
If you're using framework 2.0 - use GZipStream.
Best regards, Alexey.
|
|
|
|
|
can i have sample codes for zip files..
tnx guys...really appreciated!
regards,
JayR
|
|
|
|
|
in the article there is a sample and in the link go down and you will have a wide sample (the link that the other guy gave you)
|
|
|
|
|
tnx... already saw it...
tnx and have anice day!
regards,
JayR
|
|
|
|
|
you too
|
|
|
|
|
jrbvillanueva wrote: tnx and have anice day!
try Zip Making Wrapper Class[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
hi any one faced this problem plz share to me.
Thanks $ Regards.,
RANANDBE
|
|
|
|
|
is this an asp.net question?
i guess so (try using the asp.net forum next time then plz)
but you can access it by
this.Request.UrlReferrer
|
|
|
|
|
Hi this is not a web application ,to develop the web browser in winforms using c#.
thanks for response........
best regards
ranandbe
|
|
|
|
|
|
Hi,
Can any one plz tell me how to check for end of file and reading
each line to buffer.
while(!feof(fp))
{
string = fgets(buffer,85,fp); // Read each line from the file
}
The above code in c#.
|
|
|
|
|
do a new StreamReader of the stream, and use the property <streamreader>.EndOfStream to check if file is in the end, and method <streamreader>.ReadLine() to read line.
|
|
|
|
|
If you're using framework 2.0 the most simple method is
<br />
string[] File.ReadAllLines(string path)<br />
If using framework 1.1 then read NaNg15241 reply
Best regards, Alexey.
|
|
|
|
|
Hello
I am writing a windows application, in one of my class i added a property with Get/Set accessor.
As we change the property from a propery window it gets reflected to the respective object of the form.
The same i want for my user defined property. As soon as this property is changed or set i should get notification.
Please tell me how can i do this.
Thanks in advance.
Gajesh Mangal
Pune(India)
|
|
|
|
|
you can do an event on your class by making a delegate of it and then the event:
public delegate void PropertyEventHandler(object obj);<br />
public event PropertyEventHandler propertyChanged;
and on the get\set you do like this:
public <type> <property><br />
{<br />
get { return <property>; }<br />
set { <property = value; propertyChanged(<property>); }<br />
}
and there you go, when the property is changed the event will rais, and all you have to do is to sign on to the event:
ClassType c = new ClassType();<br />
c.propertyChanged += PropertyEventHandler(c_property);
|
|
|
|
|
|
there is a domain :LDAP://dc=www,dc=xxx,dc=com
and i wan to add a ou the the domaim.
my code is:
DirectoryEntry de=new DirectoryEntry ( LDAP:
de.Children.Add("OU=" + organizationUnitName, "organizationalUnit");
de.CommitChanges();
it neither add a ou to the AD nor throw exception.
is my code error?
appreciated for any suggestion
|
|
|
|
|
Hi,
using openfiledialog to select a particular file and store the selected file name in a string it sores the filename with path so is there any way to store only the file name not the whole path?
Thanks
|
|
|
|
|
Path.GetFileName Method
"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
|
|
|
|
|
There is no method called getfilename !!
see I have this below
OpenFileDialog select_file = new OpenFileDialog();
select_file.Title = "selected file";
select_file.Filter = "(*.txt) | *.txt";
if (select_file.ShowDialog() != DialogResult.Cancel)
{
file = select_file.FileName; // stores whole path with file name
}
but i want only selected file name in file not the path .
|
|
|
|
|
How will you know where the file is, then?
Use the methods in the System.IO.Path class to get different parts of a complete file path.
---
b { font-weight: normal; }
|
|
|
|