Search:
Type: Posts; User: chdboy
Search:
Search took 0.02 seconds.
-
It was missing curly braces issue.
It has been solved.
-
After inserting into Table I have used this code for generating next file number.
int fileno1=Integer.parseInt(Result.getString(2));
int increment = ++fileno1;
int increment2 =...
-
Yes I'm saving that data(file no) in MSQL.
-
Error on this line
int rowsAffected = statement.executeUpdate();
With this code
int rowsAffected = statement.executeUpdate();
if(rowsAffected > 0)
-
I have a form in which I have made File no field which hold the Integer value like 1-2-3-4 and so on.
I want that ,when I save a form which has file no 1 ,and then after when I want to save the...
-
This is the Image of what I have right now
105985
I want to align Radio Buttons so that It will not have the space left to "Y" ,so that they will align correctly.
String yesString = "Y";...
-
I have this code (Sample code not a full code)
JTabbedPane tabbedPane = new JTabbedPane();
JPanel jp1 = new JPanel();
JScrollPane scroll_pane = new JScrollPane(tabbedPane);...
-
I want to add two Jpanel on my tabbed pane ,one should be in south with buttons,and other should be in north where I have Text fields and Labels.
My problem is that the buttons on container Jpanel...
-
If I close the resultset and when I click on fetch button it shows me the first record and the error message that resultset is closed.
com.microsoft.sqlserver.jdbc.SQLServerException: The result...
-
I have two buttons Fetch(which fetches the records)and next(which navigates to the next record)
When I click on my fetch button it shows me the first record from my database.
But when I click on...
-
ok so I have to install 2012 version back again ....thanks for the help
-
I had two versions of SQLEXPRESS on my computer earlier ,now I have uninstalled 2012 SQLEXPRESS from my computer
Now when I try to attach .MDF file made in 2012 version it gives me error.
...
-
Yes,I looked closely then I found out that the two records which has date ,was in format "yyyy/mm/dd" and the third input I was trying with "dd/mm/yyyy" format ,that was the problem.
Now my...
-
I'm saving the data into database not to get text
-
I want to insert date to the column Date of birth
"insert into table (firstname,lastname,dateofbirth) values(?,?,?)"
statement.setString(3,dob.getText());
dob is my JTextField name
Data type...
-
Yes that was the problem I have changed my data type from int to big int,now it's fine
Thanks a lot.:)
-
This is the error
com.microsoft.sqlserver.jdbc.SQLServerException: The conversion of the nvarchar value '8737383838' overflowed an int column.
I'm putting the value integer into bank...
-
Me.ComboBox1.SelectedIndex = Me.ComboBox1.Items.Count + 1
I have changed +1 to -1 ,so now it worked.
-
When I click on LinkLabel here is the code behind it
Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles...
-
When I click on a button or LinkLabel my application closes automatically.
Why is this happening?
-
Hi I want the sum of the column(Esicemployeeshare) exactly beneath the column(Esicemployeeshare)How can I do that
here is my code
Private Sub Button6_Click(ByVal sender As System.Object, ByVal...
-
I have two Identical twins forms (for editing and updating purposes),when I double click on the DGV row it gives me the value of the row in another form.
Now I have three radio buttons on form...
-
-
Hi,
I have a form in which there are 11 text boxes and two button controls(Just example) ,I want the tab key control to be in the textbox1 when the form loads ,and then If I press Tab Key from...
-
* szlamany*
This is no school project ,I'm learning Vb.net as a language and making a project like a payroll system, so I can cover as much as I can(learning),and in coming time when it is ready...
-
But what I make the salary of a person for a whole year then how would I be calculating ,which field value will I use and how? ...still no Idea @&!#
-
Ok the problem has been solved
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim con = New SqlConnection("Data...
-
cmd.CommandText = "SELECT SUM(Present) FROM Attendance WHERE AttendanceStatus = 1 And (Firstname = Firstname) Group BY Firstname"
If I change above statement to this
cmd.CommandText =...
-
Adding a new column to an existing table ,how would it solve my problem ...when I update the column by new salary at the end of the month, when salary is to be made how would it work?
Or adding a...
-
Present is the Column name and it hold the value 1 who ever is present against the name is 1 and I want to count the number or sum against the name.
-
ok so I have to add the columns for previous salary in the update and date change also.
-
Hi,
CODE:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim con = New SqlConnection("Data...
-
Yes I have stored all the information about Employee including his basic salary in the sql database ,so if I update the basic salary of an employee,from 3000 to 5000 the it show in m y end of the...
-
Hi,
This code is just an Example
update dbo.Employee set
Salary = Salary * 1.2 -- Increase Salary by 20%
where
Employeename = 'danial'
The salary of the Employee is 3000 per...
-
This code creates XML File
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim connetionString As String
Dim...
-
dunfiddlin
DavesChillaxin
Thank you two for solving this issue :)
-
I have two combo boxes
when I use this in the form load event
one on the top gets populated ,other does not...why this is happening?And if I put the second one on the top, it get's...
-
Hi,
When the form loads the DateandTime Control shows the current date,but I want the date to be blank when the form loads and when I click on the dateandtime down arrow then the date shows up to...
-
I have assigned fk to EmpoyerID on the employee table and then the data is there ,but now I wonder weather now the two tables related or not ,If I create employer profile and add three employee how...
-
Yes both the tables have there first name matching,with column name Firstname
Employer table,Fieldname Firstname = Danial
Employee table,Fieldname Firstname = Danial
|
Click Here to Expand Forum to Full Width
|