|
Hello,
In Microsoft Visual Basic 2005 Express Edition Version 8.0.50727.42 (RTM.050727-4200) and Microsoft .NET Framework Version 2.0.50727.
Right Click Toolbox--Choose Item--.NET Framework Components--Check on OracleConnection and OracleDataAdapter--Ok
Now double click OracleDataAdapter1 in the toolbox.
Data Adapter Configure Wizard appears. Click on New connection.
Add Connection dialoge box appears.
Click on change.
Change Data Source dialogue box appears.
Here i am getting only 2 items:
1.Microsoft Access Database File
2.Microsoft SQL Server Database File
And in Data Provider combo box; only ".Net Framework Data Provider for SQL Server".
I am not able to configure my OracleDataAdapter1 control by choosing above method.
Please help and guide me.
Thanks & Regards
Girish Sharma
|
|
|
|
|
Girish481 wrote: Microsoft Visual Basic 2005 Expre
When did this start to support ASP.NET ? Even if it did, your question is not about ASP.NET and belongs in the VB forum.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello Everybody
I am developing an online restaurant management system. If order has been placed by customer then it should be printed automatically. As I thought is:
1.Check database order table index has been increased or not
2.If increased then print the order
For this I have to refresh my page once in a minute as I thought.
Now I am sure it is not a good solution.
I will be really grateful if you give me some idea for my project or leave some website address where I can get more help.
I am waiting for your reply.
Regards
Sarfaraj
|
|
|
|
|
I'm not sure I follow. Why do you need to refresh ? Is this on the restaurant side ? Why not generate one report with all the orders ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes it is testaurant side.
how do i know order has been placed?
|
|
|
|
|
Oh, I see. Well, the most obvious solution is to use AJAX. Actually, I wouldn't have the restaurant side running in a web page at all. I'd probably set up an inbox for orders and email them as they are placed.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks a Lot
But I need to auto print on client computer if someone place any order. How a client computer will know order has been placed.
Also I need to send mail to customer and the restaurant computer as well.
Can you send me some link where I can get more help
Regards
Sarfaraj
|
|
|
|
|
Well, your options are:
1 - use a mailbox to deliver orders. You could investigate a custom mail program that recieves the mails and does whatever you want with them
2 - write a webservice and then write a fat client program that calls the webservice regularly to find any new orders, then again, you can do what you want with them
3 - ( this is the worst idea ) use AJAX to write a site that keeps pinging for orders
The thing is, a fat client app, however it works, will be far easier to write and maintain for the restaurant, the web page only makes sense as a way of exposing the client side to users.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i am getting date error when i use
convert.todatetime(datevalue); or datetime.parse(datevalue);
as well as at the assignment of
datetime var=new datetime();
var= textbox that contains date(dd/MM/yyyy or MM/dd/yyyy).
using britsh date settings in control panel dd/MM/yyyy works fine
when i change date format from control panel. i get date error.
how can i get rid of this problem...????
umerumerumer
|
|
|
|
|
You should always use TryParse, b/c your users can enter values that are not valid. Apart from that, you need to tell users what format you expect.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I posted a message in the Web Browser forum. If anyone that is familiar with IE CSS compatibility issues would care to, I could really use the help.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: I posted a message in the Web Browser forum.
On which site?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Are you serious?
The problem has been resolved, so you don't have to bother with it.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: Are you serious?
I looked for a Web Browser forum here, and there isn't one.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I want to bind my gridview with a table in session(not from database). Can I provide th inline editing facility(as provided by using sqlDatasource). ie when i click edit a text box appears in grid view to enter the value.
Is it possible.
Kindly help me.
|
|
|
|
|
You would need to store the table in the session, b/c it needs to persist between postbacks, that's what the data base is for, usually.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
You can easily bind a table in session by casting it i.e
grid.datasource = (DataTable)Session["Datatable"];
grid.databind();
And providing inline editing is also possible.
|
|
|
|
|
hi Kashif, Thanks for bothering. I know how to bind my gv with a table. I just wanna know how can I provide inline editing facility.
I hv taken EditItemTemplate and a textbox in it. I cant figure out how to show this text box when user clicks edit.
Any help is appreciated.
Thanks..
|
|
|
|
|
add this in columns of GV
<asp:commandfield headertext="Edit" showeditbutton="True" showheader="True" xmlns:asp="#unknown" />
remove xmlns:asp="#unknown" , CC bug in posting
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi Folks,
Here i created a Globle Application class file .There i write the code for mail send ing. Its executing but i am not getting the mail.
this is the code where i place in the asax page
Its urgent. plz help me
Thanks in advance.
]]>
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
sendmail()
End Sub
Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application shutdown
End Sub
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when an unhandled error occurs
End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a new session is started
End Sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a session ends.
' Note: The Session_End event is raised only when the sessionstate mode
' is set to InProc in the Web.config file. If session mode is set to StateServer
' or SQLServer, the event is not raised.
End Sub
Sub sendmail()
Dim s As Net.Mail.SmtpClient
Dim m As Net.Mail.MailMessage
s = New Net.Mail.SmtpClient()
m = New Net.Mail.MailMessage()
m.From = New System.Net.Mail.MailAddress("hora@horaanimationstudio.com")
m.To.Add(New System.Net.Mail.MailAddress("srinivas@horsoft.in"))
m.Subject = "autogeranted mail"
m.Body = "Test mail"
m.IsBodyHtml = False
s.Host = "mail.horaanimationstudio.com"
s.Port = 25
s.Credentials = New System.Net.NetworkCredential("hora@horaanimationstudio.com", "info1")
'//s.Send("kanteti.srinivas@gmail.com", "srinivas@horsoft.in", "autogeranted mail", "Test mail")
Try
s.Send(m)
Catch
End Try
End Sub
|
|
|
|
|
Member 4720184 wrote: Its urgent. plz help me
Of course it, however, it is extremely bad taste to say this here.
Member 4720184 wrote: Its executing but i am not getting the mail
Have you thought it might be being blocked my the server or the mail client? You don't even have any logging in the try/catch, how do you know an exception isn't being thrown?
only two letters away from being an asset
|
|
|
|
|
I created a simple textbox with an access key however, when I try to use Alt + Z focus is not being “assigned” to that control. Has this issue occurred to anyone else?
<asp:button id="Button1" runat="server" text="Button" accesskey="Z" xmlns:asp="#unknown" />
Environment notes
-------------------
ASP.NET 3.5
Visual Studio 2008 sp1 on win xp sp 3
Mozilla firefox 3.0.5
Jon
|
|
|
|
|
I've not heard of the AccessKey, but the properties are case sensitive, did you spell it right ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks... well I tried changing the value from "Z" to "z", however, the controls do not get focus when I use Alt + z, although using the focus method programmatically works i.e. Button1.Focus().
Any idea where my mistake is?
Jon
|
|
|
|
|
Hi,
I've developed a class for showing a confirm message box.(I just show it!)
It has 2buttons : Yes and No.
I have 2 questions:
1. How can I pause execution of code until get back the user click (Yes or No button), it's in the middle of a method.
2. How could I recieve the result of click (which one was clicked)?
I need a functionality just like Windows MessageBox that I can read the result of click in 'if' and continue my method based on it
Best wishes
|
|
|
|