Search results

  1. A

    Using List Exists Method in C#

    I am having a problem doing the following in generics. I have one custom type array. Its a struct with few elements in it like id, shortname, longname Sample data would be 1, a, australia 2, a, asia 3, b, bangkok The problem im facing is that i want to actually gather all unique shortname and...
  2. A

    Eliminate the need of connecting to database each time web service method is called

    Hi Guys, I need some example code or guidance here. Below is the description of my problem. ------------------------------------- I have a web service with couples of web methods, example is like 1) getNames 2) getLectures 3) getClasses, etc.. So in each of this method, there is a statement...
  3. A

    TreeView in ASP.NET 2.0

    Hi Guys, I have a custom treeview and additional treenodes properties defined. One of them is StatusType of type enum Actually the issue im facing is when i click a certain node, i want to go up to its parent and check if the StatusType is equivalent to "CAnalysis" for example, if its...
  4. A

    Casting subclass to its baseclass to retrieve its data members value

    Hi Guys, Im not so sure why this code throws out an casting error since this feature can be implemented in vs 2003 but not in vs express 2005.. Basically i have a class which is inheriting the TreeNode class public class DGTree : TreeNode { private string groupName...
  5. A

    Creating Dynamic array with struct

    Hi Guys, I have been working on this for the past few hours but cant seem to get it right.. I have a web service..and i plan to use the dynamic array for array declaration I have a struct like below public struct CAnalysisField { public double id; public string name; public...
  6. A

    Can a web service return our own predefined xml format

    Hi Guys, I have been finding for this answer for quite some time but fail. My question is that can we control that xml output from a web service? Let me explain I have a small method like this in my web service public decimal AddNumbers(decimal lnNumber1, decimal lnNumber2) {...
  7. A

    Applying xslt to and aspx page

    Hi Guys, I have a few aspx pages which returns xml results.. Meaning user will send a url through external application and it will return xml results in an aspx page. For ex: user might send a url like : http://10.20.2.2/fol/getNames.aspx And this page might return some data in xml format...
  8. A

    passing null value as an argument to a function

    Hi, Im using framework 1.1, i was just wondering how can i pass a 'null' value to a function, because im retreving some data from database and some column might contain nulls, so how can i pass this null value to the function for further processing Some poeple recommend to use an "illegal"...
  9. A

    iNSErting an image into xml document

    Hi Guys, I have been browsing through the net and tried finding some examples to get an image displayed in an xml tag, some say use xlink and some say use xslt.But did not manage to get it done.. I have the following xml structure writer.WriteStartElement ("image")...
  10. A

    Getting list of parameters in this url

    Hi Guys, In asp.net, lets say i have the following url URL = "http://localhost/RuleDatabaseAPI/getTechnologyClassName.aspx?group=Assembly&subgroup=Fiducial Analysis" If i issue the following command Request.QueryString["group"] I get "Assembly" If i issue the following command...
  11. A

    Capture Browser content from c# window application

    Hi Guys, How do i capture content from a browser based on a specific URL.. Lets say i navigate to google.com, how do i capture the whole content into a variable.. for some reasons im generating some xml file on server side, so i want my users to actually access the data from the window...
  12. A

    ODP.NET vs. Microsoft .NET Provider for Oracle

    Hi Guys, I plan to connect to oracle database, but i see 2 providers which allow me to do it 1) ODP.NET 2) Microsoft .NET Provider for Oracle My question is 1) Do i need Oracle Client Installed on machine for this 2 providers? 2) Which data provider is better? 3) Which allows me to...
  13. A

    Application that acts as a "communicator" between database and external application

    Application that acts as a "communicator" between database and external application Hi Guys, I have a question, i wish to design an application that acts as a "glue" between database and a window based application The main reason why i want to do this is that the database im using is oracle...
  14. A

    Framework 2.0 Issue

    Hi Guys, Im aware that framework 2.0 comes with some additional controls which framework1.1 does not support like menu,treeview etc Previously i already have framework 1.1 installed on my machine.. Then i downloaded Framework 2.0 redist x86 from microsoft site so that i can try out the menu...
  15. A

    ASP.NET Control: Built in checkbox in combobox

    Hi Guys, Do we have a control in asp.net where we have a combo-box with checkboxes in it? Meaning lets say we have 3 items in the combo-box, we should have 3 checkboxes assigned to each item in the combo-box so that user can select multiple records at once Any tutorial or reference would be...
  16. A

    Update DIV Browser Element everytime record is retrieved

    Hi Guys, Really need some guide on this, I heard that div elements are browser element and thus can be updated at runtime when a current c# function is processed.. How do i accomplish this operation I have code thats read from database..Sometimes processes 3000-5000 records which might take...
  17. A

    Image Size based on User Resolution

    Hi Guys, I know how to get the resolution of user and i want to know how to put the height and width to represent this resolution using javascript.. The code that i use to get width of user resolution window is screen.width, and screen.height So when i place image, i tried doing the following...
  18. A

    Making Image fit Page Size

    Hi Guys, Im just not sure how to do this..Dont know its simple or tough.. I want to place an image (banner) at top of the login page, and the length should be equal to the page size..I cant seem to get it done.. So i place using the <asp:image> tag. and i specify a certain height and width...
  19. A

    .NET FRAMEWORK Installation

    Hi Guys, Lets say i have created a windows application file using C#, Based on my understanding, i must have CLR which comes together WITH .net framework in order to run the .exe application.. does it mean that all users that use this application must make sure .net framework is installated on...
  20. A

    Replace Function

    Hi Guys, I was just thinking wheather how do i do this I want to do some replace operation, for an example, i want to replace the "\r\n" string with " " So lets say i have this, it works properly. string str = "test\r\n" if i use a replace function here, i get only "test" but lets say i...
Back
Top