- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 2
9 Posted Topics
Wow that's cool advice. for me, in order to avoid sleepiness. I just sleep. after that I won't be sleepy anymore. just kidding
it would be better if you could give some hint on what do you want to achieve with this code and how you call it. it seems that nothing is wrong with your code
wow. I also need sample project for accounting system. hotel reservation and billing system, hospital billing system. this is a good idea actually to post in forum like this, in case someone is so generous to give it.
try adding error handling in your code Private Sub dgPopulate() connect() try da.SelectCommand = command da.Fill(ds) Dim dt As New DataTable da.Fill(dt) Me.dgEmployees.DataSource = dt catch ex as exception msgbox ex.message end try conn.Close() End Sub
what method are you using? are you using adodc? adodb? DAO? what database are you using?
I think it'll be very difficult for you to write the code that way. I'd write something like this : <?php session_start(); if(isset($_SESSION['is_user_logged_in'])) { $x=mysql_connect("localhost","root",""); $y=mysql_select_db("online_book_shop",$x); $n=$_SESSION['id']; ?> <html> <body background=modern-background-design.jpg> <div align=center> <h1 style=text-align:center;font-family:fantasy;color:red;font-size:36px> COMPLETE BOOK DATABASE</h1></br> <? $z=mysql_query("select * from books order by serial asc"); ?> </br><br/><br/><br/><table border …
what database are you using? you should be carefull with reserved word. I'm afraid that date is reserved word. I suggest changing field name, with something save like dt_input, or date_birth, etc. and something off with your query, it miss the from keyword. try putting bracket like this select * …
you need to manually show or hide your groupbox like this Private Sub radHamburger_CheckedChanged(sender As Object, e As EventArgs) If radHamburger.Checked = True Then grp_hamburger.visible=true grp_pizza.visible=false grp_salad.visible=false 'rest of the code here end if end sub
try this If (IsNumeric(DataTable.Rows(e.RowIndex).Cells(1).Value) then
The End.