1,576 Posted Topics

Member Avatar for webjam

Does it need to be a 'traditional' database? the noSQL movement is growing and would still be a novel project to do.

Member Avatar for BitBlt
0
572
Member Avatar for feblioz

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 …

Member Avatar for simplypixie
0
88
Member Avatar for amm038

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 …

Member Avatar for hericles
0
148
Member Avatar for javedsai

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 …

Member Avatar for hericles
0
83
Member Avatar for sanjaykumar2763

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]

Member Avatar for hericles
0
89
Member Avatar for obwills

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.

Member Avatar for M.Waqas Aslam
0
96
Member Avatar for satia

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.

Member Avatar for torbatt
0
226
Member Avatar for DanielPrasath

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.

Member Avatar for dioioib
0
165
Member Avatar for dhaval.2cool

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]

Member Avatar for hericles
0
118
Member Avatar for shannie2010

Here is an example using the file upload HTML control handsome PHP [url]http://www.tizag.com/phpT/fileupload.php[/url]

Member Avatar for shannie2010
0
127
Member Avatar for XinJiki

Its been a while since I've done that but the CSS should be: background-attachment: fixed

Member Avatar for XinJiki
0
105
Member Avatar for kikic

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 …

Member Avatar for hericles
0
76
Member Avatar for denmarkstan
Member Avatar for kaosjon

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 …

Member Avatar for weekendrockstar
0
144
Member Avatar for bernardz26

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]

Member Avatar for bernardz26
0
242
Member Avatar for versan

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 …

Member Avatar for versan
0
162
Member Avatar for itsvineethpv

Has the database every been connected to and returned information or are you still in the building stage? Are you seeing any error messages?

Member Avatar for hericles
0
311
Member Avatar for Farhan_B

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 …

Member Avatar for kingsonprisonic
0
212
Member Avatar for Sonny101

You're missing the ' before the comma in this line: [code] sql += "'" + txtPostCode.getText()+ ", "; [/code] Sometimes it just needs a new pair of eyes:)

Member Avatar for BitBlt
0
332
Member Avatar for sushmapotla
Member Avatar for Farhan_B

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.

Member Avatar for kingsonprisonic
0
2K
Member Avatar for Lle26

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 …

Member Avatar for makdu
0
529
Member Avatar for GimmeClassic

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 …

Member Avatar for hericles
0
258
Member Avatar for Eniekko

You are missing the keyword COLUMN: [code] cmd = New SqlCommand("ALTER TABLE " + ddl_sub.Text + " ADD COLUMN " + txt_desc.Text + " varchar(50) ", con) [/code]

Member Avatar for Eniekko
0
313
Member Avatar for virendra_sharma

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.

Member Avatar for virendra_sharma
-1
82
Member Avatar for Deminitous
Member Avatar for Deminitous
0
503
Member Avatar for digiguy

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.

Member Avatar for skatamatic
0
145
Member Avatar for deucalion0

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 …

Member Avatar for deucalion0
0
145
Member Avatar for selman555

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" …

Member Avatar for selman555
0
310
Member Avatar for dark_storm83

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 …

Member Avatar for dantinkakkar
0
202
Member Avatar for networkmancer

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]

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for zobadof

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).

Member Avatar for teedoff
0
73
Member Avatar for jcgldr

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.

Member Avatar for jcgldr
0
269
Member Avatar for peepster

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 …

Member Avatar for dantinkakkar
0
123
Member Avatar for bwaha

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 …

Member Avatar for bwaha
0
11K
Member Avatar for dilse4sk

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]

Member Avatar for pritesh2010
0
167
Member Avatar for jetlife76

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:)

Member Avatar for jetlife76
0
80
Member Avatar for anand01

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 …

Member Avatar for anand01
0
194
Member Avatar for davy_yg

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?

Member Avatar for teedoff
0
102
Member Avatar for Nathaniel10

You can use CSS to move the second one to the left: [code] <style> sup {margin-left: -5px;} // or whatever suits </style> [/code]

Member Avatar for Nathaniel10
0
101
Member Avatar for aishapot

What exactly do you mean? Update in a database? On a web page? Provide some extra information and we can probably help.

Member Avatar for tungnk1993
0
108
Member Avatar for anuradha1

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.

Member Avatar for gokseltigli
-3
183
Member Avatar for dilse4sk

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]

Member Avatar for hericles
0
257
Member Avatar for dilse4sk

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 …

Member Avatar for kingsonprisonic
0
314
Member Avatar for kikic

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"] = …

Member Avatar for hericles
0
155
Member Avatar for toomutch
Member Avatar for dilse4sk

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.

Member Avatar for pritesh2010
0
185
Member Avatar for jcgldr

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

Member Avatar for hericles
0
244
Member Avatar for easygi

Do you get an error at all? Check the string value of path2 and make sure it is a valid path.

Member Avatar for easygi
0
213
Member Avatar for 3825

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?

Member Avatar for epicrevolt
0
188

The End.