Answer Questions
ksalter .NET WebBrowser control and a Java applet event handling problems.
I have a Java applet compiled with JDK 1.5.0_02. I'm binding a JPopupMenu object to a JButton, and creating a few JList objects to be displayed in the JPopupMenu. I'm then adding mouse listeners in order to intercept the event and handle it. This works fine when I launch the applet standalone in IE. When using the .NET WebBrowser control, however, the EXACT same applet binary will not trigger the event. This applies to the mouseClicked, mousePre ...Show All
StevetTW Check Wellformedness of a XML file
I want to check a XML file for wellformedness. it is possible like this: XmlTextReader r = new XmlTextReader (xmlfilelocation); try { while (r.Read()) { ; } } catch ( XmlException ex) { Console .WriteLine(ex.Message); } r.Close(); The problem is... I want to see all the messeges in one screen. Is there anyone here with a solution This is correct way to verify welformedness of XML f ...Show All
dmcitytech Changing the Cursor Style on ListView
Hi, I am having a ListView, I want to change the Cursor style of he ListView on MouseOver event of the ListView, I have tried setting the cursor style of the listview, but it is not helping me, Please suggest me some solutions. Thanks & Regards, Benin. ...Show All
Coldfire Identity column and adding new row to an SqlDataAdapter's dataset
If I add a new row to an SqlDataAdapter's dataset, will my identity column be updated immediately to reflect its value I have an identity column which also serves as a unique key and I need to be able to find the rows in a dataset by their identity after adding a new row to the dataset. The normal way is that autoidentity field gets an unique negative number before it is saved to database (configured through D ...Show All
EBX Binding Business Object Properties to RDBMS Tables
(I'm asking this from a newbie knowledge base --- here goes:) What is the general solution in .NET for binding business object properties (and perhaps complicated structures, like a collection of collections) to RDBMS tables 1) I see the value of ObjectDataSource for automagically binding buisness object properties to databound controls...is there something analogous to binding business object properties to DB tables &nb ...Show All
KChampion Escape sequence in xml output?
Hi I am dumping a table's data into xml document using C#. I am getting the data but the problem is that "<" character appears as "<". Similarly, there are other characters appearing incorrectly. What should I do to make it appear correctly like "<" . Please advise. Thanks Pankaj If you are seeing the < in the XML document then this is the correct behavior. < is a ...Show All
Shyju Binding to a datagrid
Can anyone help with this one Have a form with a listbox and 5 textboxes, by clicking the different customer id's in the listbox this then displays the relevant info in the textboxes which is first name, last name, city, state and zip code, this works fine but I'm trying to display at the same time the order details for each selected order id in a datagrid but can't get it to work The order details to be displayed in the datagrid from the databa ...Show All
isabella music Run ConfigSamples.exe failed on IIS not installed
This is the cofigSamplesLog file. I am having problem installing IIS with XP Pro SP2. I did the following after installed .NET 2.0 - installed SQL Express - having trouble to install IIS using XP CD (the IIS service is not showing any where) after installation halted a couple of times. any suggestions Thanks in advance, Hong 1:39:06 AM Friday, July 08, 2005: [Begin Samples Configuration] 1:39:06 AM Friday, July 08, 2005: [Info] ConfigSamplesDll ...Show All
Mohankumarj trying to learn code access security principles
I've been wrestling with Code Access Security issues on a first-come, first-serve basis, and using step-by-step tutorials (each tutorial like one of a thousand pieces in a puzzle) that I've found online. What I'm looking for is a high-level explanation of Code Access Security principles so I can put the puzzle together. Does such a thing exist Can anyone explain the multiple layers of Code Access Security to me, from the top down ...Show All
Gendalf Discard changes made to datatable columns of a Dataset?
Hello, I have a windows form with several text boxes. OnLoad, I use a DataAdapter which calls a SQL sproc to retrieve it's info. The sproc returns has 3 select statements so when all is said and done, the dataset ends up with 3 tables. (table, table1 and table2) Next I use databindings.add for each of the textboxes and bind them to the appropriate column in the appropriate tables. The textboxes are readonly by default and I have an Edit ...Show All
SuperStruct .Net data could be simpler than this!
Back to my sporadic learning project in ASP.NET I have a dropdown on a page populated at runtime from a table with country names to select a country, returning the corresponding country code. Everything works fine so far. I want to add a top record to show as default in the dropdown saying "-- Select Country --" DataSet oCountriesDS = new DataSet(); string sSQLCommand = "select ctry_name,ctry_code from countries order by ctry_name"; // Execut ...Show All
shahram11 Passing html tags with with-param?
Hi. I suppose this is a simple solution for this, but I can't make it work. I want to transform xml to html via an xslt transform. In the html there is supposed to be several identical links to the same page, but with different content inside the <a></a> tags. Sometimes there must be text, sometimes an image. I made a xsl template for these links, similar to this: < xsl:template name ="DoLink"> < xs ...Show All
Paolo Marini can not create an SQLConnection object
I am getting an initialization exception when I instantiate SQLConnection. The exception occurs emediately upon creating an instance and does not depend on whether I supply a connection string for the constructor. The odd thing is that I am not getting this error on my development computer, only when I install it on a different computer. The computer giving the exception has .Net 2.0 installed from the redistributable which I downloaded fr ...Show All
Bissy Binding to a datagrid
Can anyone help with this one Have a form with a listbox and 5 textboxes, by clicking the different customer id's in the listbox this then displays the relevant info in the textboxes which is first name, last name, city, state and zip code, this works fine but I'm trying to display at the same time the order details for each selected order id in a datagrid but can't get it to work The order details to be displayed in the datagrid from the databa ...Show All
chaosEngine How to searching all rows of a Dataset for a specific piece of data?
I'm new to VB2005 Express ADO.NET. I imported data from an Excel file int a dataset and can successfully display it in a table using the built in tables. So I know the data is being imported to my program correctly. I now want to loop through all the rows of data searching for a specific item of data. For example if the dataset is a list of inventory items, I want to build a list of only those items that are out of stock. I assume the b ...Show All
