text stringlengths 8 267k | meta dict |
|---|---|
Q: How Do I Format a HTML Form Without Using Tables I know it's bad to use HTML Tables for everything... and that tables should be used only to present tabular data and not to achieve some style goal.
My question is, how do you make HTML forms with CSS so they look nice and aligned like when using tables?
A: Take a l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Best solution for migration from Oracle Forms 6i to the web? I work in an Oracle shop. There's a toolset that consists of roughly 1000 Oracle Forms (using the Forms builder from 6i, early 90's software) with Oracle 10g on the back end. It's serving roughly 500 unique people a month, with 200 concurrent connections... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Problem with width of auto-generated columns in DataGrid Maybe world peace would be easier, but I have a problem with the widths of auto generated columns when a DataGrid has no rows. The column headings all squeeze up with no spacing between them. I've tried adding the following CSS to no avail:
td.gridHeader
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trace vs Debug in .NET BCL It seems that the
*
*System.Diagnostics.Debug, and
*System.Diagnostics.Trace
are largely the same, with the notable exception that Debug usage is compiled out in a release configuration.
When would you use one and not the other? The only answer to this I've dug up so far is just t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: Excel SheetSelectionChange event example needed I have a problem I'm trying to solve involving interfaceing a C++ program with Excel (an import interface, specifically). The SheetSelectionChange sounds like it will get me most of the way to where I need to be, but I can't find any good documentation or examples on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is MATLAB good for? Why is it so used by universities? When is it better than Python? I've been recently asked to learn some MATLAB basics for a class.
What does make it so cool for researchers and people that works in university?
I saw it's cool to work with matrices and plotting things... (things that can be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: How do I work with Multiple Recordsets in C++ ODBC I am trying to streamline a complex process of storing information in multiple tables and them linking them to a central table. The linking occurs using IDENTITY values generated in each table to provide the unique linking. I know I can use a combination of SET NO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where can I get the missing figures from the freely available, classic "Programming Ruby" e-book? I am studying the content of "Programming Ruby- The Pragmatic Programmer's Guide" but the HTML version does not include the Figures.
Are the figures available anywhere online?
A: Unfortunately, the HTML version applies... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET MVC + ORM I am in the start up of a project using ASP.NET MVC and have started creating my models. Since I know some Ruby On Rails and would like to use a system as similar to Rails Active Record as possible.
Have anyone used Castle Projects Active Record in a ASP.NET MVC application (or any application that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you check if a folder is accessible over a network in c# I need to know if a folder is accessible to other computers on the network, so the first part of this is checking if the folder is shared accross the network. As the folder I'm checking may be a sub-folder, I can't just iterate across shared folders on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to resolve "Could not find schema information for the element/attribute "? In visual studio, I have an asp.net 3.5 project that is using MS Enterprise Library 4.0 application blocks.
When I have my web config file open, my Error list fills up with 99 messages with things like
Could not find schema information ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: ASP.NET jQuery error: Unknown Web Method This is my first time attempting to call an ASP.NET page method from jQuery. I am getting a status 500 error with the responseText message that the web method cannot be found. Here is my jQuery $.ajax call:
function callCancelPlan(activePlanId, ntLogin) {
var paramList = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: ASP.NET: How to access repeater generated form input elements? i'm want to have a repeater generate a bunch of checkboxes, e.g.:
<tr><td><input type="checkbox" name="t" value="11cbf4deb87" /> <input type="checkbox" name="a" value="33cbf4deb87" />stackoverflow.com</td></tr>
<tr><td><input type="checkbox" name="t" val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Convert UTC/GMT time to local time We are developing a C# application for a web-service client. This will run on Windows XP PC's.
One of the fields returned by the web service is a DateTime field. The server returns a field in GMT format i.e. with a "Z" at the end.
However, we found that .NET seems to do some kind o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "341"
} |
Q: Is there a way to programmatically decide which WCF session to connect to? I need to be able to use WCF Session capability in a Silverlight application. Currently Silverlight only supports basicHttp binding, so this is impossible. My thoughts are to create a middle piece with wsHttp capabilities that will handle the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Utility to get the latest version of a windows forms app from a network share Is there any utility that will copy the "official" build of a windows forms app from a central network share and launch it (from a client desktop)? I want to make sure users get the latest version when I update the binaries on the central ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you enable anti aliasing in arbitrary Java apps? Many Java Apps don't use anti-aliased fonts by default, despite the capability of Swing to provide them. How can you coerce an arbitrary java application to use AA fonts? (both for applications I'm running, and applications I'm developing)
A: Swing controls ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Test Reporting We are migrating our test report data (unit, regression, integration, etc..) from an XML format to a database format for better analysis. Right now the majority of our test analysis is done using the CruiseControl.NET dashboard, but this is limited to primarily the most recent test data. Older test da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Python class factory ... or? We have a database library in C# that we can use like this:
DatabaseConnection conn = DatabaseConnection.FromConnectionString("...");
This library hides many of the differences between different database engines, like SQL function names, parameter names and specifications, etc.
Internal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Server - script to update database columns from varchar to nvarchar if not already nvarchar I am in a situation where I must update an existing database structure from varchar to nvarchar using a script. Since this script is run everytime a configuration application is run, I would rather determine if a column ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Winforms - best directory / project structure Wanted to see peoples thoughts on best way to organize directory and project structure on a project / solution for a winforms C# app.
Most people agree its best to seperate view, business logic, data objects, interfaces but wanted to see how different people tackle thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/179988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Change today's date, advancing one month and setting the systemtime I would like a code sample for a function that takes a tDateTime and an integer as input and sets the system time using setlocaltime after advancing that tDateTime by (int) months. The time should stay the same.
pseudo code example
SetNewTime(NOW,2)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why is LINQ to SQL converting my string parameter to a column name? This Linq to SQL query ...
Return (From t In Db.Concessions Where t.Country = "ga" Select t.ConcessionID, t.Title, t.Country)
... is generating this SQL:
SELECT [t0].[ConcessionID], [t0].[Title], [t0].[Country]
FROM [dbo].[Concessions] AS [t0]
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do configure optional or "extraneous" URLs? How would you configure/handle extraneous/optional URLs entities (aliases, maybe)?
SO is a good example:
*
*stackoverflow.com/questions/99999999/
*stackoverflow.com/questions/99999999/question-goes-here (bad example, but I couldn't think of better)
Amazon URLs ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XML Serialization, No Whitespace I have the following serialization method:
Private Function SerializeData(ByVal data As cData) As String
If data IsNot Nothing Then
Dim xml_stream As New MemoryStream()
Dim sr As StreamReader
Dim xs As New XmlSerializer(GetType(cData))
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Why an InitialContext on Remote EJB3 Session Beans Why do I need to specify various driver info when I call a remote EJB?
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=localhost:1099
Shouldn't we only nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I find out when a picture was actually taken in C# running on Vista? In windows XP "FileInfo.LastWriteTime" will return the date a picture is taken - regardless of how many times the file is moved around in the filesystem.
In Vista it instead returns the date that the picture is copied from the camera.
How c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: How can I combine multiple rows into a comma-delimited list in SQL Server 2005? Right now, I have a SQL Query like this one:
SELECT X, Y FROM POINTS
It returns results like so:
X Y
----------
12 3
15 2
18 12
20 29
I'd like to return results all in one row, like this (suitable for using in an HTML <AREA>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Groovy parsing JSON vs XML Using groovy, would you expect better performance in terms of speed and memory overhead to read and query JSON vs XML?
A: JSON is smaller and simpler than XML. I'd bet that JSON is faster to parse.
YAML would be faster still.
A: If speed was really an issue, I would rather use a java ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL Server - Using CLR integration to consume a Web Service There are a few tutorials on the web that describe consuming a Web Service using SQL Server 2005's CLR integration. For the most, the process seems pretty convoluted. I've run into several issues including the need to change my database's trust level, and u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Checkout subdirectories in Git? Is it possible to check out subdirectories of a repository in Git?
Imagine I am setting up a new WordPress installation. I will create two new directories for my plugin and theme customization:
*
*wordpress/wp-content/plugins/myplugins/
*wordpress/wp-content/themes/mytheme/
I wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "179"
} |
Q: Fatal Git error when switching branch Error message:
fatal: git checkout: updating paths is incompatible with switching branches/forcing
How to get past this Git checkout error?
A: By explicitly specifying “git checkout HEAD $blah” instead of just saying “git checkout $blah”, assuming you did want to check out a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Executing a stored procedure inside BEGIN/END TRANSACTION If I create a Stored Procedure in SQL and call it (EXEC spStoredProcedure) within the BEGIN/END TRANSACTION, does this stored procedure also fall into the transaction?
I didn't know if it worked like try/catches in C#.
A: I believe in MS SQL Server the store... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: What is the best 3rd party GUI framework for application development in C#? Examples could be Infragistics or DevExpress.
But I'm also looking for your opinions on other frameworks. It could even be WPF if that is your favorite.
A: Infragistics is very good. I think they have a better product for windows than the w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to handle a broken pipe (SIGPIPE) in python? I've written a simple multi-threaded game server in python that creates a new thread for each client connection. I'm finding that every now and then, the server will crash because of a broken-pipe/SIGPIPE error. I'm pretty sure it is happening when the program tries... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Dynamically find the class that represents a primitive Java type I need to make some reflective method calls in Java. Those calls will include methods that have arguments that are primitive types (int, double, etc.). The way to specify such types when looking up the method reflectively is int.class, double.class, et... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: How can I change the title of the document during .ready()? I am using some nested layouts in Ruby on Rails, and in one of the layouts i have a need to read in a string from a div and set that as the title of the document. What is correct way (if any) to set the title of the document?
<script type="text/javascript">... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "150"
} |
Q: Detecting when a user leaves a page / browser in Flex I have an HTML wrapper that contains a Flex application, is there an Event that I can listen on, that is triggered when a user leaves the HTML wrapper either by navigation arrows or closing the browser?
Thanks.
A: You can also listen for Event.ACTIVATE and Even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Designing Game Objects I recently started working on a small game for my own amusement, using Microsoft XNA and C#. My question is in regards to designing a game object and the objects that inherit it. I'm going to define a game object as something that can be rendered on screen. So for this, I decided to make a bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Generating a Reporting Services 2005 PDF report and storing it on disk Is there an easy way to generate a PDF report from an RDL that's been uploaded to Report Manager and put that file somewhere on the server's disk? I already have a location on disk to put the file, I just need to know how to programmatically gene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I time a method's execution in Java?
*
*How do I get a method's execution time?
*Is there a Timer utility class for things like timing how long a task takes, etc?
Most of the searches on Google return results for timers that schedule threads and tasks, which is not what I want.
A: Use a profiler (JP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1008"
} |
Q: How can I expose a C ODBC connection to a JVM using JNI? I'm embedding a JRE in an existing C application using the invocation API, and
I'd like to be able to use JDBC to work with the database in that code. This
application is a transaction processing application, and the database
transaction is managed by code in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Default constructor with empty brackets Is there any good reason that an empty set of round brackets (parentheses) isn't valid for calling the default constructor in C++?
MyObject object; // ok - default ctor
MyObject object(blah); // ok
MyObject object(); // error
I seem to type "()" automatically everytime.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "225"
} |
Q: jQuery DIV click, with anchors To make click-able divs, I do:
<div class="clickable" url="http://google.com">
blah blah
</div>
and then
$("div.clickable").click(
function()
{
window.location = $(this).attr("url");
});
I don't know if this is the best way, but it works perfectly with me, except for one iss... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Multi-site login ala Google Not sure if the title is quite right for the question but I can't think of any other way to put it..
Suppose you wanted to create multiple different web apps, but you wanted a user who was logged into one app to be able to go straight to your other app without re-logging in (assuming they... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: HTTP input filter like mod_security for WebSphere? Does WebSphere offer an HTTP input filter / firewall like mod_security?
I know that it's possible to have Apache be the HTTP server front-end to WebSphere, but that type of configuration is beyond my influence. We're stuck using just what WebSphere itself can do.
E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Editing tables with MSHTML Is there a way to create/edit a table using MSHTML without resorting to editing the underlying HTML?
A: If you want to automate this you can manipulate the DOM by adding rows and cells and tables if need to the document.
One the tables and rows are there the user can edit them like any ot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I copy a mySQL Database in ruby on rails? We are making a Ruby On Rails webapp where every customer gets their own database.
The database needs to be created after they fill out a form on our website.
We have a template database that has all of the tables and columns that we need to copy. How can I do this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Where are the DataValueField values for a CheckBoxList stored? I have this CheckBoxList on a page:
<asp:checkboxlist runat="server" id="Locations" datasourceid="LocationsDatasource"
datatextfield="CountryName" datavaluefield="CountryCode" />
I'd like to loop through the checkbox elements on the client using Java... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Which Visual Studio debugger features are missing from WinDbg? Are there any?
A: A polished UI is a feature. Windbg somewhat lacks this feature. But that only matters when UI "bugs" slow me down, and that's not really very often.
A: Mostly the easier to use GUI -- it has many more debugging features than VS.
BTW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Twiki/Source Control with fine-grained permissions for internal and external use We've been using trac and svn internally with fairly good results. Now we'd like to open up parts of our system to external vendors - eg. we'd like to create an area on the twiki for our external designer to upload images, document thin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Proper naming of enum values for C# How do you think, is it a good idea to have such an enum:
enum AvailableSpace {
Percent10,
Percent20,
SqF500,
SqF600
}
The question is about the semantics of the values names, i.e. both percentage and square feet. I really believe that it's not a good idea, but I coul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Visual Designer errors, when there are no errors I get errors when viewing forms and there are not any. I can close VS and reopen and it is fine. What cases this? Can it be fixed without closing?
A: Verify none of your custom user controls has any code errors.
Also try starting up Visual Studios using devenv /re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to preview git-pull? Is it even possible?
Basically, there's a remote repository from which I pull using just:
git pull
Now, I'd like to preview what this pull would change (a diff) without touching anything on my side. The reason is that thing I'm pulling might not be "good" and I want someone else to fix it b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "243"
} |
Q: Change Windows Mobile 6.1 Theme Programmatically I am trying to figure out the proper procedure for applying a new tsk based theme file in windows mobile 6.1.
I have tried working off of the page http://www.pocketpcdn.com/articles/changetodaytheme.html But this only changes the background, not the system colors for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: DataReader or DataSet when pulling multiple recordsets in ASP.NET I've got an ASP.NET page that has a bunch of controls that need to be populated (e.g. dropdown lists).
I'd like to make a single trip to the db and bring back multiple recordsets instead of making a round-trip for each control.
I could bring back mult... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: What are the limits of ruby on rails? I have a memory of talking to people who have got so far in using Ruby on Rails and then had to abandon it when they have hit limits, or found it was ultimately too rigid. I forget the details but it may have had to do with using more than one database.
So what I'd like is to k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do I POST from an iframe to another page outside the iframe? Within an iframe I have a user validate credit card payment information with a 3rd party website and upon validation the page will redirect to a predefined URL within our application. However, it POSTs to this URL within the iframe itself. Is there a c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get the Primary Key of a new Entry I have a number of child tables that have a foreign key to a parent table.
How do I add an entry in the parent table and get the primary key of that entry, so that I can then enter rows in the child tables that point to the entry in the parent table?
I'm doing this in a MS Access D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What are your Java 'rules'? I'm learning Java and I'm wondering what everyone's Java rules are. The rules that you know intrinsically and if you see someone breaking them you try to correct them. Things to keep you out of trouble or help improve things. Things you should never do. Things you should always do. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Can Delphi 2009 in English and in French coexist on the same machine? Does anyone know (like in tried and succeeded) if I can have D2009 both in English and in French?
It's not so much to generate French or English applications but to have the IDE available in either language to take screen shots and make demos in F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Are C++ Templates just Macros in disguise? I've been programming in C++ for a few years, and I've used STL quite a bit and have created my own template classes a few times to see how it's done.
Now I'm trying to integrate templates deeper into my OO design, and a nagging thought keeps coming back to me: They're just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "65"
} |
Q: Excel automation via OLE - suppressing / catching dialog box errors? I refresh Excel 2007 data connections via a C# program and OLE. Most of the work is done by a single Workbooks.RefreshAll() statement.
As is the nature of refreshing spreadsheets, various things can go wrong. During the refresh process, the program... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Equation Solvers for linear mathematical equations I need to solve a few mathematical equations in my application. Here's a typical example of such an equation:
a + b * c - d / e = a
Additional rules:
*
*b % 10 = 0
*b >= 0
*b <= 100
*Each number must be integer
*...
I would like to get the possible solutio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Updateable (and persistable) dataset based on a join - possible with ADO.Net? So lets say I have a dataset based on:
SELECT TopicLink.*, Topic.Name AS FromTopicName, Topic_1.Name AS ToTopicName
FROM TopicLink INNER JOIN
Topic ON TopicLink.FromTopicId = Topic.TopicId INNER JOIN
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Obtain file path of C# save dialog box I've got a save dialog box which pops up when i press a button. However i dont want to save a file at that point, i want to take the name and place it in the text box next to the button, for the name to be used later.
Can anybody tell me how to obtain the file path from the sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Is it a good idea to use Active Directory user login to your application I am developing a web based intranet for my company. I just want to know is it a good thing for users to login the application using the active directory login details or shall i create a login together with the application db.
If there is any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I dynamically change the Active Record database for all models in Ruby on Rails? In our program, each customer gets their own database. We e-mail them a link that connects them to their database. The link contains a GUID that lets the program know which database to connect to.
How do I dynamically and prog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Delphi versus C++ Builder - Which is Better Choice for a Java Programmer Doing Win32 I'm a pretty experienced Java programmer that's been doing quite a bit of Win32 stuff in the last couple of years. Mainly I've been using VB6, but I really need to move to something better.
I've spent a month or so playing with Del... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: C# WinForms UserControl Mouse Event Help I have a custom control that I created for my project. In this control there are several child controls like a Label, a PictureBox, and a LinkLabel. Other then the LinkLabel, I want the mouse over event currently on the parent control and have the control respond to the mouse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you open a hxs file? I understand that a hxs file is a compiled help file, a replacement for .chm files, but I can't seem to open them.
I've read that you read them with the help explorer, dexplore.exe found here:
C:\Program Files\Common Files\microsoft shared\Help 9\dexplore.exe
When I try opening the file w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Losing Button.Click events after first partial postback in UpdatePanel I have a Page that has a single instance of a UserControl that itself has a single UpdatePanel. Inside the UpdatePanel are several Button controls. The Click event for these controls are wired up in the code-behind, in the Init event of the Use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to display DateTime with an abbreviated Time Zone? I am aware of the System.TimeZone class as well as the many uses of the DateTime.ToString() method. What I haven't been able to find is a way to convert a DateTime to a string that, in addition to the time and date info, contains the three-letter Time Zone abbr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Enforce the use of the "this" and "base" at compile-time in Visual Studio/C# When extending classes, I find it very descriptive to use the base (MyBase in VB) keyword when accessing methods in the base-class. And the this (Me in VB) keyword when accessing functions in the class extending the base-class. That goes fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there any way instead of a JS hack where I can post from an iframe to another page outside the iframe? Is there any way instead of a JS hack where I can post from an iframe to another page outside the iframe?
the iframe is posting data to a 3rd party and then just responding back with a URL which is the redirecti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# Abstract class, using anonymous instead of declaring concrete class? I have an abstract class and I would like to use it quickly by NOT create a concrete class that inherit the abstract class. Well, to define the abstract method anonymously.
Something like that:
Command c = new Command(myObject){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I make JUnit more verbose? I'd like to have it yell hooray whenever an assert statement succeeds, or at the very least have it display the number of successful assert statements that were encountered.
I'm using JUnit4.
Any suggestions?
A: You can use AOP (with Spring or AspectJ) define pointcuts on all assert m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Placement of the asterisk in pointer declarations I've recently decided that I just have to finally learn C/C++, and there is one thing I do not really understand about pointers or more precisely, their definition.
How about these examples:
*
*int* test;
*int *test;
*int * test;
*int* test,test2;
*int *test,t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "121"
} |
Q: How do you add dynamic 'where' clauses to a linq query? I've got a User table with a bitmask that contains the user's roles. The linq query below returns all the users whose roles include 1, 4 or 16.
var users = from u in dc.Users
where ((u.UserRolesBitmask & 1) == 1)
|| ((u.UserRolesBitm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: What does the setting WorkArounds2=8192 do on an ODBC connection? My company has a 3rd party application that runs on a Progress database. I've been building an application on top of their database using an ODBC connection.
One of the "quirks" of Progress is that it doesn't honor SQL column widths, so it will allow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mocks or real classes? Classes that use other classes (as members, or as arguments to methods) need instances that behave properly for unit test. If you have these classes available and they introduce no additional dependencies, isn't it better to use the real thing instead of a mock?
A: It is fine to use the "rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Sharepoint InputFormSection control look-a-like I'm looking for a similar control to the InputFormSection control in Sharepoint that I want to use in a regular web page that doesn't run in the context of Sharepoint. Here's how the inputformsection looks like : http://graegert.com/wp-content/uploads/2008/01/moss_admi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LINQ inner join betwenn Enumerable and DB Table I'm trying to determine which records to delete from a database when a user submits a form.
The page has two CheckBoxList one representing the records before modification and one after.
I can easily get the selected values that need to be deleted like this...
//get the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create Generic List from a subclass Option Explicit On
Option Strict On
Public Class Class1
Dim l As List(Of A)
Public Sub New()
l = New List(Of B)
End Sub
End Class
Public Class A
End Class
Public Class B
Inherits A
End Class<p>
I've run into this problem.
I have a list declared of a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mixed syntax for control structures generating syntax errors I'm refactoring some PHP code and discovered that certain nested combinations of
if () :
and
if () {
generate syntax errors. Not that I would normally mix the two, but I like to do frequent syntax checks as I'm writing code and I kept getting a syntax... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Graphical open source text editor for large text files (> 200 MBytes) Is there an open source alternative (similar to ultraedit) to handle files with filesize >200 MBytes?
A: vim or gvim (graphical vim) should handle that with pleasure.
A: Duplicate of Best Free Text Editor Supporting More Than 4G Files? and even ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using javascript and jquery, to populate related select boxes with array structure Using answers to this question, I have been able to populate a select box based on the selection of another select box. ( I posted my answer here) Pulling the data from an array structure built server-side, stored in a .js file and re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How do I set a click event for a form? I have a c# form (let's call it MainForm) with a number of custom controls on it. I'd like to have the MainForm.OnClick() method fire anytime someone clicks on the form regardless of whether the click happened on the form or if the click was on one of the custom controls. I'm l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What's the proper use of php.ini's session.save_path? I'm running PHP on Windows/IIS.
My session variables don't seem to be preserved from page-to-page.
This code…
//echos out the session variables in a nice format for inspection
echo "<p><pre>";
print_r($_SESSION);
echo "</pre></p>";
…outputs blank values, like th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you deal with connection strings when deploying an ASP.NET site? Right now our test and production databases are on the same server, but with different names. Deploying has meant editing Web.config to change all the connection strings for the correct database. A step which I forget all too frequently...
We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Obtaining MP3 Audio Compression Library I would like to find out where I would be able to find the MP3 library, for implementation in an Operating System.
A: Are you looking for Lame?
A: One note: MP3 encoding is covered by patents held by the Fraunhofer Institute and Thomson Multimedia. If the Operating System yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MOSS 2007 Document Library - choice column not displaying selected value I have something funky going on with MOSS & was wondering if anyone out there has seen anything like it:
I have a document library in MOSS that has several custom columns added to it. I have a column of type choice. For one document in the li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a master list of the Big-O notation for everything? Is there a master list of the Big-O notation for everything? Data structures, algorithms, operations performed on each, average-case, worst-case, etc.
A: Dictionary of Algorithms and Data Structures is a fairly comprehensive list, and includes complexity ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Display an invalid default value in a DataGridViewComboBoxColumn I have a DataGridViewComboBoxColumn in a DataGridView in a windows application. The user can change settings elsewhere to potentially invalidate a selection in a DataGridViewComboBoxColumn. I have a requirement to retain/display the invalid item whil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to filter items from a std::map? I have roughly the following code. Could this be made nicer or more efficient? Perhaps using std::remove_if? Can you remove items from the map while traversing it? Can we avoid using the temporary map?
typedef std::map<Action, What> Actions;
static Actions _actions;
bool expired... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Single-row subqueries in Oracle -- what is the join plan? I've just discovered that Oracle lets you do the following:
SELECT foo.a, (SELECT c
FROM bar
WHERE foo.a = bar.a)
from foo
As long as only one row in bar matches any row in foo.
The explain plan I get from PL/SQL developer is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best way to access Java classes from C++? (better than using JNI directly) I have to integrate a large Java library in a quite large C++ application. A solution is to use JNI but this requires to hand code all the classes. Python has, for example, a wonderful solution with JPype (http://jpype.sourceforge.net/) that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Express for production? Is using SQL Express in a production environment a reasonable choice?
I looked at Microsoft's comparison chart:
https://www.microsoft.com/en-us/sql-server/sql-server-2019-comparison
I would be using SQL Express with a small to mid-sized web site. I don't believe I would exceed the 4GB da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: Learn C first before learning Objective-C Being an aspiring Apple developer, I want to get the opinions of the community if it is better to learn C first before moving into Objective-C and ultimately the Cocoa Framework?
My gut says learn C, which will give me a good foundation.
A: It's a good idea to learn C befor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "107"
} |
Q: Bold text for a tab control I'd like to bold the text for a tab page under certain conditions (not, necessarily, GotFocus). Is it true the only 'er easiest way to do this is by overriding the DrawItem event for the tab control?
http://www.vbforums.com/showthread.php?t=355093
It seems like there should be an easier ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/180563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.