4,457 Topics
![]() | |
I have created one form named newest_receipe.aspx in which i have various receipes name with respective date and time in a data list and receipe names are displayed using hyperlink. <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" onselectedindexchanged="DataList1_SelectedIndexChanged"> <ItemTemplate> <asp:HyperLink ID="HyperLink20" runat="server" Font-Underline="True" ForeColor="#0000CC" onload="HyperLink20_Load"> <%# Eval("recipe_name") %> </asp:HyperLink> <asp:Label ID="datetimeLabel" runat="server" Text='<%# … | |
Im making this program that reads in a java file and creates a new file with a formatted version of the file. Basically every place there is a { open braces, I want to add 4 spaces to each lines after that etc.. Here is what I have so far.. … | |
I am running into an error on a javascript problem I have it display if the math problem is wrong, and an alert box that pops up, but when you hit OKAY on the alert box it still submits the form. I am wondering if there is an easy fix … | |
hi...... projot here I am facing a problem in the code i have to populate the combo box from datagrid view from database just help me in doing it this code is giving me an error my contact no is 9049776416 Imports System.Data Imports MySql.Data.MySqlClient Public Class supplier_update Dim con1 … | |
Hi everyone, I'm having this problem with my code and cannot seem to get past it although it was working fine before. The error is "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object." The code … | |
Hi, I am using an asp.net web application in which I want to retrevie database table names into my dropdown list box. I have wrote code for this there are no errors but I dont get any table name to my DDL box. Kindly help, Thank you. MySqlConnection connect = … | |
hi.. i want to compare two tables ..in enlistment table will count the number of students that enlisted to the YearLEvel and section selected by user.. then i want to limit that by means of calling it from the table of Schedulings (AvailableSlots Table) here's my code but it doesnt … | |
Will someone please tell me why I keep getting my custom file not found exception? The file is spelled correctly and is in the same directory of my java file. I am programming on Eclipse on Mac OS X. Here is my source: // Dillon Sheffield // Lab 10a // … | |
guys - i cannot figure this one out. i keep getting the "wrong number or types of arguments in call" error & for the life of me can't figure out why. i've got dozens of other programs doing way more difficult stuff than this so, i'm officially stumped. 4 parameters … | |
I am trying to figure out how to print a .pdf from my web page without saving it first. On one of my web pages I have a link that load a .pdf (a free downloadable coloring page for kids) When I click on the link on my page "Click … | |
hi there! can you please help me? this codes doesnt have any reponse from the database .. these codes is for case sensitivity of the usernametxtbox and if satisfied, the secretquestion textbox will automatically display the correct secret question. help me pls! Dim i As Integer Dim PassResult As String … | |
how can i limit the borrowing of books in our system. the user is only allowed to borrow books 3 times a day.. so if the user reaches the limit,.the system will not allow the user to borrow books anymore. here is our codes but it does not work well..so … | |
Hello every one i think all is fine i want to open a folder with a file path Example: i have a file path c:\testfile.txt now we want to open folder of this file where save my testfile.txt file using a command botton i mean {open containing folder} please help … | |
hi!! im a new to vb.net and im having a problem, pls help me ok here it is... i created a listview, and i have a button5 "view records" if i click the button, all the records should be shown to the listview but yeah i doesn't work here are … | |
i need to compare two different tables which are Enlistment and Schedulings Table . in schedulings Table , there was a columnnmae AvailableSlots wherein the AvailableSlots in every sections in every year is recorded.. in Enlistment table, i used to count the number of records that satisfy my query : … | |
Hi i am a newbie in C programming especially in the socket area. Supposely i am writing a FTP, and want to **_get_** and **_put_** file in the FTP. However, i have encountered a bug/error when client is trying to get(download) file from server. The problem is as follow: First, … | |
I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5 The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a … | |
i have 3 textboxes and 1 submit button : 1. Username 2. Secret Question 3. Secret Answer when the user inputs their username , the Secret Question automatically appeared in the second textbox , and then put their answer in the third textbox.. just clicking the submit button the system … | |
Dear All, I have a small probelm with updating my database. Here are my codes ~~~ vb Module AphidSimVar Dim myCon As SqlCeConnection = New SqlCeConnection("Data Source=|DataDirectory|\AphidModel.sdf") Dim myCmd As SqlCeCommand Dim myAdap As SqlCeDataAdapter Dim myDataSet As DataSet Dim myTable As DataTable Dim myBuilder As SqlCeCommandBuilder Public Sub ShowData() … | |
hello again :D i want to update my database if an enrollee have balance or dont have.. if they have balance , the record of payment of student will be updated.. here's my code : Dim cn As OleDbConnection If TextBox1.Text = "" Then MsgBox("Enter a Student Number! ", MsgBoxStyle.Information, … | |
Dear All, I have few question regarding using Treeview in my project. The screen of my project is been attched. I can populate the data from database in treeview using following code: ~~~ vb Imports System.Data.SqlClient Public Class Tree Private Sub Tree_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles … | |
please kindly help me!!! what i wanted is when i select items in the combobox and it is already in the database it will prompt that it is already in the database..tnx ~~~ vb Private Sub ComboBox3_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ComboBox3.Validating If ComboBox3.Validating Then con … | |
My textbox6 represents the dateprinted of my asssessment form.. i code it like this : TextBox6.Text = My.Computer.Clock.LocalTime.Date then in the my SAVE Button coded like this : Dim cn As OleDbConnection If TextBox1.Text = "" Then MsgBox("Enter a Student Number! ", MsgBoxStyle.Information, "Warning") ElseIf TextBox1.TextLength = 9 Then con … | |
My textbox6 represents the dateprinted of my asssessment form.. i code it like this : TextBox6.Text = My.Computer.Clock.LocalTime.Date then in the my SAVE Button coded like this : Dim cn As OleDbConnection If TextBox1.Text = "" Then MsgBox("Enter a Student Number! ", MsgBoxStyle.Information, "Warning") ElseIf TextBox1.TextLength = 9 Then con … | |
hello! i'm trying to implement an audit trail in my system and what i wanted is that when the user click the login button, infos like username, level of access, time in and date will be save in the database and fortunately i have done it and here is my … | |
hello! i have written a program to read in a text file and then ask the user to process the file with a different sorting method. so far i have been able to get my program to read in the file but my bubble sort seems to not be sorting … | |
Hello there guys, im having little problem and help would be appreciated :) I have few tags <name> <capacity> <lectureslot> <tutorialslot> and so on, and i want to read each tag separatly into separate field(label), or listbox. Here is part of my XML <?xml version="1.0" encoding="utf-8"?> <timetable> <module code="3SFE504"> <name>Algorithms … | |
please kindly help me!!! what i wanted is when i select items in the combobox and it is already in the database it will prompt that it is already in the database..tnx Private Sub ComboBox3_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ComboBox3.Validating If ComboBox3.Validating Then con = New … | |
hi everyone! below i will be showing you the codes of my scheduling module for an enrollment system..my problem is that on how to set conflict here is the code: Option Explicit On Imports System.Data Imports System.Data.OleDb Public Class Scheduling Dim con As OleDbConnection Dim com As New OleDbCommand Dim … | |
 hi everyone! below i will be showing you the codes of my scheduling module for an enrollment system..my problem is that on how to set conflict. i included a screenshot of the interface for further understanding... i hope you could help me... here is the code: Option Explicit … | |
 i have here below codes of my maintenance module..my problem is that when i click the edit button and search for student number it makes error in saving but when i use the listview to edit it saves successfully...please help me i'll be attaching a sample screenshot here's … | |
