-
Gave Reputation to Airshow in Condition Always true when checking for "undefined" in Javascript
Or, simplest of all : if( typeof document.frmEntry.optMethod ) { ... } -
Gave Reputation to Airshow in how to get values of each input type of each fieldset on form?
If AleMonteiro's answer works, then so should this simplification of it : var checkboxList = $("fieldset.step input:checked").map(function() { return { 'step': $(this).closest("fieldset").index(), 'checkboxId': this.id }; }).get(); -
Replied To a Post in Cannot select SQL query with DAL to show in message box
ggamble is right... I assume that you were selecting an int, because you was already converting. If the value is 'monster.co.uk' you can't convert it, just use .ToString(). -
Began Watching how to delete the data from datagrid
here is my code for delete Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click If MsgBox("Are you sure you want to delete this item?", vbYesNo + vbQuestion, "Delete") … -
Replied To a Post in how to delete the data from datagrid
I don't know much about access but try cmb.CommandText = "DELETE * FROM Food WHERE FNo=" & x -
Began Watching SQLite password
I'm trying to catch an SQLite problem but I'm unsure how. The problem is opening a database which is password protected. No error appears to be thrown when opening a … -
Replied To a Post in SQLite password
Just guessing...You're trying to catch an SQLLiteExcepion, but what if another occurs? Also, you are missing the exception name. Try catching any exception. try { m_dbConnection = new SQLiteConnection("Data Source=MyDatabase.sqlite;Version=3;Password=password"); … -
Began Watching how to get values of each input type of each fieldset on form?
Hello, I have created sliding fieldsets using javascripts. in it, I have created fieldsets using for loop. Now I want , while I click on NEXT of one fieldset , … -
Replied To a Post in how to get values of each input type of each fieldset on form?
if you are using jQuery: var checkboxList = []; // Loops each fieldset $("fieldset.step").each(function() { var stepIndex = $(this).index(); // Loops each checkbox that is checked inside of the fieldset … -
Replied To a Post in Cannot select SQL query with DAL to show in message box
Whats the value in `ds.Tables[0].Rows[0][0]` ? In debugging, use the Exception.StackTrace and Exception.InnerException.StackTrace to see exactly where the errors occurs and it's full stack trace. Obs.: InnerException is recursive. -
Began Watching Get month Number from "Aug 2014" string
Hi, I need month number from string text. ex: from "Aug 2014" , I should get 8, if "Jul 2014" then 7. thanks, -
Replied To a Post in Get month Number from "Aug 2014" string
First you need to split the string by the blank space and get the first part. Then you create an Select Case or an If...Else If. Dim original = "Aug … -
Replied To a Post in Cannot select SQL query with DAL to show in message box
In wich line does this error occurrs? -
Replied To a Post in Cannot select SQL query with DAL to show in message box
Is ds.Tables null? Is the connection and query ok? -
Replied To a Post in Sorting Four Dimensional array - Javascript
Much clear now, here you go... My original attempt var A = [0,16,12,0,14,18,15], B = [0,17,13,0,15,19,16], C = [11,12,13,14,0,0,0], D = ['D','E','E','D','A','A','A']; var X = function(vectors) { var arr = … -
Began Watching problem in creating stored procedure
** Hello i am newbiw to MYSQL .... iwant to create stored procedure in PHPMYADMIN . But when i am same procedue od MS SQL in MYSQL it is giving … -
Replied To a Post in problem in creating stored procedure
Hi there. MySQL syntax is some what different from MSSQL syntax. For instance, MySQL Parameters don't start with '@'. Thake a look at those pages, it will help you out. … -
Began Watching Condition Always true when checking for "undefined" in Javascript
Good Day all i am reluctantly maintaining a Classic Asp application that will be re-written in few months to come. i have an issue where i have a Code like … -
Replied To a Post in Condition Always true when checking for "undefined" in Javascript
Your problem is simple... `if(document.frmEntry.optMethod != "undefined")` this is testing if an object, that may not exist (undefined) is different than an string with value "undefined". Two ways to resolve … -
Began Watching Cannot select SQL query with DAL to show in message box
I have a connection in a DAL to SQL server. Using this connection I am trying to read the query. I have tried using ExecuteReader() and ExecutreNonQuery() with no luck. … -
Replied To a Post in Cannot select SQL query with DAL to show in message box
Hi there! You can't convert an SQLDataReader to an int. You have to use the reader to get your values. Check those links: http://msdn.microsoft.com/pt-br/library/haa3afyz(v=vs.110).aspx http://www.akadia.com/services/dotnet_data_reader.html Anyway... I think is more … -
Began Watching Sorting Four Dimensional array - Javascript
I want to sort four dimensional array based on 0th index by using following method, Here is the code: var main_arr = [ [] ]; var hdnFromValues = [11,16,12,17,14,18,15]; var … -
Replied To a Post in Sorting Four Dimensional array - Javascript
I honestly didn't understand what you are trying to do... Let's walk through it... // You have four initial arrays var A = [11,16,12,17,14,18,15]; var B = [12,17,13,18,15,19,16]; var C … -
Replied To a Post in How to detect multiple key pressed globally with timer.tick function?
Revend Jim, sorry about that, I got focused on the problem and forgot about the details. I've updated the post to make it clear. But anyway, he can get the … -
Replied To a Post in Selecting Data With Dropdown List.
Ok... so, using AJAX, in your case, the data will be inserted into DOM after the response from the HTTP request(ajax). The simpliest way to insert data recieved from ajax … -
Began Watching Selecting Data With Dropdown List.
Hello DaniWeb, I am working on project in which admin generates dynamic query by selecting value from the First dropdown(program) then second dropdown (semester). The concept is that For example: … -
Replied To a Post in Selecting Data With Dropdown List.
What knowlodge do you have about HTML, JavaScript and PHP? Are you going to use AJAX? The first thing you'll need to do is load the first select, then when … -
Began Watching How to detect multiple key pressed globally with timer.tick function?
I want to do some action with the help of multiple key pressed in vb.net even program is minimized. I've read the only way of detecting global keys is using … -
Replied To a Post in How to detect multiple key pressed globally with timer.tick function?
The only way I know how to detect global keys is using user32.dll and kernel32.dll methods. You won't be needing timer to do this, as it is all about callbacks. … -
Began Watching Fill up cells from values in table based on the value of another cell
Hi guys I have this problem where a certain cell will select a value from a table based on another cell (like an id or something). First I select some … -
Replied To a Post in Fill up cells from values in table based on the value of another cell
Did you debug it? Is the line `rw.Cells("date_deliver").Value = sdr("date_deliver")` being executed? Beside that, why are you making an loop for until 8 and only executing something when it's 8? … -
Began Watching vb 2013 update requires an update command
here is my code, it is very simple Me.Validate() Me.TableBindingSource.EndEdit() Me.TableTableAdapter.Update(Me.Database1DataSet.Table) MsgBox("Update successful!", MsgBoxStyle.OkOnly, "") Me.TableTableAdapter.Fill(Me.Database1DataSet.Table) Actually, I have been programming for a year or two three years ago but … -
Replied To a Post in vb 2013 update requires an update command
What's the error you get and in wich line? -
Began Watching tinymce and jquery tabs
Hey all, I have done a lot of research on this subject but cannot seem to get this to work again. I recently went from tinymce 3 to 4 and … -
Replied To a Post in tinymce and jquery tabs
Hi there, did you try it without the tabs? It appears to be a css related problem. When I get some problem like this I go into the developer panel … -
Began Watching Modifying existing website
I am, admittedly, a novice at this. Currently have a website using Bravenet (It's a GoDaddy domain). Wanting to change the website, I have used Bravesites to create a new … -
Replied To a Post in Modifying existing website
What does this bravesites use? Php and MySQL? First thing you need to do is export the site from bravesites, then you know what you have and what needs to … -
Replied To a Post in .Net Office Ambiguous Reference
tinstaafl, it's no good, as I said, Office. or Microsoft.Office.Core give the same error. -
Replied To a Post in Repeat the navigation function in the footer.
You're welcome. Just mark as solved please. -
Replied To a Post in Repeat the navigation function in the footer.
jelly46, if you are using jQuery, keep an open tab with the API, it's has a lot of methods that really make our lifes easier. Here's the code with some … -
Began Watching Repeat the navigation function in the footer.
I have managed to put together a [responsive menu](http://jsfiddle.net/c2webdev/Pb8Ts/1/) with the help from the internet. I've need it to sit in the footer as well, but to be controlled sepratley, … -
Replied To a Post in Repeat the navigation function in the footer.
Jelly46, is something like this http://jsfiddle.net/7SwhL/ ? -
Began Watching execution time
An algorithm takes 1 second to execute for an input size of 10. What will the largest size of input be that can be executed in 25 seconds if the … -
Replied To a Post in execution time
Maybe this can help you: http://en.wikipedia.org/wiki/Analysis_of_algorithms -
Began Watching How to get id(user_id or manager_id) of currently logged in user in c#
Hi my name is vishal for past 6 days i have been breaking my head on how to get id(user_id or manager_id) of currently logged in user in my application … -
Replied To a Post in How to get id(user_id or manager_id) of currently logged in user in c#
Hello Vishal, there's lot's of ways of doing what you want, but the main change I think you have to do is in ValidateUser and ManagerUser. Those two methods should … -
Began Watching how to bind value from database to dropdown list
hi to all, I'm using vs 2013 and MVC Here i'm bind the value from database to drop-down list without using VIEWDATA. here i done using view data to bind … -
Replied To a Post in how to bind value from database to dropdown list
I can't understand your problem, post some code please. -
Began Watching How to add mp3 player in MP3 Search Engine website?
Hello Friends, I have a mp3 search enging website ([www.mp3tracks.tk](http://www.mp3tracks.tk)). I am new. Do not know how to add a mp3 player just below the searched mp3 files from where … -
Replied To a Post in How to add mp3 player in MP3 Search Engine website?
Hello, if you can focus on HTML 5, it's pretty simple: http://www.w3schools.com/html/html5_audio.asp If you can't, I think the next best solution is an Flash Player. Take a look at http://www.instantshift.com/2010/02/10/21-free-music-players-for-your-website/ …
The End.