Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
33% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
~8K People Reached
PC Specs
Ancient Computer - a crap one.
Favorite Tags
Member Avatar for scias23

I am about to finish an application for a client. Now I'm having hard time deploying it since I really don't know how to do it. How do I deploy a windows form application with database? I've already downloaded the prerequisites redistributables. I also want those to be included in …

Member Avatar for dxider
0
104
Member Avatar for scias23

Has anyone here tried putting a combobox to a bound datagridview? The selected value of the combobox will depend on the value of the corresponding column in the database. I have a datagridview. When the user clicks the edit button, the application fetches the records from the database and binds …

Member Avatar for scias23
0
348
Member Avatar for scias23

the stored procedure is within a transaction. I want to get the inserted values after calling the stored procedure. My problem is, I don't know if that is possible because the transaction is not yet commited. Help.

Member Avatar for JJCollins
0
93
Member Avatar for scias23

I have a 18kb 1024 x768 jpeg image that is set as background image of my form. The problem is the form now lags like crazy. How can I eliminate the lag?

Member Avatar for the_carpenter
0
105
Member Avatar for jcfans

i wan create a datatable complex like tis 1!any1 can teach me how to do it? The datatable consist 5 datacolumn(col1,col2,col3,col4 and col5) the data of row of col1,col3 and col5 is fix("A","Book","100") and tis same data will insert into 30 row (when the ds.Tables(0) got 30 row) the data …

Member Avatar for scias23
0
92
Member Avatar for scias23

Do you know a book that talks about application development using mdi form? I have a system project at school and I want the system to use mdi forms.

Member Avatar for discovery-power
0
147
Member Avatar for scias23

i get an "This SqlTransaction has completed; it is no longer usable." error everytime i run my code: the main code [CODE=vb.net] If DBOpen() = True Then Try 'begin transaction BeginTranscation("Clearance") 'receipt CallSP("InsertReceipt") InsertParam("@ORNo", Trim(txtOR.Text)) InsertParam("@FACode", "***") InsertParam("@Amount", txtAmount.Text) InsertParam("@Nature", "Business Clearance") InsertParam("@PaymentType", "Cash") InsertParam("@DateIssued", dateDocIssue.Text) ExecSP() 'document CallSP("InsertDocument") InsertParam("@PersonID", …

Member Avatar for kvprajapati
0
1K
Member Avatar for scias23

i want to put multiple instances of sqldataadapter into a single transaction. how can i accomplish this?

Member Avatar for kvprajapati
0
420
Member Avatar for scias23

i have many textboxes in my form, now i want to validate the data inside it. how can i achieve this other than the try catch? i want the validation to be usable in all my forms so i'll write it as a sub/function. any suggestions?

Member Avatar for apegram
-1
102
Member Avatar for scias23

i have supertype-subtype: supertype: document subtype: clearance, sedula this query: [CODE=mssql] SELECT Document.DocNo, (Person.Givenname + SPACE(1) + Person.Middlename + SPACE(1) + Person.Lastname) AS Name, Person.Address, CASE WHEN DATEADD(YEAR, DATEDIFF (YEAR, Person.DOB, CURRENT_TIMESTAMP), Person.DOB) > CURRENT_TIMESTAMP THEN DATEDIFF(YEAR, Person.DOB, CURRENT_TIMESTAMP) - 1 ELSE DATEDIFF(YEAR, Person.DOB, CURRENT_TIMESTAMP) END AS 'Age', Person.Status, Person.Picture, …

Member Avatar for jbisono
0
159
Member Avatar for scias23

i have a supertype-subtype: supertype: DOCUMENT subtypes: CLEARANCE, TAX CERTIFICATE, RECEIPT, BUSINESS CLEARANCE each clearance subtype may have a TAX CERTIFICATE, how could i join using join? in other words, document>clearance document>tax certificate i want to join document>clearance and document>tax certificate into a SINGLE view help. thanks

Member Avatar for jbisono
0
228
Member Avatar for scias23

i just want to know, what is much better to do for data access? include the database to my solution (tools>connect to database), or just hardcode everything? somebody reply please. thanks

Member Avatar for kvprajapati
0
109
Member Avatar for scias23

i've written this code, it works. whenever I click the OK button of the NewModel.vb, it will insert a new record, then the datasource of the datagridview will be reinstantiated and rebinded with all the records in the database. the datagridview will be rebinded with the records from the database. …

0
178
Member Avatar for scias23