Run time error 3251 Current Recordset does not support updating, this may be a limitation of the provider, or of the selected Locktype Friends, I have a VB application that is using Oracle backend database. My code is as below but returns the above error when I try to add … | |
I have a few code files that are rather large in length. The one I have open right now is approaching 750 lines and is growing quickly. I'd rather not split the class among multiple files, doing that just makes me nuts (even when VS puts the control declarations in … | |
Trying to find a way as to how can i display a message box to say stock not available when i link it to my database to show that the quantity_available of the album( typed in and is refered to by the album_id in the textbox) ? here is my … | |
I have an application that can filter a datagridview based on date using a datetimepicker. The "date" column in my database is a datetime data type, hence it will contain a date and time stored within but there is some data which have only dates. My problem is my datetimepicker … | |
while configuring workspace in Eclipse, applet is not loading i am using jdk1.5 and Tomcat 5.5 but when iam try to open same application in IT link applet is loading sucessuflly (i have used the same code to configure locally) can any one please let me know how to resolve … | |
I am working on a module where i have to show all the videos list on the left side of a page with thumbnail.& videos player on the center which plays video after clicking. from the list. Need suggestions for open source video player. | |
Could someone direct me to an open-source, 2D sidescrolling game developed in C++? (I'd prefer a Mario-style sidescroller, but almost any would do.) I'd like to look at the source code to see some examples of a working sidescroller collision detection system, and a jump algorithm. Thank you for your … | |
I am working on a java application that will display an image and play a sound. It finds the current month and displays the appropriate information. Below is the code that I have been testing (that's why santa is in april) it will not work when trying to play wav … | |
I am using mysql server 2012 and visual studio 2012 C#, i created a database and i can read the data from my database. The problem is that i cannot insert data into my database. Although the return value of the execution is 1, i dont see any changes in … | |
I been working on this login page for months, and to no avail can have the program working. I am using the MSAccess Database and using VB.Net. This is a windows application creating a login page. The following is the code that I been working on: Dim mypath = Application.StartupPath … | |
I have been using some open source software, like weka/mallet to fulfill certain data analytics works. I know how to use the APIs of these softwares and write customized code under Eclipse. Right now, I would like to learn how to make this type of data analytics work as a … | |
hi Every one i am having problem in deleting record from textboxes and gridview. i have customer table and booking table. what i want to do is when i click the delete button the customer and its related booking should be deleted. i have written a code which onlt deletes … | |
I made a Client and Server program based on the code found in [URL="http://www.daniweb.com/software-development/csharp/threads/228973"]this thread[/URL]. Here's the code of my program Client (Sender of file) [CODE] //Before calling this function, //I send the file size to the server first private void fileToServer(string filename) { try { FileStream fs = new … | |
I heard of Linux many years ago but did pay any attention to it. Only 2 years ago when I was a photographer for an event call MYGOSCON (Malaysian Government Open Source Conference) where I get to know about Open Source and Linux. From than on I was eager to … | |
good day. i have a problem with my login from. i have my table under SQL server 2008. which is tbl_user,with a field of userid,username,password and category i created a simple login form but that's fine and working as a simple login.. my problem is that i want to add … | |
i have this problem : Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information. ... the button used to delete record in my project is button6 at the end of the code my code : [CODE]Public Class Form1 Dim … | |
Good day!. I want to save my textbox to my sql database. this is my code: Dim con As New SqlConnection Dim cmd As New SqlCommand Try con.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\dbEvaluation.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" con.Open() cmd.Connection = con cmd.CommandText = "INSERT INTO Comment([Comment]) VALUES ('" & TextBox1.Text & "')" cmd.ExecuteNonQuery() … | |
I have a combo box which help me select SQL servers in my local computer, but now I want it to be able to select just any connected servers (like remote servers) as possible, how could I solve it??? [CODE] Sub server(ByVal str As String) con = New SqlConnection("Data Source=" … | |
I'm trying to read a boolean value from a table. For some reason, when the statement executes it kicks me out of the method and back out to .show() method. The data read takes place in a procedure that is called by the Form_Load procedure. Any idea why it's kicking … |
The End.