Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

zaboboa

@zaboboa
About
Posts
298
Topics
172
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • simple DataGridView question.
    Z zaboboa

    Sorry, I am talking about a Windows forms grid.

    C# question css

  • simple DataGridView question.
    Z zaboboa

    Hi, I have a grid, that has a column of checkboxes. I also have a button outside the grid, that if clicked should toggle the grid view to show only the rows that have checkboxes checked. What whould be the best way to achieve that? Set the grid's datasource to a dataview with the filter set? Any code samples will be really appreciated. Thank you very much. :-D

    C# question css

  • TabControl and GetType()
    Z zaboboa

    Hi, I am trying to get the FieldInfo for my TabControl. In particular I am interested in EVENT_SELECTEDINDEXCHANGED. I have method to which I am passing my TabControl object, and it's a "target" variable.

    targetType = target.GetType();
    FieldInfo[] fields = targetType.GetFields(BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic);

    Now I am trying to see if any of the fields in the fieldinfo array contains EVENT_SELECTEDINDEXCHANGED. Any help is appreciated. Thank you

    C# data-structures help

  • Connecting to DB from a Web Service
    Z zaboboa

    Thanks. How come it works when I call it from a Windows Form Application?

    C# database winforms com help

  • Connecting to DB from a Web Service
    Z zaboboa

    Hi! Unfortunatelly I have no control over the DLL that I am using. The method in DLL will return the ADO connection object. It's working fine when I reference it from Windows Form Application (connection object is returned), and not fine (get the Timeout Exception) when referenced from Web Service running on my local machine. So, I guess my question is what is the difference in referencing components from Web Service and Windows Form application? Thank you.

    C# database winforms com help

  • Connecting to DB from a Web Service
    Z zaboboa

    The exception that it's throwing is the Time out exception. Thank you

    modified on Monday, June 9, 2008 10:12 AM

    C# database winforms com help

  • Connecting to DB from a Web Service
    Z zaboboa

    Hi, I have a web service that references the DLL. Inside the DLL I make a connection to a database, and do some data manipulation. However, for some reason I can not establish the connection. (DLL is a COM object). On the other hand if I just use a simple windows forms application and reference the same DLL, I connect with no problems. It seems that I am missing some settings or something. Really need help. Thank you!

    C# database winforms com help

  • Web Service, I am missing something
    Z zaboboa

    Ok Solved the problem. Just in case if anyone will run into the same thing. In command line navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727 and run: aspnet_regiis.exe -i :-)

    C# windows-admin help question

  • Web Service, I am missing something
    Z zaboboa

    Hi, I am trying to publish the web service. I created a new web service in VS2005, by default it has one web method HelloWorld, that returns a string. If I run the web service, and then try to add the web reference from windows application, by using http://localhost:2205/etc... Everything works fine. Now, If I create a virtual directory in IIS, and then use the Publish Web Service option from VS2005, now by trying even to open the web in the browser gives me the error. This is the path that I put into the browser window: http://my_pc_name/ISS_Virtual_Folder_Name/Service_Name.asmx Is there something that I am missing? Thank you!

    C# windows-admin help question

  • XML file resturctued with XSL style sheet
    Z zaboboa

    If anyone else has the same question with regards to XML and XSL, the XslTransform class will do the job. Regards

    C# xml tutorial question

  • XML file resturctued with XSL style sheet
    Z zaboboa

    Thank you! I know that the XSL file is different, that is what applies the transformation. What I was looking for is the actual way of how to do it. But I found the answer to my own question with XslTransform class. Regards,

    C# xml tutorial question

  • XML file resturctued with XSL style sheet
    Z zaboboa

    Hi, I have a XML file, I want to apply a style sheet to it, and create a new XML file as per style sheet. Does anyone have any ideas how to do it? Is it possible? Thanks!

    C# xml tutorial question

  • Serialize this OBJECT!
    Z zaboboa

    Hi Can any one provide me with help on how to serialize this collection of objects? I was trying to put some tags, but I am not really getting anywhere. [XmlRoot ()] public class TableList { private ArrayList tableList; public TableList() { tableList = new ArrayList(); } [XmlArray("tables")] public MyTableItem[] Tables { get { MyTableItem[] tables = new MyTableItem [tableList.Count]; tableList.CopyTo(tables); return tables; } } public int AddTable(MyTableItem table) { return tableList.Add(table); } public class MyTableItem { TableInfo TableInfo = new TableInfo(); [XmlElement("name")] public string TableName = string.Empty; [XmlElement("id")] public string OasisID = string.Empty; [XmlElement("Info")] public Object TableInformation = new Object(); public MyTableItem () { } public MyTableItem (string Name, string OasisID) { this.TableName = Name; this.OasisID = OasisID; TableInformation = TableInfo.GetTableInformation(Name); } } public class TableInfo { public TableInfo () { } public Object GetTableInformation (string tableName) { if (tableName == "Table1") { Table1 tb1 = new Table1(); return tb1; } if (tableName == "Table2") { Table2 tb2 = new Table2(); return tb2; } return null; } } public class Table1 { [XmlAttribute()] public string Prop = "Hello"; public Table1() { } } public class Table2 { [XmlAttribute()] public string WhatIsThis = "Test string"; public Table2() { } } Thank you very much!

    C# help tutorial question

  • Serializing object. Need Help.
    Z zaboboa

    Hi! I have the following classes: [XmlRoot("shoppingList")] public class ShoppingList { private ArrayList listShopping; public ShoppingList() { listShopping = new ArrayList(); } [XmlElement("item")] public Item[] Items { get { Item[] items = new Item[listShopping.Count]; listShopping.CopyTo(items); return items; } set { if (value == null) return; Item[] items = (Item[])value; listShopping.Clear(); foreach (Item item in items) listShopping.Add(item); } } public int AddItem(Item item) { return listShopping.Add(item); } } // Items in the shopping list public class Item { [XmlElement("name")] public string name; [XmlElement("price")] public double price; public Item() { } public Item(string Name, string Price) { name = Name; price = Convert.ToDouble(Price); } } When I Serialize it I get the following XML back: <?xml version="1.0" encoding="utf-8"?><shoppingList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><item><name>eggs</name><price>1.49</price></item><item><name>bread</name><price>0.99</price></item></shoppingList> As you can see from the definition of the ShoppingList class, I have an attribute [XmlElement] defined before the Items property, with the "items" name. So in my XML every element is . What can I do, so that when I serialize my ShoppingList object, each "item" element will have it's own name. So, one element will be "Table1", next will be "Table2", and so on. Any help greatly appreciated. Thank you very much.

    C# xml help question announcement

  • How to Create the listener service for SOAP messages in C#
    Z zaboboa

    Thank you. That is exactly what I had in mind.

    C# csharp wcf xml tutorial

  • How to Create the listener service for SOAP messages in C#
    Z zaboboa

    Hi, Any points will be greatly appreciated. Code shippet, etc.. Thanks.

    C# csharp wcf xml tutorial

  • TopMost visible and BottomMost visible rows in DataGrid
    Z zaboboa

    Hi! What is the best way of determining the TopMost and BottomMost visible rows in the datagrid (.NET 1.1) Thanks

    C# csharp question

  • Send PAGEDOWN Message to DataGrid, when DataGrid does not have focus.
    Z zaboboa

    Hi, I have a TextBox, and DataGrid on a form. TextBox has the focus, by pressing the PageDown key while in TextBox, I want the DataGrid to perform the PageDown functionality. I know that I have to use SendMessage method, I am just no sure what parameters I have to pass for the Pagedown handler. Any ideas? Thank you.

    C# question

  • Best way to populate grid? [modified]
    Z zaboboa

    Dude, did you see the topic of this thread? Did I ask your oppinion if I should populate 30 thousand records or not? IF you have no suggestions, don't post.

    C# css question

  • Best way to populate grid? [modified]
    Z zaboboa

    Hello, I have 30 thousand records. What would be the best and fastest way to populate the grid? DataSource is the way to go I think. Thank you. -- modified at 16:40 Thursday 26th July, 2007

    C# css question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups