How can I validate if a URL in my database is NULL and if so, show an alert but if it has a URL, open it
func Facebook(sender: AnyObject) {
if let url = NSURL(string: face){
let alert = UIAlertView(title: "Aviso!!!", message: "Mmmm...
Good, I have looked for possible solutions but with them I can not solve the problem.
I try to open a modal window with Bootstrap but that does not open when I press the button.
<form class="form-inline">
<button ty...
I have the following SVG inline on my website:
<svg xmlns="http://www.w3.org/2000/svg" data-action="counter" class="button"
width="320" height="90" viewBox="0 0 320 90">
<rect x="0" y="0" width="320" height="82" rx="10" ry="1...
I would like to sort an array of objects by two attributes.
The array is as follows:
var unidades = [{"id": 1, "numero": 3, "bloque": "F"},
{"id": 2, "numero": 101, "bloque": "A"},
{"id": 1, "numero": 1, "blo...
I'm working with Entity Framework 6 approach code-first, is it necessary to use transaction when registering header and detail, when using EF6?
public void InsertOrUpdate(Compra entity)
{
using (var context = new PosContext())...
I have the following code to convert the body of a post request into a string
let body: NSData = self.createBodyWithParameters(paramString, filePathKey: "image_name", imageDataKey: imageData!, boundary: boundary, nameParam: "dparam_string_post...
I am presented with an error when creating an automatic email through the database, I am creating the body and I get this error message:
ORA-29279: Permanent SMTP error: 501 Error: attribute value too long
ORA-06512: in "SYS.UTL_SMT...
In a console application, where I have a string type arrangement, one of the operations allows inserting values in places that are occupied, for example:
I have an array in the following way: {cero, uno, 0, 0 ,0} .
The zeros are null va...
Hello everyone I am new to web programming and like many people before uploading a web page you do tests in local, I use Xampp and until yesterday it worked perfect until today I tried to open it and it came out:
Apache: Problem detected!...