|
int nVal = 0xFF << 8;
nVal = nVal | 0xEE;
Now nVal holds the corresponding value as 65518
Thanks & Rgds,
Sri..
|
|
|
|
|
I need a brief explaination about files and folders.
Siyanda
|
|
|
|
|
|
Hi,
I have a problem when i create a xml file. I create this type of xml
< ?xml version="1.0" standalone="yes"?>
< test xmln;s="bla bla">
< one>
< oneone>2 </oneone>
< onedone>1</onedone>
< onenone>sus sus</onenone>
< /one>
< pone>
< poneone>323< /poneone>
< ponedone>454 < /ponedone>
< /pone>
< tone>
< ss>76< /ss>
< /tone>
< tone>
< ss>23< /ss>
< /tone>
< /test>
but i need:
<?xml version="1.0" standalone="yes"?>
< test xmlns="bla bla">
< one>
< oneone>2 < /oneone>
< onedone>1 < /onedone>
< onenone>sus sus < /onenone>
< /one>
< pone>
< poneone>323 < /poneone>
< ponedone>454 < /ponedone>
< tone>
< ss>76 < /ss>
< ss>23 < /ss>
< tone>
< /pone>
< /test>
I read all the data from one data base. I want to use DataTable and DataSet
*i have a xml schema
|
|
|
|
|
You need to format your XML so that we can actually read it. The tags are not being displayed here.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
First of all how are you generating your XML?
Are you doing it from a T-SQL statement?
Or Are you doing it from code?
|
|
|
|
|
The ideea is to create 3 tables and with xml shema to create the xml files. But i miss sommethings.
-- modified at 4:49 Wednesday 14th March, 2007
|
|
|
|
|
How about using an Xslt transformation?
|
|
|
|
|
Hello everyone,
How is it possible to have the maximum developing area for the Windows Application? When I build the project I have more empty space than I can actually see while I am developing. If I increase the Form size when I build the project it covers my entire page. How would it be possible to have it 2/3 of my screen once it is built yet have the maximum developing area during development?
Thank you for your help.
Khoramdin
|
|
|
|
|
if (!this.DesignMode)
this.MaximumSize = new Size(500, 400);
HTH
Russ
|
|
|
|
|
hi,
i want ask if i can have a bar for my application placed on task bar as norton bar or traditional language bar. this trick will be nice if it added to the application.
thanks in advance for any help
|
|
|
|
|
Hi All,
Is there anyway to download the file when the appropriate link is clicked
instead of opening it in the browser in asp.net.
I know the file can be 'zipped' which
will download instead of open the file -
Thankyou
Bye
|
|
|
|
|
Response.AddHeader("content-disposition","attachment;filename=File.pdf");
|
|
|
|
|
|
hi,
i am new to C# programming, please help me to find a solution for my issue.
in my project i got 2 forms and 1 class file. from form1 i created an object instance for the class and updating some values.
clsClassName object1 = new clsClassName();
how to create a object in form2 to access the updated values.
i know that we can create by ref. like
clsClassName object2 = object1;
but i cant able to see object1 in form2.
when i am doing project in vb.net i will put my object creation in a module so that it will be accessible in all the forms, is there any way to create objects or declare variables which can be accessible globally.
Thanks in advance
|
|
|
|
|
u can access the updated value of object created in form1 by passing that object to the constructor of form2
rahul
|
|
|
|
|
hi rahul,
thanks for your prompt reply, i cant able to find the form constructor.
public partial class frmForm2 : Form
{
public frmForm2() //is this the form constructor.
{
InitializeComponent();
}
}
even here i cant able to see the object1 from form1.
|
|
|
|
|
that's the constructor
create a copy of it which takes object1 as a parameter
if you want to keep the reference for the life time of form2 then create an instnace variable and set it to the object1 you passed in
|
|
|
|
|
Hi,
you can create a static object for that class.
|
|
|
|
|
Dear All,
Thanks for your support.
|
|
|
|
|
hi all developers reading this ,
I have used a user control on no of pages but on one page buttons on User Control are not working.
Why it is happening so?
I'm not able to understand please can someone have idea about this tell me.
Thank you.
Have a very nice day
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
you might need to give us a bit more info than that.
have you checked that the events are properly hooked up?
Russ
|
|
|
|
|
Hi,
I have a ListView table that contains some files and i would like to know the command that will delete it by clicking some Delete Button.
Thanks in advance for your help.
Eyungwah
|
|
|
|
|
Probably you mean that ListView contains the path of the files. Then simply call File.Delete , passing the text of the ListView Items.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Well, you can use the ListView.SelectedItems property to retrieve a collection of all items that are currently selected. Iterate over the returned collection and for each item delete the respective file by using classes from System.IO namespace (if you really want to delete on the file system) and finally remove the item from the list view via ListView.Items.Remove 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
|
|
|
|