Please check the screenshot http://doubts.posterous.com/bytearray-doubt[^] Actual value in the byteArray[0] is Name of an employee, [1] is code and son on... When iterating it returns only its size.. How can i get the Name of Employee from byteArray[0]?
I am not answering your entire question, but I have a thought about one component of it: Do you have any control over the date format of the initial XML that is provided to you? If you were to receive the date values in ISO format (YYYY-MM-DD), then you could use a simple string comparison (greater than or less than) in your xpath or xsl to determine whether the dates fall in date ranges.
--Greg
There are many options to do the same. 1. Interop (messy and horribly slow for large projects) 2. Save project in XML and work with it (messy) 3. Save project in the database (that's not publishing and it is available for project 2003 only - see ODBC option while saving). I've seen it being used a lot in the integration scenarios 4. Projette[^] (commercial, $10 per license) 5. ILog Project Viewer[^] (also commercial) 6. The MPXJ (mpxj.sf.net[^]) library comes in both Java and .Net flavours and will allow you to read and write multiple Microsoft Project file formats using a single consistent API. I am aware of commercial products which use both the Java and the .Net versions of MPXJ without any issues. Please find the links of related Primary Interop Assemblies: 1. Office 2003 Update: Redistributable Primary Interop Assemblies http://www.microsoft.com/downloads/details.aspx?familyid=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad&displaylang=en[^] 2. 2007 Microsoft Office System Update: Redistributable Primary Interop Assemblies http://www.microsoft.com/downloads/details.aspx?familyid=59DAEBAA-BED4-4282-A28C-B864D8BFA513&displaylang=en[^] HTH
Jinal Desai - LIVE Experience is mother of sage....
Interop provides classes and interfaces to read an MPP file. There you can create a Task object and check if it offers any property to do this.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
NHibernate has its own forums, you could try asking here[^].
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
Sounds like you took a rentacoder job and then realised you have no idea how to do it. Contact the client, tell them you are a liar.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
So a class file is nothing more than a text file with a specific extension (e.g. cs). So you could use StreamReader/StreamWriter to add a header to each file.
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
I used this to count the LOC of a whole project. For example my project folder contains around 250 folders and 25000 files. A tree view is used to list out the folders with check boxes and a list view to display all the files under selected folder. Both the two functions are slow. Main form contains a combo box for parser selection and another combo box for selecting folder.
The solution is to fix your code. It sounds like you're not saving your new rows, so they are lost. Why are you taking on something this complex when you're new to web apps ?
Christian Graus Driven to the arms of OSX by Vista.
Can u give me an example? I want to write the array to excel ( get it saved in excel) not just using Response like given below //Response.ContentType = "application/vnd.xls"; //System.IO.StringWriter stringWrite = new System.IO.StringWriter(); //System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); //stringWrite.Write("hai"); //Response.Write(stringWrite.ToString()); Regards, KP
modified on Tuesday, November 11, 2008 5:39 AM
Hai, Sorry for delay. went for lunch Piece of code
private RibbonStyle.RibbonButton rbtnOpen;
private System.Windows.Forms.DataGridView datagrid1;
private System.Windows.Forms.DataGridViewTextBoxColumn txtSlNo;
private System.Windows.Forms.DataGridViewTextBoxColumn txtEntities;
private System.Windows.Forms.DataGridViewComboBoxColumn cmbType;
private System.Windows.Forms.DataGridViewComboBoxColumn cmbSubType;
txtSlno : Auto generation txtEntity : user data cmbType : Combobox data(loaded programmatically) cmbSubType : Combobox data(loaded programmatically) I want to load the data from the XML file(explained below) to the datagrid while openning XML file. <NewDataSet> <EntityTable> <SlNo>1</SlNo> <Entity>X</Entity> <Type>Data</Type> <SubType>EIF</SubType> </EntityTable> <EntityTable> <SlNo>2</SlNo> <Entity>Y</Entity> <Type>Data</Type> <SubType>ELF</SubType> </EntityTable> <EntityTable> <SlNo>3</SlNo> <Entity>Z</Entity> <Type>Transaction</Type> <SubType>EI</SubType> </EntityTable> </NewDataSet> Regards, KP
You just posted this a few posts down... please dont do that, else no-one will want to answer you.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 beta 1 - out now!
((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))