instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
A view flipper has 4 list views. When i flip the view flipper using gesture listener implemented on view flipper, it works fine. But I am not able to scroll the list view since the touch event is not able to trickle down from view flipper to list view. Please provide solutions.
private class MyViewFlipper extends ViewF... | stackexchange/codereview |
I am currently working on a Level Editor for XNA which is built by combining Windows Forms and XNA.
I am using stuff from the example on App Hub link text, but I have made some changes, so I have some ViewportController class which manages all the viewport controls, instead of the form manages them directly.
The proble... | stackexchange/codereview |
Here is my current PS1:
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
How can I display the current branch in a different color?
| stackexchange/codereview |
I am developing a web application using c#. I am reading some data from database to a data table named dt . Sample data is shown below.
agentName WeekNumber Score
John 3 45
John 5 78
John 6 33
I want to make some change in the above data based on some conditions. Cause i ... | stackexchange/codereview |
I'm using this example to use the Facebook Javascript SDK to login.
https://github.com/facebook/connect-js/blob/master/examples/jquery/login.html
Everything works fine in that I can login and it shows the profile picture in the div.
I then want to retrieve the cookie server-side and use it to make some requests of the ... | stackexchange/codereview |
I have a separete part of the site for separate, dedicated customers, they have tools under /dedicated path, and all controllers they have are inheritences of DedicatedController.
I want to create a before_filter in application_controller to protect this customers from opening any other pages that are not in controller... | stackexchange/codereview |
I have the following in my main.xml the image marker does not fill the width of the device?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
... | stackexchange/codereview |
I have to form a JSON string in which a value is having new line character. This has to be escaped and then posted using AJAX call. Can any one suggest a way to escape the string with JavaScript. I am not using jQuery.
| stackexchange/codereview |
HttpContext.Current.Request.ServerVariables["SERVER_PORT"]
HttpContext.Current.Request.ServerVariables["SERVER_PORT_SECURE"]
HttpContext.Current.Request.ServerVariables["SERVER_NAME"]
HttpContext.Current.Request.ApplicationPath
I want to access these value via a webservice -C#, whenever I call these values in webservic... | stackexchange/codereview |
I got this array:
backgrounds:
{
bc2: '/images/layout/images/backgrounds/bc2.jpg',
codmw2: '/images/layout/images/backgrounds/codmw2_6.jpg',
bf2: '/images/layout/images/backgrounds/bf2.jpg',
bf2142: '/images/layout/images/backgrounds/bf2142.jpg',
codbo: '/imag... | stackexchange/codereview |
User can have the following access rights:
Read = 1
Create = 2
Edit = 4
Delete = 8
Publish = 16
Administer = 32
When access rights are saved in the database, only one number is used to represent all access rights for that user.
e.g.
3 = Read + Create
25 = Read + Delete + Publish
How can I get all access rights for a ... | stackexchange/codereview |
I have to authorise users using its Windows account in a web application.
I use LDAP to validate with the Active Directory if the user/pwd in a specific domain is correct, but I need a list of the available domains because the users can be from differents domains. I try a DNS SRV query to list the ldap servers ( _ldap.... | stackexchange/codereview |
I'm developing a Twitter client for Android and I would like to know which is the better way to build my app.
I want to have a listview that, when clicked, calls another listview to see details and so on but I would also like to be able to go back in my previous list.
What is the best way to do this in Android? At ever... | stackexchange/codereview |
I have a MovieClip which is just a progress bar animation with about 100 frames. Then I load a zip file using a URLStreamLoader and subscribe to the ProgressEvent.PROGRESS event. After loading starts I receive notifications correctly and I set the bar's corresponding frame using gotoAndStop(). Everything seems to work ... | stackexchange/codereview |
I'm looking for how to set the error markers (red ! marks) in a Windows.Forms.Datagrid. After research I believe they appear after some validation routine, but how do I set these manually? E.g. If each row goes to a stored procedure I'd like to place an error marker whenever the SP returns an error
| stackexchange/codereview |
I am developing an iPhone application, in which I want to use customized alert sheet. The customization is required since I want to set image for Alert-Sheet buttons, change the size of these button etc.
I have done the following things:
Created UIView with customized controls that I wanted.
Created and displayed UIAl... | stackexchange/codereview |
I am trying to open PDF file in android, but cant open it. It will throw an error.
and also if, Is there any code for open PDF file in android, so tell me
| stackexchange/codereview |
FOR EXAMPLE: Given a string... "1,2,3,4"
I need to be able to remove a given number and the comma after/before depending on if the match is at the end of the string or not.
remove(2) = "1,3,4"
remove(4) = "1,2,3"
Also, I'm using javascript.
| stackexchange/codereview |
When a Silverlight project throws an exception it ends up raising a "script error" dialog that needs to be acknowledged before proceeding. We're using Silverlight for part of the content on a HTML page, but don't want the error dialog to appear if that content is unavailable. Instead we are already writing the script... | stackexchange/codereview |
I am having trouble with my bash prompt and line wrapping behaviour. If I use a static prompt
export PS1="test$ "; ### Works perfectly
I can type long lines on the prompt and they wrap fine. Scroll up/down in history also work fine.
On using dynamic prompt like:
export PS1="\u@\h(\W)$ "; ### Long lines don't wrap... | stackexchange/codereview |
Although I've worked with it in C and Java, I forget the basic output method for getting placeholders to make columns on a text output:
Oakenshield Thorin
Baggins Bilbo
Gray, the Gandalf
Then, once this function is known, where can I find a standalone library to do it in Javascript?
| stackexchange/codereview |
I run a localhost XAMPP server at my office for testing purposes. I am traveling and decided I'd get some work done on my laptop so I installed a new version of XAMPP on my laptop, copied my files over but for some reason, I get non-stop errors on my laptop version where I don't get a single on my desktop.
One of the b... | stackexchange/codereview |
Let's assume you have a string that you want to split into chunks having a maximum size of x characters. If you ignore new lines, a suitable regular expression would be .{1,x}
The problem I have is that I want to keep URI coded special characters like %20 together.
Example:
Hello%20world%20how%20are%20you%20today
Doing... | stackexchange/codereview |
I'm evaluating Rx for a trading platform project that will need to process thousands of messages a second. The existing platform has a complex event routing system (multicast delegates) that responds to these messages and performs a lot of subsequent processing.
I've looked at Reactive Extensions for the obvious benefi... | stackexchange/codereview |
I have a user cotrol which consists of a canvas that contains an ellipse and a viewbox. The ellipse is the background, and the viewbox is filled at runtime with graphics loaded from another assembly. I'm having problems creating a "hot" behavior for my control, so that the ellipse changes color when the mouse is over i... | stackexchange/codereview |
Is it possible to execute X++ code as a step in an Ax Workflow?
So after an approval happens, some arbitrary code gets executed, then the workflow continutes?
eg
Submit payment for approval.
Payment is approved by Bill.
Execute code that sends information about payment to another system
Continue workflow
| stackexchange/codereview |
I have read into the finish(); commands and the FLAG_ACTIVITY_CLEAR_TOP commands and also checked out Common Ware's answer on killing app, but I am not sure how to put this into my app.
Basically, I have a user click a button that takes them to the camera. The user then snaps a photo and it brings them to a layout view... | stackexchange/codereview |
How to prevent elements from inheriting dimensions of parent elements?
Example HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Problem</title>
<style type="tex... | stackexchange/codereview |
I am developing a project in Java in which I want the count of all active sessions in Tomcat. Based on that I want to see how much of those users are active and actually using the application.
| stackexchange/codereview |
this is the error im getting when i "script/server":
can't activate activesupport (= 3.0.0, runtime) for [], already activated activesupport-2.3.8 for ["rails-2.3.8"]
i THINK whats happening here is that something is trying to call in / active "activesupport" for 3.0.0 ... when the "activesupport" for 2.3.8 is already... | stackexchange/codereview |
After reading this question regarding Linux:
Open Terminal From Eclipse
I have the same question for Macs. Is there a plugin available that lets me open a finder window or a terminal based on some folder in Eclipse?
| stackexchange/codereview |
How to debug the above error ?
| stackexchange/codereview |
i am new to JSON and i have e datas returning form db
eg
example
example1
example2
sample
sample1
sample 2
like this i need to convert it to json like this
{'title':'Heavy Metal', 'results': [
['/metal/1', 'Disturbed - The Game', 'icons/metal.png'],
['/metal/2', 'Marilyn Manson - The Bea... | stackexchange/codereview |
I have the following lines (many, many):
...
gfnfgnfgnf: 5656756734
arvervfdsa: 1343453563
particular: 4685685685
erveveersd: 3453454545
verveversf: 7896789567
..
What I'd like to do is to find line 'particular' (whatever number is after ':')
and replace this number with '111222333'. How can I do that using python regu... | stackexchange/codereview |
Does anyone know how to edit/change Wordpress's wp_list_pages function in order to add classes to the ul and li items?
I'm trying to implement the new version of jquery.treeview which requires <li class="expandable"> and <ul style="display: none;"> on expandable lists and child ul's.
I've been messing around with this ... | stackexchange/codereview |
When developing a site on VS2010/IIS 7.5, I'm using Web Deploy to publish the site from my machine to the dev site server.
The site has about 40 virtual directories, and I'd like to automagically create those on the server during the deployment. Is there a simple way to do this?
I'm considering writing a small app tha... | stackexchange/codereview |
I am attempting to put together a fairly complex form using dojo and dijit widgets. The form has multiple 'sections' which allow the user to attach an existing object (via select tag) or create an entirely new object inline in the form.
My inputs are rendered conditionally based radio buttons and manipulated via javas... | stackexchange/codereview |
If I wrap class A into class B in order to provide in B certain interface which A doesn't provide (different function names etc), do I call class B a wrapper or a adapter?
| stackexchange/codereview |
It's pretty hard for non-techies to find which key to hit so their PC boots off a USB keydrive, either by entering the BIOS > Boot menu (usually by hitting the Del key) or by having the BIOS display a menu (usually F12).
For users who still have Windows running sort of OK, I was thinking of writing a small app (in VB.N... | stackexchange/codereview |
I have a assignment to find all the prime factors of a number...
I need to write a function that takes a number and tells me all the prime factors of the number. For example:
n=350 prime factors:2 5 5 7
(I pass to the function a number in the range 0 to 18446744073709551615 - the maximum number is largest number that... | stackexchange/codereview |
I want to append two audio files in iPhone. Please help me to do this.
| stackexchange/codereview |
I am writing a custom AccessDecisionVoter that will allow access to certain resources only if the remote address of the request is found in a list of allow ip addresses. However, the value of the remote address returned by WebAuthenticationDetails.getRemoteAddress() is in a format that appears to be Ipv6. When runnin... | stackexchange/codereview |
I have noticed that some applications change their controls' positions to fit themselves as much as possible in the current resolution. For example, if the window is maximized, the controls are set in such a way that the overall GUI looks balanced.
Is it possible to make or implement this functionality in Visual studio... | stackexchange/codereview |
If you run this simple Xul example, you can see that when you scroll from the last (3°) button to the first, using tab, the middle button disappear. Any idea why? And how to fix?
(to run it you'll need to put an png image named "img.png" at content folder)
test.xul
<?xml-stylesheet href="chrome://test/content/test.css... | stackexchange/codereview |
Let the example be:
class Base {
Base (const Base & copyFrom) { globalRegister (* this); }
}
class Derived {
Derived (const Derived & copyFrom) : Base (copyFrom) {}
}
I've read suggestions to include the Base's copy constructor on the initialisation list of Derived in order to copy over the Base's properties (as ... | stackexchange/codereview |
there is something that is disturbing me a bit about rails 3.
i am trying to upgrade my application from rails 2 to rails 3.
i followed all the steps necessary to do and things were working well for me till now except one thing:
i have a helper method that is defined differently in different helpers, for example it is ... | stackexchange/codereview |
Here is a rather large chunk of code. The comments should be pretty helpful. What I'm trying to do is iterate through an NSArray of CGRects (wrapped in NSValues) and check if the place we're currently touching is inside one of those CGRects.
When I run this code however (notice the NSLog statement in the for loop), al... | stackexchange/codereview |
When creating a CMS which would you recommend?
Making a htaccess dynamically create the pages based on ?pg=name
or
Making a FTP connection to auto create each file on the fly? This means when a new page is created/edited/deleted the admin, when saved, would ftp into the site and create the page.
Pros and Cons
"Pro" ... | stackexchange/codereview |
ok i have 98% of the code done but struggling on the last bit. I'm creating a ordering system and i'm taking values from one page, sending them to a php page and inserting them into a mysql db like this:
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die("Cannot connect to mysql server");
mysql_select_d... | stackexchange/codereview |
I have no knowledge of GPU programming concepts and APIs. I have a few questions:
Is it possible to write a piece of managed C# code and compile/translate it to some kind of module, which can be executed on the GPU? Or am I doomed to have two implementations, one for managed on the CPU and one for the GPU (I understan... | stackexchange/codereview |
I'm using WPF with the MVVM pattern and just starting a very large project.
To keep concerns separated, I want to put all my validation rules into my data models.
But when I review how to do WPF validation, all the examples that I can find show how to do it with the ViewModel holding the validation rules. Some of ... | stackexchange/codereview |
I have a datagrid that is populated by an sql table. One of the fields is an id related (one-to-many) to another table within the database. When i show this field in the database, i would like to show it as a TextBlock/DataGridTextColumn that references a name field in the child table. The child table is preloaded w... | stackexchange/codereview |
This is a pretty complex MySQL query for me.
what i have is a table of phone numbers in the format of a US phone number 8153216458.
Example:
TABLE: numbers(number)
4512163215
4512158211
4512110579
8812163215
9405462136
3021548641
What i want is to list the available area codes ( as i'm selling numbers ) without repea... | stackexchange/codereview |
Is there some way I can suppress or disable the "Installed Software" & "Installation History" tabs on Help | About | Installation Details button in a RCP?
I'm not using P2 for this particular application so there will never be any history and the installed software tab has no content.
| stackexchange/codereview |
I'm a bit new to C# and I got this script that gets a record from a mssql database. There it converts the key to an object.
Its:
Object obj = result[i];
When I enable a breakpoint on the line after the declaration I see the data that is inside the object. Now I need to access the attribute with the data but because Im... | stackexchange/codereview |
I have a program which uses a CMD program to execute various arguements.
The arguements that would work in a normal CMD would be C:\temp\bin\fls.exe -m C: -r C:\temp\image.dd > C:\temp\bin\ntfs.bodyfile .
The C# program that I have written only works till C:\temp\bin\fls.exe -m C: -r C:\temp\image.dd but does not exec... | stackexchange/codereview |
After i retrieved a set of datatable from database, i need to edit the rows value before binding to the gridview.
for example, a set of datatable is retrived from database.
eg: [userid], [userEmail] --> 1 , james@hotmail.com
i would like to change "james@hotmail.com" to "james" then bind it to gridview.
Every rows o... | stackexchange/codereview |
I have integrated spring security core in my grails project and then s2-quickstart too.
So I got all the basic gsps, domain controllers also.
So I have one user with id = 'me' and password (encoded) = 'password' inside the database with role = 'ROLE_ADMIN'.
Now I am confuse with the api classes that they have. I need t... | stackexchange/codereview |
The question says it all: I'm looking for working, open source, implementations of algorithms (or derivatives there of) initially described in the Boids paper.
| stackexchange/codereview |
So far found plenty of help to get the pagination working for a get(table) command.
What I need is to pick only few of the entries from a couple of linked tables based on a sql where statement.
I guess the query command is the one to use but in this case how do I do the pagination since that command does not take ext... | stackexchange/codereview |
How do I use RegExp Replace to replace below word?
--
(1) Replace/Remove what ever word start with "a" and end with "c"!
Example (1): abc, xyz, axc, bbb, ccc ayc, a1c, abcc, axxyzc...
Replace after (1): , xyz, , bbb, ccc , , , ...
--
(2) Replace/Remove what ever word start with "abc=" and end with "&"!
Example (2): ab... | stackexchange/codereview |
I bid for a freelance gig earlier, coding in the Apex language, used for the Force.com CRM platform. It looks like an interesting language to learn and code, but it also looks expensive.
Is there a way I can download a shell platform, just for the dev tools etc?
| stackexchange/codereview |
I've to fix an old ASP.NET application's appearance so that it can conform to the new web visual identity of my organization. The old application does not have any master page and uses a very basic .include file. Modifying the .include header does not change the overall look of the app's pages much, and I still have to... | stackexchange/codereview |
Given the following xml variable:
declare @x xml
select @x = '<Details>
<Description>
<Attributes>
<Name>A</Name>
<Values><RecordId>1</RecordId><RecordId>2</RecordId></Values>
</Attributes>
<Attributes>
<Name>B</Name>
<Values><RecordId>3</RecordId><RecordId>4</RecordId></Values>
</Attributes>
</De... | stackexchange/codereview |
I'm not very fluent in SQL and my question is how can I rewrite the following statement to make it look more natural. The select I'm trying to write joins two tables -- "users" and "stats" -- and I know id's of users in advance. It's probably something very basic but I'm not an SQL ninja yet.
select
u.id,
sum(s... | stackexchange/codereview |
In cocoa touch
the navigation bar, have like a built in functionality to add gradiency to the color i'm applying to it,
for example if i'm setting a red color, it will give a gradient from red, to a whiter-red color.
What are the ways to change that?
using the properties of the
navigation bar.
(stopgradient,setbackg... | stackexchange/codereview |
in my application i am using array of button and i need to get the specified button which was pressed in the array. how to get.
Note: not in table view
| stackexchange/codereview |
I have the following javascript list, each item in this list has a script file url and a callback function, what i want to do is to iterate through this list, load each script, then execute the callback function, and NOT moving to next item unless the current callback is done executing..
var data = {
scripts: [
... | stackexchange/codereview |
I asked one of my developers to give each dev a different copy of the trunk to work on in /branches (under their own name).
That developer is not experienced in subversion (and neither am I), so I'm trying to determine if he did the right thing by copying the trunk into each branch folder and committing it, or if he sh... | stackexchange/codereview |
I am trying to get a rectangle box with an arrow on hover the links.
<a href="//">NAME</a>
on hover this i am trying to get a rectangle box with an arrow .
For example
like what we have in Facebook on hover of the Username we will be getting a rectangle box with contents inside it.
How to apply Css for t... | stackexchange/codereview |
Short version:
Could passing the handle from GlobalAlloc(GMEM_MOVEABLE, Size) to Marshal.PtrToStructure() and Marshal.FreeHGlobal() cause memory corruption?
Long version:
I'm using Windows Global memory allocation to pass a data structure back and forth between a Delphi and C# application (the fact that it's Delphi isn... | stackexchange/codereview |
I have a webview control that needs to support the fling gesture in Android in order to bring up a new record (load new data). This is occuring in a class that extends Activity. All the examples I've seen show how to implement gesture support for a textview, but nothing for webview.
I need to execute different actions ... | stackexchange/codereview |
Is there a way to open your e-mailclient from adobe air with mail attachment or else with a prefilled htmltext?
Thanks!
| stackexchange/codereview |
How to call duplex wcf callback service in WF4. Please give a simple example
| stackexchange/codereview |
DISCLAIMER: I've already looked at various approaches to solve my issue, so please read this before labeling this as a duplicate question
I have a javascript running on https://xyz.com which has to retrieve information from an application ABC running on the user's local machine say port 8080.
My constraints are that I ... | stackexchange/codereview |
i have an MKMapView and have a whole bunch of MKPinAnnotations being shown and all of them have call out feature which shows a more detail view depending on were the location is..
How can I implement a method that tells which pin has been pressed out of the group so it shows a more detail view about that location?
| stackexchange/codereview |
I read that the max length of URL can be 2,000 characters. I have therefore a table with varchar(2000) column type to store URLs. But this column can not be indexing only the first 1000 characters as shown below. What is the recommended datatype for URL?
mysql> create table myweb(id int not null auto_increment, url var... | stackexchange/codereview |
I have the following projects/assemblies in my solution:
Entities; It is a class library that contains two classes: Account and AccountDetail. Account class has a property Details which is of type ObservableCollection<AccountDetail> and I use it to store the details of the account object.
Core; It is a class library ... | stackexchange/codereview |
I created a grid using jquery struts2 grid plugin. I have a grid column which is the primary key of the table that I set to non-editable. When I try to edit one of the rows of the table in the grid, the key column is not somewhat passed to the server. I tried setting the editable attribute of the key column to true the... | stackexchange/codereview |
I post this question again but with more precision this time,
first, I have this function who return a string, there is some error about memory management or this fonction is ok?
-(NSString *) motAvecCle:(NSString *) cle
{
NSString *motRetour;
motRetour = @"";
cle = [FonctionUtile concatener:[[tableauConf... | stackexchange/codereview |
How can I check in JavaScript if a DOM element contains a class?
I tried the following code, but for some reason it doesn't work...
if (document.getElementById('element').class == "class_one") {
//code...
}
| stackexchange/codereview |
(I think I can use grep, anyway....) Trying to recursively list files modified on a specific date, but, the commands I try to use either list everything sorted by date, or only list files in the directory that I'm in. Is there a way to do this? Is it grep or something else?
| stackexchange/codereview |
I have a Jamfile with the following commands . I think bjam uses the unix install command to install. I'd like to change that to install --backup or install -b for a particular command.
exe datagen
: base_data_gen.cpp
install install-bin
: datagen
: <variant>release:<location>"$(BASETRADE_ROOT)_install/... | stackexchange/codereview |
On some, but not all, machines when we try to deserialize some XML using (written in C#) System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
we get a kind of security related error described in the error message and stack trace below. The exception is thrown by the assembly that gets generated by ... | stackexchange/codereview |
I have a user control which contains a series of radio buttons and some text fields on it. If a specific radio button is checked I want to validate the contents of two text fields.
My control markup contains this:
<asp:TextBox ID="FromDate" runat="server" Columns="8"></asp:TextBox>
<asp:TextBox ID="ToDate" runat="serve... | stackexchange/codereview |
I want to create a thread in a asp.net mvc application.
What will happen?
A) Thread will die when request ends and the response is sent.
B) Thread will continue to run and response will be sent when thread terminates.
C) Thread will run without blocking the response and die when it have completed it's task
| stackexchange/codereview |
I have this code below that loads images from the web.
Those images are shown after clicking on a table cell, and they are reloaded every time the table cell is clicked.
The point is that analyzing the memory allocation with "Instruments", when I go back from the detail view to the table, the memory occupied from the i... | stackexchange/codereview |
Hi
I wan to create a contact, so here is my code:
Intent addPersonIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT);
addPersonIntent.putExtra(Insert.NAME, "asd");
addPersonIntent.setType(Contacts.People.NAME);
addPersonIntent.putExtra(Insert.PHONE_TYPE, Contacts.Phones.TYPE_WORK);
addPersonIntent.putExtra(Insert.PHON... | stackexchange/codereview |
we can use :git=>'git path'来bundle install gem,
but how to use them from a svn path?
| stackexchange/codereview |
I'm doing code generation, creating a custom attribute to decorate a class using CodeDOM, targetting C# and VB.
To do this, I'm creating an instance of the CodeAttributeDeclaration class.
I'm currently setting the AttributeType property, as well as the Name, but it does not seem to be used. Instead, the Name property i... | stackexchange/codereview |
Environment: C#, .Net 3.5, Sql Server 2005
I have a method that works in a stand-alone C# console application project. It creates an XMLElement from data in the database and uses a private method to send it to a web service on our local network. When run from VS in this test project, it runs in < 5 seconds.
I copied t... | stackexchange/codereview |
I have 3 pickers on my view, one of which contains only images.
So, for this one, I have to use viewForRow, but for the other 2, which are common pickers with labels, I need titleForRow, except that if I use viewForRow, titleForRow never gets called.
How can I have both delegates called in my class?
This is what I have... | stackexchange/codereview |
I have a simple Windows Forms application which is used to calculate the solutions to a quadratic equation. Since it requires some values to be inputted into three different textboxes and then upon clicking a "Calculate" button, makes some calculations with the inputted values. Upon testing the application, and click... | stackexchange/codereview |
hey i am trying to work with a generic list in C# and for some reason after allocating memory for the list i am getting unhandeledNullException.
//edit
i found out what was my problem i did not use the properties currectly.
if lets say GeoInfo is a private member of my class, how do i do properties to it,
i tried :
... | stackexchange/codereview |
I hope someone can help me. I'm very new at this. I was wondering if it's possible to get an XSD Schema to dump XML data into multiple SQL tables (using the sql:relation attribute, etc.).
One table is proving no problems, so I just wondered if it's possible to dump data in two. It'd be nice to be able to do this with o... | stackexchange/codereview |
Some of my mysql database tables have been accidentally created as latin1 instead of utf8. I am now trying to fix the issue by changing the columns to their binary type then converting them to utf8 then changing them back to their original type. The problem is I am getting the following error when I try to do this:
ERR... | stackexchange/codereview |
I have this string:
525,294,475,215,365,745
and i need to remove 475..and comma.
and if i need to remove first number i need to remove also the next comma, also for last.
I can i do?
a regular expression?
thx
| stackexchange/codereview |
I have a Silverlight project that is accessing data via a Domain Service/Entity Framwork. I made a change to the database, I then updated teh EDMX, and then deleted and recreated the Domain Service. I can see the newly added properties in the DomainServiceName.metadata.cs file.
But I cannot for the life of me figure ou... | stackexchange/codereview |
I need to know is how can I set the width of an element in %.Please provide some information about the ratio of setting width in percentage.
Suppose I have a following html
<dl >
<dd >
<dl>
<dt >
something
</dt>
<dd>
something
</dd>
</dl>
... | stackexchange/codereview |
How to get rows as comma separated values.
select [name] from sys.objects where type='u'
i get this :
DropDownList
SubActivityDetails
Report
Employees
UserMaster
ProjectMaster
i want this :
DropDownList,SubActivityDetails,Report,Employees,UserMaster,ProjectMaster
in a single Query only
And also in this case
select [... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.