Forum: ASP.NET Sep 22nd, 2009 |
| Replies: 3 Views: 253 Sorry mate, but my c# is not so sharp, if you could write something out, and then i will aid you along the way ! :) |
Forum: ASP.NET Sep 21st, 2009 |
| Replies: 2 Views: 230 The simplest solution would to do a google search for "submitting forms in ASP.NET" |
Forum: ASP.NET Sep 21st, 2009 |
| Replies: 3 Views: 253 Well for your database you can create a table called tblRooms, which contains the following fields:
- room_id (primary key)
- room_name (varchar)
- room_features (string/text ?!?)
- is_booked... |
Forum: ASP.NET Aug 19th, 2009 |
| Replies: 6 Views: 1,057 How about this:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
FirstTextBox.Attributes.Add("id", "txtbx1")
... |
Forum: ASP.NET Aug 19th, 2009 |
| Replies: 6 Views: 1,057 I have replaced textbx2.focus with txtbx1.focus
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
FirstTextBox.Attributes.Add("onkeyup",... |
Forum: ASP.NET Aug 19th, 2009 |
| Replies: 6 Views: 1,057 Since the compiler runs in a top-down fashion, the last code executed on page load, is the setting of focus on textbox2. Which means textbox1 will not get focus unless you shift tab to it.
I think... |
Forum: ASP.NET Aug 19th, 2009 |
| Replies: 16 Views: 876 Well, if it is a problem with a webpage, then if you have a submit button in a form, despite which form's textbox you maybe in, pressing the enter key will automatically submit the form.
This means... |
Forum: ASP.NET Aug 19th, 2009 |
| Replies: 16 Views: 876 well, that looks ok. so all you need to is call your submit function in the TExtBox1_KeyDown sub ! |
Forum: ASP.NET Aug 18th, 2009 |
| Replies: 16 Views: 876 well, surely if you had some code to the screen, it would be farmuch easier to correct and point out the direction to. can you send the relevant part of what you have done - then we can help :) |
Forum: ASP.NET Aug 18th, 2009 |
| Replies: 16 Views: 876 Well, i think i can visualize the logic of waht you want - though don't know why you would want to do that !
I would use 2 events:
- first in the onchange event of the textbox i would set a... |