What does% 2 mean?
string[] names = {"Geraldine", "Julieth", "Tatiana", "Maribel", "Susana", "Mónica"};
var Query = from x in names
where (x.Length) > 5 && (((x.Length)%2)!=0)
select x;
Query.Dump();
I was doing a system in c # , I had it connected to a database in access . But I realized that maybe I could not; Generate the installer of the program and pass it to another person.
Someone told me to try to put a database of Sql Server Comp...
I am working on a desktop application (Windows forms) in which my windows are UserControl which I call from a menu that is vertically on the left side, on the right side I have a Panel that serves as a floor where I call the UserControl, but I j...
I have a problem with the connection string:
Putting it directly into the SqlConnection works for me:
SqlConnection connection = new SqlConnection("server=DESKTOP-Q5REQCB\MSSQLSERVER01 ; database=Synergy ; user id = Synergy; password = Syne...
I have had an old website made in Visual Studio 2010, I need to open it to see how it works internally.
I try to open the project with VS2015 Professional but it gives me the following error and it does not open it for me.
I would appre...
When I save some line break tags in a text on the sql server, that parameter I read it through a service and I save it in a ViewBag.
When displaying it in HTML, the text is shown with the tags.
For example:
Hola esto es un texto <br /...
I have a table with some users waiting for approval, create a button called approve, by pressing it sends you to for example
link < - user ID
This is my view.
@{
ViewBag.Title = "Approved";
}
<h2>Approved</h2>...
Well I told you that I'm doing extracting the data from a txt file and storing it in a table for them I'm using the tools of:
Sql server
Visual Basic Window Form
Inside my table you only have these fields:
Id int identity (1,1) not...
I need to calculate a person's age from their birth date, but I am doing a poor calculation, I give you an example.
Pepito was born on December 17, 1997, at this moment Pepito is 19 years old, but to me in the calculation he shows me as if he...
I have this Javascript function inside my HTML.
$("#aviso1").on('click', function (e) {
// Initialize the object, before adding data to it.
// { } is declarative shorthand for new Object()
var obj = {};
obj.tit...