|
It was my mistake. Thought he is asking in asp.net and did't read his subject.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
Parwej Ahamad wrote: It was my mistake
Things happen
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
paya1pa wrote: i hope you understand my querry
Not exactly, but you may try somethig like this with the Date [^]object in javascript:
var toDate = new Date('02/10/2009');
var fromDate = new Date('03/10/2009');
if(fromDate > toDate)
alert('From date is greater...');
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas Bhardwaj wrote: var toDate = new Date('02/10/2009');
var fromDate = new Date('03/10/2009');
But This means
toDate = 10th Feb 2009
fromDate = 10th March 2009
So it is better to use setFullYear(year,month -1, day) like this:
var toDate=new Date();
toDate.setFullYear(2009,9,2);
|
|
|
|
|
hi sir,
please help me for changing my crystal report connection string.
sir at the time of designing of crystal report i have used connection string for oledb connection.but now i want edit my that connection string from code behind.
is there any way.if yes then please help
|
|
|
|
|
vikas shukla wrote: but now i want edit my that connection string from code behind.
So, What is the problem???
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
vikas shukla wrote: but now i want edit my that connection string from code behind.
So, What is the problem???
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi expert
i want pass value in textbox when I addition of two number in javascript.
ex.
var c = parseFloat(a) - parseFloat(b);
textbox1.text=c;
|
|
|
|
|
in Js controls are accessed by their id using document.getElementById
document.getElementById('textbox1').value=c;
|
|
|
|
|
|
Dim rpt As cry1
rpt = New cry1()
Dim RptForm As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim T As CrystalDecisions.CrystalReports.Engine.TextObject
RptForm = rpt 'rpt is your report object
T = RptForm.ReportDefinition.Sections(1).ReportObjects(0)
T.Text = Date.Today
rpt.SetDataSource(d)
CrystalReportViewer1.ReportSource = rpt
CrystalReportViewer1.DisplayGroupTree = False
CrystalReportViewer1.Show()
|
|
|
|
|
Hello, This is Vikash.
I have created an OCX Control in VB6.0 for Controlling a USB Device.
In the OCX Control I have a function where I get data from the USB Device.
Now my query is How Can I pass this data from OCX Control to a Textbox on the same WebPage.
Anyone Having any idea, or Can it be done in the first place.
If Yes, then some ideas please.
Thanks in Advance.
|
|
|
|
|
I believe that if you create a COM object in VBScript, you can access it's properties. An IE web page can run VBScript on the client, and of course, your site will now only work in IE anyhow.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks Christian for the reply.
Actually, I have a USB Card Reader.
And I am getting Data from this Device in an Event when some Card is swapped on the device.
Bcoz of this event I need to use the OCX Control to trap the event and get data.
Now I need to Pass this data to my WebPage which will take this data, Search for a Match in the DB and Display other details like Name, Code, Image of the person who has punched the Card.
Any Idea please, I need to somehow get this information.
Christian any more Ideas please.
|
|
|
|
|
hi i have created a site using asp.net 3.5 and have used access database.
can anybody tell me how cud i upload the database to online server.
and what changes shud b made in connection string...thnks....
|
|
|
|
|
Store the mdb in server.mappath
give the connection string
New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
data source=" & server.mappath("YouName.mdb"))
i Guess
|
|
|
|
|
You can store it in App_Data folder. Assign the database path on connection string. If you have any doubt on connection string,refer this site.[^]
|
|
|
|
|
i have already tried as u told but it does not work...
|
|
|
|
|
|
What is the error message?
|
|
|
|
|
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine
|
|
|
|
|
It astounds me that almost every day, people here are stupid enough to post an 'error message' that is giving them explicit instructions on what to do, in order to see the real error message.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
sir i have followed that instructions but the problem is not that...
|
|
|
|
|
You have an error, you don't know what it is because of your web config settings. So, fix that and find out what is wrong.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Your web config settings hide the actual error. You can view it by change the custom errors mode “On”. But I don't recommend it because of security concerns. You please implement any error detecting mechanism and come back with the error.
|
|
|
|