- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Learning Database... Open for Suggestions
23 Posted Topics
Hello to all, I am trying to display the images on my page through php from mysql database Problem is - Images are repeating , It always display only first image. <?php include("header.php"); include("connection.php"); $sql = "select Image from flood_light"; $result = $conn -> query($sql); if ($result->num_rows > 0) { … | |
**Is this possible to establish connection with sql 2008 R2?** Dear Experts, I am trying to create connection between Sql 2008 R2 and Visual Studio 2010 (I have installed Sql first). Is it essential to work with windows 2007? I have to format my computer because of this, would you … | |
Dear Experts, I am new in asp.net. I have to make a website in asp within 5 months. I have written connection string for sql server 2008 R2. I want to use "default login" but my connection string does not work. <connectionStrings> <add name="donationConnectionString" connectionString="Data Source=COMPAQ-PC\SQLEXPRESS;Initial Catalog=donation;Integrated Security=True" providerName="System.Data.SqlClient" /> … | |
Hello experts, I never used [B]"Dataset"[/B] in my project. But I know this is used for the set of tables. Can I use this to authenticate from more than one table? Tables in my Database are: Login, Student, Student Details, Fee, Teacher, Teacher Details. I want to use dataset in … | |
hi experts, i am new in asp.net even i do not know how can i start a new project. please help me in connection coding with ms access. | |
:)Hello Experts, I have created an application in vb.net,it's working properly and now i want to design my own website using vb.net,plz help me. i have worked in vb.net in windows application. thanks in advance:) | |
hello, I want to link a text file in my userform. [B]Can i use linklabel for hyperlink?[/B] please help me........... thanks in advance.:confused: ![]() | |
Hello Experts, How can i save the optionbutton and checkbox value in sql database? please send the query: dim cmd as new sqlcommand("insert into [tablename] values(........)",c.con) please help me :) | |
Re: [QUOTE=suemaina;1638884]Hi pliz assist me, I need a code that can allow the login form to search for pin number stored in another form example when a customer enters the pin number and clicks ok button the login form searches if the pin number exists in the bank details form ..thanx … | |
Re: [QUOTE=kheijhei;1638318]guys, when you log in a username and a password a msgbox will show that you are log in, and then when you enter the same username and password, the program will identify that the username and password is log out. no button will be use in here. what code … | |
Hello to all, I want to auto generate id that should be access from my sql database. I try this code- [CODE] Dim j As Integer = 0 Dim cmd As New SqlCommand("select staff_id from staff ", c.con) Dim dr As SqlDataReader dr = cmd.ExecuteReader() While (dr.Read()) txtstaff_id.Text = dr("staff_id").ToString() … | |
Re: [QUOTE=PurpleHeaven;1638932]Hello~ I'm having a little problem on how to make a timer which include minutes and seconds. The design of the form goes like this: [url]http://i.imgur.com/lh1pk.png[/url] Another condition here is when the timer goes down, the interval gets faster. Please help me~[/QUOTE] dim i as integer=0 timer1= i label1.Text = … | |
Re: [QUOTE=mtelemko;1638477]how to create data grid table and how to link it to MS SQL Server 2005 Express database[/QUOTE] hello, create a table in your sqldatabase then In vb.net, select 'data grid view' from toolbox and place it on your form choose data source -> add project data source-> select connection … | |
hello, i want to calculate total salary according to attending days. please help me in coding. | |
Re: [QUOTE=coolsasuke;1638407]Hey , yeah. I was wondering if it is possible to hide all desktop icons EXCEPT my application's shortcut ? If it is possible, please tell me how . It is the best if you can provide the code for me. As im a very noob in coding cause im … | |
how we create a function/method in vb.net?? if i want to make a method of auto_generate_id, then how will i start? i have written this code please help me..... [CODE] void auto_generate_id() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) … ![]() | |
[CODE] Sub auto() c.con.Open() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) Dim dr As SqlDataReader() dr = cmd.ExecuteReader() While (dr.read()) txtstaff_id.Text = dr("staffid").ToString() End While j = Convert.ToInt32("txtstaff_id.text").ToString() j = j + 1 txtstaff_id.Text = j.ToString() dr.close() c.con.Close() End … | |
Re: [QUOTE=jigarsangoi;1633212]I wrote the following code for inserting the value in table company_db & database is Company_DB but the value are not inserted into the table table shows null values the code is below: [CODE]Imports System.Data.OleDb Imports System.Data.OleDb.OleDbConnection Imports System.Data.OleDb.OleDbCommand Public Class Newcompany Inherits System.Windows.Forms.Form Private Sub Button1_Click(ByVal sender As System.Object, … | |
Re: hello, take a class from project menu. Imports System.Data.sqlclient Public Class connect Public con As New SqlConnection("data source=J;initial catalog=donation;integrated security=true") End Class [connect is my class name, j is my server name and donation is my database name.] take a button,in which you will code 'to create a table in … | |
Re: hello, I can help you if you are using sql as database. you want to delete a field from vb.net. try this... [CODE] Dim cmd As New SqlCommand("delete from login where(userid='" + textbox1.Text + "')", c.con) cmd.ExecuteNonQuery() [/CODE] (c is object of class and con is object of connection) userid … | |
Re: Try this: [CODE]c.con.open() dim cmd as new sqlcommand("select * from users",c.con) cmd.executereader() if(read()) then textbox1.text=dr(name).tostring() end if c.con.close()[/CODE] c & con is an object of class and connection respectively. textbox1.text is the name of field in which you want to retrieve data from your database. | |
[CODE] pvt sub timer1_tick(.....................................................) dim n as login form n.show() timer1.enable=false end sub [/CODE] Is there need to set keyword before login form? i m using this code but login form is not showing at runtime. please help me to run this code | |
Hi all, i want to create splash form by choosing a windows form from project menu. The form should be display after progress bar. please help me |
The End.