|
Hey i have a page which is a quiz website..
one question is displayed in the .net page at a time and when i click next button it displays the next question in the same page same place....
I want my page such that if the user does not select ans /if he has selected ans and did not click next button , the next question should automatically be displayed
Thank you
Hepsi
|
|
|
|
|
You can write a timer in javascript that does a postback after 10 seconds.
Please try to ask ASP.NET questions in the ASP.NET forum in future.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
can i know what use of (system.int32)
and dtproduct do i need to declare the "dt" like
is it do like below...
private btncalculate_click(.....)
dim dtproduct as new stocktableadapter
dtProducts.Columns.Add("Total", typeof(System.Int32))
dtProducts.Columns[index].Expression("unitsinstock * unitpricefield")
thanks for the idea
|
|
|
|
|
I'm sorry, but I can't work out what your question is. What on earth is a stocktableadapter ? What do you need to know ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ops sorry bout that i quite weak.i have create a dataset,inside i create itemtable.inside item table i have 3column name Item_ID,Item_Name,Item_unitprice .
010125 Thumdrive 23.50
i use drag and drop method from datasorce to vb.net.how can i count total amoutn if i choose certain item. like wedoing basic math we use unitprice*quantity=total
quantity i click myself and unitprice is given in datasource.
my datasource name for item is itemdatasource,itemtableadapter,datasetname is ComHdataset.
|
|
|
|
|
OK - in that case, if the user enters the quantity themselves, then you can calculate the total when they enter it, either in javascript, or via a postback.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i just know programming,html,and vb.net code ....javascript and postback i never learn b4...because i just start my collegue life..it's good if u teach me more..this my final assigment
|
|
|
|
|
I don't want to be harsh, but if this is your final assignment, surely you know how to do some research ? You don't need javascript. Postback just means doing it when the server is called, in VB.NET.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ya..it's ok..thanks for the idea...the assigment only given 4 weeks..quite hard to student like me..so i need some idea or better in full codeing i will very glad...
|
|
|
|
|
Member 4442916 wrote: quite hard to student like me
The idea is that an assignment stretches you, and establishes what mark you deserve
Member 4442916 wrote: better in full codeing
We don't do that. We passed our courses by doing our own work and we encourage others to do the same. IF you get stuck on something specific, we'd love to help.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi to all,
I am new to programming, i just learned VB.net. I thought about to do a project of accounting for a small shop. Which contain sales, purchases, inventory, etc.
If any one have a idea how to design a accounting software please help me. This will help me to do the project and practice.
Kind Reagrds
Nawas
|
|
|
|
|
Your question is too broad. You need to decide how to design your software, will it be n tiered, will it be a web app, what tools will you use, etc ? Then you can ask specific questions here.
It sounds to me very much like this is too big a project for you now, what do you mean by 'I just learned VB.NET'. How long have you been using it ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
abdulnawas wrote: how to design a accounting software
You first need to know the rules for accounting e.g. Double Entry Book Keeping.
You need to know how a Nominal/General Ledger works
You need to know the difference between the Balance Sheet and Profit and Loss layouts and Accounts
You need to know how tax laws opporate in your intended market/country(ies)
That's a small sample of things you will need to know about General Ledgers
Stock Control :-
Different costing methods
Landed costs
Batch and Serial numbers
multi-locations
again the list is endless
I would start on something much simpler as a project.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
I want to give limit to the splitter bar in a framset so that user cannot move the splitter bar beyond the limit given.
ex-
I want to give limit such that user can move the bar say about 40 columns towards left.Beyond that he cannot move the bar.
Thank You...
|
|
|
|
|
If you're using the SplitContainer control, simply set the Panel2MinWidth (right side panel) property to the width of the SplitContainer minus the 40 pixels you want for the maximum size of Panel1 (left side).
mySplitContainer.Panel2MinSize = mySplitContainer.Width - 40
You'll have to put this code in the Resize event of your SplitContainer if your form is resizable and the SplitContainer is anchored to the sides of the form.
|
|
|
|
|
Thnak You Very much Dave
|
|
|
|
|
I am getting the exception "Exception has been thrown by the target of an invocation" with the following code:
Imports System.Net.Mail
Public Class SendMail
Sub newreportMail(ByVal ex As String)
Dim SendEmail As New MailMessage()
With SendEmail
.From = New MailAddress("from@from.com")
.To.Add(New MailAddress("to@to.com"))
.Subject = "There is a problem"
.Body = "There has been a problem inserting a record : " + ex
Dim client As SmtpClient = New SmtpClient("1.2.3.4")
client.Credentials = New Net.NetworkCredential("from@from.com", "pass")
client.Send(SendEmail)
End With
End Sub
End Class
It bottoms out after a couple of seconds when it reaches the client.send(sendEmail) line.
Any help would be great.
|
|
|
|
|
Looks like you copied an example off the web and didn't bother to change it to use real values. I doubt that 1.2.3.4 is the IP address of a real mail server accessible to your network.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
It's not, i just put that in as an example.
|
|
|
|
|
I regret to report that we get enough dumb questions around here that you need to make that clear
Your mail server requires the step where you specify credentials ? No email code I've ever written involves that step, as far as I remember.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi try this
set
client.DeliveryMethod = SmtpDeliveryMethod.Network
before sending mail..
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
hey guys, got it working in the end:
Sub newreportMail(ByVal ex As String)
Dim SendEmail As New MailMessage()
With SendEmail
.From = New MailAddress("from@from.com")
.To.Add(New MailAddress("to@to.com"))
.Subject = "There is a problem inserting records"
.Body = "There has been a problem inserting a record : " + ex
Dim client As SmtpClient = New SmtpClient()
client.Host = "mail.here.com"
client.Credentials = New Net.NetworkCredential("from@from.com", "pass")
client.Send(SendEmail)
End With
|
|
|
|
|
Sir,I want to display Treeview in Crystal Reports
pls help me on this
Mamatha
|
|
|
|
|
The only way to show a TreeView in Crystal Reports is to create an image on one. Try this[^].
|
|
|
|
|
This message is appeared suddenly ,,
I deleted Debug folder and rerun project without any change ..
Hoe can i solve this problem ?
jooooo
|
|
|
|