Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for nosfa

Why does one enter keypress runs (inside) through this code twice? I've tried keypress, keydown and also event.preventdefault() to no avail. $(document).keydown(function (e) { if (e.which == 13) { alert("0") var focado = document.getElementById(document.activeElement.id), fim = focado.id.substring(1), inicio = focado.id.substring(0, 1), fimseg = fim, anterior = inicio + (fim - …

Member Avatar for Taywin
0
165
Member Avatar for nosfa

Hi. I have a MVC project with a form and a submit button. The values are passed to the controller. One method will fetch data from the dataset according to the parameters passed. Then some VB functions will work with the data retrieved. Currently I have the whole dataset being …

Member Avatar for Reverend Jim
0
216
Member Avatar for nosfa

Hello. I have a SQL database called bd with a table called dados. I want to get one row from it. Web.config <add connectionString="Data Source=(local);Initial Catalog=bd;Integrated Security=True" name="bd" providerName="System.Data.SqlClient"/> variable declarations Dim DS As New bd Dim a1row As bd.dadosRow this code in the method won't return anything. In fact …

Member Avatar for Miurei
0
354
Member Avatar for nosfa

I have this function to return a view Function mostrar(cor As String, alinea As Char) As ActionResult ViewBag.cor = cor ViewBag.alinea = alinea Return View() End Function this is the view @Code ViewBag.Title = "mostrar" End Code <h2>mostrar</h2> <h4>@viewbag.cor</h4> <h4>@ViewBag.alinea</h4> the function is called from code but no view is …

Member Avatar for kvprajapati
0
198
Member Avatar for nosfa

Hi. When trying to pass a parameter to the mehod I get error: not found I've been trying other url syntaxes (@url.action) but to no avail also. script inside input/index view <script> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(); $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", …

Member Avatar for nosfa
0
211
Member Avatar for nosfa

Hi. In my MVC project I have a button that has to trigger a script. As it happens the page doesn't listen to the event. I put the script in my view where the form is. this works <script > alert("it worked"); </script> this doesn't work <script > $(document).ready(function () …

Member Avatar for nosfa
0
150
Member Avatar for nosfa

Hi all. I cannot pass the values from the textboxes onm a form to the controller. view code <script type="text/javascript"> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(), aviad1 = $('#a1').val(), $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", url: "comparar", data: "{'presc1':'" + presc1 + "', 'aviad1':'" …

Member Avatar for nosfa
0
203
Member Avatar for nosfa

Hello. I right-clicked on a a view (Views/input/index.vbhtml) and chose "set as start page". But it always gave me an error on the browser (The resource cannot be found.) I have to manually enter the url localhost:xxxxx/input/index for it to work. I've already checked routeconfig.vb and it's ok routes.MapRoute( name:="Default", …

Member Avatar for nosfa
0
232
Member Avatar for nosfa

Hi. I have to do a MVC project and I don't know exactly how to do it. on the clientside I will have an input form the data (at least two codes and up to 8) will be sent to the server (best way?) then the server will access a …

Member Avatar for nosfa
0
331
Member Avatar for nosfa

I get error #91 at line 114 (Object reference not set to an instance of an object). What do I need to do to correct that. (I get the error either pre-declaring X or as it is now) Thanks Dim iterAAA As Single = 1 54: 55: Dim arraydciP(3) As …

Member Avatar for Begginnerdev
0
364
Member Avatar for nosfa

Are variable variables still not available on vbnet? e.g For i = 0 To 10 Me.Button[i].visible = false next i thanks

Member Avatar for tinstaafl
0
171
Member Avatar for nosfa

I'm trying to populate a dataset from an excel sheet but I keep getting a "could not find installable ISAM" error. (In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user.) on the adapter.Fill line. Already tried changing …

Member Avatar for TnTinMN
0
766
Member Avatar for nosfa

Hi. I needed to change two fields in my database and now my application doesn't start. What do I need to do to the dataset? The error is: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. I changed the type of one …

Member Avatar for lolafuertes
0
109