Posts by Mario Medeiros • 173 points
9 posts
-
4
votes2
answers304
viewsQ: How to store the Selecteditem value from Dropdownlist in the database?
I want to register a client and one of his attributes is sex Database: the sex attribute is a nvarchar ASP.NET: I am working with a listview to enter client data <asp:SqlDataSource ID="clientes"…
-
0
votes1
answer1844
viewsQ: How to insert a Client with HTML5 javascript
var clientes = []; function classClientes(nro, nome, sexo,dataNasc) { this.nro = nro; this.nome = nome; this.sexo = sexo; this.dataNasc = dataNasc; } function criarCliente() { var numeroCliente =…
-
1
votes1
answer225
viewsQ: Use Itemcommand in C# of a listview
I’m working with a ListView in which it presents the items in a disorderly list and as links. Under the ListView has the "CREATE" button to insert a new item into ListView. I managed to get that…
-
0
votes2
answers503
viewsQ: Use ON CASCADE DELETE in SQL
I have two tables in SQL, a call Patient and another Diagnosis, I can do all the operations with the diagnosis (insert, edit and delete), but I just wish it was possible to delete diagnoses that…
sqlasked Mario Medeiros 173 -
4
votes2
answers45048
viewsQ: Create dynamic JS table to use in HTML
I’m trying to create a table in Javascript to then use it in a page, but this difficult to accomplish The goal is that the table represents a set of hospital beds that will be managed through the…
-
4
votes1
answer405
viewsQ: Compare two date attributes in the database with two Textbox
How can I compare a range of two dates? data_Inicio date data_Fim date textbox_inicio textbox_fim I can do this on the ASP.NET side and the goal is that my start date will never be less than my end…
-
1
votes1
answer2554
viewsQ: How to change column header for a gridview
How do I get a name I want to the column header of a gridview that is dynamically created in C# but not in ASP.NET please
-
1
votes2
answers2131
viewsQ: Search between two dates in my database
I was wondering if you could help me solve a problem that I’m having some difficulty solving. The problem is this: I have a database with a table of values in which I store: date: datetime value:…
-
1
votes1
answer3095
viewsQ: Convert a date into yyyy-dd-mm format to dd-mm-yyyy
I’m trying to do a search in my database where the goal is to search between two dates entered by the user, and that it shows me all the values that are in this date range, but I’m not able to get…