i want to display the inserted row to my datagridview. how can i accomplish this? [CODE=vb] Imports System.Data.SqlClient Public Class Model Dim sqldata As SqlDataAdapter Dim modeldata As New DataSet Dim sqlquery As String Dim conn As New SqlConnection Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for kvprajapati
0
108
Member Avatar for scias23

i'm a beginner in vb.net i just want to know if it is possible to store the formatting of a text to ms sql so that the next time i retrieve a record that i've already formatted, it will display the format that i did for that record. if possible, …

Member Avatar for sknake
0
554
Member Avatar for scias23

my project needs an implementation of supertype-subtype, however, we haven't tackled that topic yet at school. i know the concept of supertype-subtype, but i don't know how to write it out on mssql. i even don't know how to insert data using supertype-subtype. here's the reqs's: * there is a …

0
79
Member Avatar for scias23

last semester, i did an airline reservation system. we need to create another system for this semester. any suggestions? [except inventory and enrollment systems] thanks

Member Avatar for MeSampath
0
74
Member Avatar for scias23

i can't get this from working. i want to execute these two queries ebcause i want to insert data to two separate table. is it possible to do this with one query? this is what i've got so far: [CODE=php] $sql = "INSERT INTO login SET studNo = $studNo, userName …

Member Avatar for liamfriel
0
244
Member Avatar for scias23

WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame. AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class. here's what i've got [CODE=java] import javax.swing.*; import java.awt.event.*; public class MenuShortcut …

0
105
Member Avatar for scias23

i want to relate my tables, but i can't find out how to relate the tables. how?

0
98
Member Avatar for scias23

i have this question.. show the state of the stack and the value of each variable after execution of the following statements. let A=5, B=3, C=7 push A onto stack push C*C onto stack pop item fron the stack and store in B push B+A onto stack pop item from …

Member Avatar for ajeet choudhary
-1
158
Member Avatar for scias23

how do i create a login dialog box in my database that does this, 1. there are two blank textboxes. one for username, and one for password. 2. when the user clicks the submit button, it will look for a match of the username in the table, then checks if …

0
97
Member Avatar for scias23

what are the three kinds of php functions? is it functions with params, function without it? what?

Member Avatar for cwarn23
0
67
Member Avatar for fox07

Convert Number to Words Kindly Help me Explain this Line of Codes. Line by Line if possible. It was given to me by my friend. Hoping for Some Help. Thank you very much. [CODE] import java.util.Scanner; public class WordNumber{ public static void main(String[]args){ for(int i = 0; i < 20; …

Member Avatar for sbhavan
0
128
Member Avatar for scias23

i want to extract 576 to hundreds = 5 tens = 7 ones = 6 my code does this purpose, but.. [CODE=java] h=num/100; t=(num-(h*100))/10; o=((num-(h*100))-(t*10)); [/CODE] i want to rewrite my code using loop and modulus operator.. help guys. thanks btw: i'm writing a program that converts numbr to w.ord-/.

Member Avatar for scias23
0
156
Member Avatar for scias23

i just can't figure out what's wrong with this. 1. suppose i enter 9-3-1991 as the birthdate, this should return 18. but it returns 17. //wrong 2. suppose i enter 2-9-1991 as the birthdate, this returns 18. //correct what's wrong with my code? [CODE=java] private static int ageCalc(int mm, int …

Member Avatar for scias23
0
148
Member Avatar for scias23

i have this code. [CODE=java] numberPlayers = 2; players = new Player[numberPlayers]; setName(); setHand(); private static void setName() { for(int i=0;i<numberPlayers;i++) { out.print("Player "+ i + " name: "); players[i].setName(in.nextLine()); out.println(); } } private static void setHand() { for(int i=0;i<numberPlayers;i++) { out.print("Player "+ i+1 + " hand: "); players[i].setName(in.nextLine()); out.println(); …

Member Avatar for masijade
0
134
Member Avatar for scias23

i'm thinking how to do this since last week. i can make a rps game in java, BUT not in OO way. just the simple ones. what i want to do is a rps game - the OO way. i planning this program to have two options, play with player …

Member Avatar for TheWhite
1
590
Member Avatar for scias23

i just dont know how to convert this. i have three integers for month, date and year. year is a two digit input. i want to convert these three into one variable type long.. but i dont know how to do it. i tried adding the three integers, but i …

Member Avatar for scias23
0
102
Member Avatar for scias23

[B]EDIT: [/B] i mean "parsing number from a string?" sorry. what should i do to parse a number from a string? i tried this. [CODE=java] Double leap = Double.parseDouble(this.yyyy); [/CODE] but it gives me error. i want to keep the zero in front of the input. for example: 1. i …

Member Avatar for amitrail
0
112