1,576 Posted Topics
Re: Does it need to be a 'traditional' database? the noSQL movement is growing and would still be a novel project to do. | |
Re: If you need each image to be in a div give the divs a CSS class that they share. For that CSS class set [code] display: inline-block; [/code] This will your divs, and the images inside them, along the same line. Block level elements such as divs do not line … | |
Re: You don't mention what control you are using to display the data but it sounds like you are outputting to a string, maybe a literal control. To make the data appear down the page (like a list) if you are placing string content on the page, you will just need … | |
Re: Without knowing exactly what system you have used to create the drop down menu it should just be a case of setting the position to relative for the secondary list and setting a negative margin top that locates the menu in the correct position. If your menu had dynamic content … | |
Re: It sounds like the jQuery slider is something you might like. Check out an example here: [url]http://tutorialzine.com/2011/01/how-to-make-auto-advancing-slideshows/[/url] | |
Re: You'll need to post up some code. Without seeing whta you have done it is hard to give advice. The form load can call any other code it is told to, no button press required so you may have a fault in your logic. | |
Re: Is the PHP file in the correct location? If you have altered the directory structure even a little then it would cause the file used in the require_once to not be found. Your folder structure needs to mimic the path shown in the error message. | |
Re: I must agree, I only found them after Chris mentioned them in a previous post and I've started to get through them. I knew objective C already (self taught to an adequate intermediate level) but I still learnt a lot about iOS stuff I thought I understood. | |
Re: You aren't linking the command object to the dataAdapter so your dataAdapter doesn't know what to do. [code] Dim temp As New SqlDataAdapter(cmd) [/code] | |
Re: Here is an example using the file upload HTML control handsome PHP [url]http://www.tizag.com/phpT/fileupload.php[/url] | |
Re: Its been a while since I've done that but the CSS should be: background-attachment: fixed | |
Re: Normally when someone asks for help on a large project we ask which part you are stuck on - we aren't going to do the whole project for you. There is nothing intrisically difficult about what you aim to do, it just has several component parts to it. Do you … | |
| |
Re: I think you would need to enter either the time the task was started and the time to complete or the calculated end time (as a time stamp) into a database. Then you could read the value whenever you needed to inform the player of the time remaining. I have … | |
Re: This is a basic example of how you would connect to a database, set the command object and execute it: [url]http://www.java2s.com/Code/VB/Database-ADO.net/InsertdatausingSqlCommand.htm[/url] | |
Re: You can change the location of the second image using position: relative and setting the left and top margins to the correct values so the images lie over each other (negative values are allowed). The z-index CSS attribute allows you to layer two elements over each other. The higher the … | |
Re: Has the database every been connected to and returned information or are you still in the building stage? Are you seeing any error messages? | |
Re: Maybe you have that cmd object declared elsewhere but from what you posted the name of the command object is wrong. [code] Dim acscmd As New OleDb.OleDbCommand ' the oledbcommand acscmd.CommandText = strsql 'sets the sql string acscmd.Connection = acsconn 'sets the connection to use the oledbcommand cmd.ExecuteNonQuery() ' execute … | |
Re: You're missing the ' before the comma in this line: [code] sql += "'" + txtPostCode.getText()+ ", "; [/code] Sometimes it just needs a new pair of eyes:) | |
Re: Can you provide us with more info? This is really vague... | |
Re: The simplest way is to add a roles column to your database table (or create a separate table to hold this info) so when they log in you can extract which role they belong to. | |
Re: Your problem lies in the fact that you check the user name and password, starting the timer and progress bar if they are correct, and then continue on to increment ctr and crr anyway. If the user name and password is accepted you want to step out of that code … | |
Re: There is a little more to using a web service than dropping in a using statement. Is it a web service you are trying to connect to or a DLL component? Using allows you to reference assemblies that may not be part of your default application (for example to use … | |
Re: You are missing the keyword COLUMN: [code] cmd = New SqlCommand("ALTER TABLE " + ddl_sub.Text + " ADD COLUMN " + txt_desc.Text + " varchar(50) ", con) [/code] | |
Re: Personally I would use the repeater control but only because of the ability to style it using CSS. All of the controls you mentioned can do the job but I think a repeater would look best. | |
Re: Is line 62 complete? You haves VALUES but nothing after it. | |
Re: Considering C# is a web based language (C#.net) the answer is pretty obvious. Asp.Net can be coded in either VB.net or C# so if you know C# go right ahead and code in that. | |
Re: If you have set it out OK it shouldn't shift when values appear. You can specify lengths, padding, etc for the controls so that the expected outputs can fit in them without them having to resize. Can you post up your HTML and CSS so we have get a better … | |
Re: Any controls that you place on the page (the .aspx) that you want to use server side need to have an ID and the attribute runat="server". You can then access on the code-behind page by using its ID. For example, if you had a text box : [code] <asp:Textbox id="textBox1" … | |
Re: There are javascript libraries that can detect if flash is installed in the browser. Find and use one of those. You can then detect if flash is there and use javascript to alter the CSS style of the div depending on the result (i.e. what you need to set the … | |
Re: Im thinking the real problem is this line: [code] conn.BeginTransaction(sql) [/code] BeginTransaction takes an isolation level as an argument i.e. an enumeration. You are trying to feed it a string. Try: [code] cmd.CommandText = sql transaction = connection.BeginTransaction(IsolationLevel.ReadCommitted) // or whatever isolation works for you [/code] | |
Re: You can place divs side by side by using the CSS style display: inline-block; for each of them. This makes block elements act like inline elements (i.e. line up on the same line not under each other). | |
Re: Unfortunately the stack trace is of little value to us. Can you post up the code? Although if you debugged it and ran to the error you might get to understand where it is going wrong. From the error message something is null when it shouldn't be. | |
Re: My guess is you have an error in the way you set up the menu. The list shouldn't disappear as you move the mouse down. Check the distance between the main menu and the pop up menu. You probably have a slight gap of a pixel or two and as … | |
Re: If you haven't disposed of the data source you could always use that to calculate the total. You can even do this before the button is pressed and store the total for later use. Or this would probably work: [code] sum += CDbl(ListBox1.Items(x).Value) // or maybe .Text [/code] You were … | |
Re: You are setting result to 'Yes' which of course means the 'else' part of your if statement never gets called. Try: [code] result = MsgBox("Are You Sure You Want To Logout", MsgBoxStyle.YesNo, MsgBoxResult.Yes) [/code] | |
Re: As long as your code isn't actually PHP post it up here and we'll have a look. If it is PHP you might want to try that forum. Without seeing your code it really is hard to give good advice:) | |
Re: Whenever you need to join tables you use the JOIN command and then specifiy which columns in the joined table form the linkage (are the same). For your tablesto get stuid and subname the query would be: [code] SELECT mm.stuid, sm.subname FROM markmaster AS mm JOIN subjectmaster AS sm ON … | |
Re: The link didn't work for me. I guess you're saying that it only looks OK in IE. Is the layout that you see in the other browsers similar? Any chance of a screen shot? | |
Re: You can use CSS to move the second one to the left: [code] <style> sup {margin-left: -5px;} // or whatever suits </style> [/code] | |
Re: What exactly do you mean? Update in a database? On a web page? Provide some extra information and we can probably help. | |
Re: Doesn't really work that way, sorry. We'll help you with particular problems if you get stuck but we (I'm speaking generally I know) won't be too interested in doing the entire project for you. | |
Re: Why are you trying to convert the value in txtEmpSearchLastName.Text to an int? I'm assuming it is a string. Change your code to: [code] cmd = "select * from staff where staff.LastName=" txtEmpSearchLastName.Text [/code] | |
Re: You will need to break out the information into more tables. You will need one table for registered guests (an id, their name, contact info, etc) and another for bookings. The bookings table will have a booking id and a guest id which links to the guest table. Then a … | |
Re: If this is a web project use Session state to record the user's role. Then whenever access to a restricted page is required check the session variable to see if access is allowed. When the admin or manager log in set the session based on their role: [code] Session["role"] = … | |
Re: Coalesce is available in MySql and it works as defined above by reverend_jim. | |
Re: What is placed into the dataset will be dependent on what you selected in your SQL statement. If you selected user name and password then they will be included. Without seeing your code it is hard to provide good help. | |
Re: Are you saying the build errors but doesn't specify what the error is? It should point to the class and line when the problem happened. To go back to a previous build you would need to have been using some form of version control | |
Re: Do you get an error at all? Check the string value of path2 and make sure it is a valid path. | |
Re: Unless I'm mistaken you are trying to get 3 images to appear side by side. This is easy enough to achieve with CSS. Have you had difficulty with lining them up using CSS? |
The End.