- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
35 Posted Topics
[COLOR=#008000]command.Parameters.AddWithValue("@number", TextBox1.Text) can i do this from another way? [/COLOR] | |
hi, i receive an error on this line -- if (salesPersonsName <! "end") -- error : operator ! cannot be applied to java.lang.String what can i do? thanks | |
I choose something from selectbox and click on the button and i get list of the data from database but, whatever i choose from selectbox doesn't remain what i have chosen. It sets itself to first value. How can i do "selected" ? [code] <?php $mysqli = new mysqli("localhost","root","","inantest"); if … | |
Hi, This code works fine but, when i choose "Female" from selectbox, it sets "Male" in the selectbox again. What is the problem? Thanks [code] <?php if (!isset($_POST["sex"])) { print "Please start!"; } else if ("Male" == $_POST["sex"]) { print "Male !"; } else if ("Female" == $_POST["sex"]) { print … | |
Hi, I want to call a stored procedure for the below php code. How can i create a stored procedure and call it for below program instead. Mysql please. Thanks. [code] $comboSecenek=$_POST["ComboBox"]; $adet=$_POST["adet"]; $sql = "UPDATE product SET amount = amount + '$adet' WHERE name = '$comboSecenek'"; [/code] | |
Hi, When i add new product into "Products" table, a trigger will add a record into "stocks" table. Example; stock=10,productId=99 How can i do that? Thanks [code=sql]CREATE TABLE products( productId INT(10) NOT NULL AUTO_INCREMENT, productName VARCHAR(10), PRIMARY KEY (productId)); CREATE TABLE stocks( stock INT(10), productId INT(10), FOREIGN KEY (productId) REFERENCES … | |
Hi, I can create all tables but order table. What is wrong, is it foreign key? [code=sql]CREATE TABLE customer( customerId INT(10) NOT NULL AUTO_INCREMENT, customerName VARCHAR(10), customerSurname VARCHAR(10), customerAddress VARCHAR(10), PRIMARY KEY (customerId)); CREATE TABLE order( orderId INT(10) NOT NULL AUTO_INCREMENT, customerId INT(10), PRIMARY KEY (orderId), FOREIGN KEY (customerId) REFERENCES … | |
Hi, I want to create a table in Mysql but i receive an error. [COLOR="Red"]Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\wamp\www\CreateTable\create.php on line 11 Table veriler_2 couldn't been created! : [/COLOR] i give you the whole lines to check it for me. I can not … | |
Re: 1. if you use IIS stop it. 2. use Wamp server([url]http://www.wampserver.com/en/download.php[/url]) (just install the wamp, restart your computer and start wamp, make sure it says "online" on system tray icon of wamp). 3. right click on mycomputer\manage\services and applications\services. find the wampapache and wampmysql then start them.Also, make starttype property … | |
Hi, I use wampserver (or vertrogo serv) and installed in c:\wamp. I have a file called test.php in c:\wamp\www\test.php. When type [url]http://localhost[/url] into browser, it asks me password and username. I cant just pass that. Therefore, i cant use anything. Where this password and username thing come from? I didn't … | |
Query = "select * from table2 where number='" + Text5.Text + "'" Rs.Open (Query), Conn, adOpenStatic, adLockReadOnly Hi, If "number" is defined as Auto number in Access database, second line generates an error. If "number" is not defined as Auto number then, no problem. What can i do? Thanks | |
Hi, I use VB6 with Access. I have 4 records in my DBF file. When i do Recordcount, it says that i had -1 record. Why not 4? Help please Thanks Dim Conn As New ADODB.Connection Dim Rs As New ADODB.Recordset Dim Query As String Private Sub Form_Load() Conn.ConnectionString = … | |
Hi, I am using VB6. I use Datagrid to list my data from a Dbf file. When i click on a row of Datagrid, it doesn't trabsfer actual data into Textboxes. It transfers previous clicked data into textboxes. What can i do? Private Sub DataGrid1_Click() Text3.Text = Adodc1.Recordset("Number") Text4.Text = … | |
Hi, When i press "end" button on keyboard, i want to see "pressed on end button" message on screen. How can i do this. I am new in Java. Thanks | |
Hi, i have 2 tables. i have 3 equal colomns in both. I want transfer all data from 1st table to another one. How can i do it? Thanks this doesn't work but something like this; insert into exam (e_score, l_name, s_id) values (dbo.assignment.e_score, dbo.assignment.l_name, dbo.assignment.s_id) | |
HI, [COLOR=#000000]I am trying to return automatic value into another column with using trigger in a table, when I enter new record into that table. It works if it is first data to be in that table. If I have more than one record already, it doesn’t work. I thing … | |
Hi, SELECT * FROM veriler WHERE (name LIKE '%in%') This line doesn't work in Ms Access, IN either. No error is given is well. But It works in SQL server. How can i do in Access? Thanks | |
Re: check this up. [URL]http://www.connectionstrings.com/[/URL] | |
table : kisiler name surname points ----- -------- ---- ali elli 1 ali elli 5 ali elli 5 veli kollu 3 veli kollu 4 adem bacakli 2 ali elli 4 veli kollu 5 Q ; how can i get result has been showed below; ali elli 15 veli kollu 12 … | |
Hi, I have a website. I want to put a searchbox and search what i want to find in content of my website not in database file. How can i do this? Thanks | |
Hi, how can i display images in a form in Ms Access 2003. I have fields in a table and path of images. Thanks | |
hi, 1-how can i do multiselect in calendar. 2-how many days between 2 dates? how can u calculate it? example : 10/10/2006 - 12/10/2006 there is 1 day between those 2 dates. thanks | |
hi, 1-how can i do multiselect in calendar. 2-how many days between 2 dates? how can u calculate it? example : 10/10/2006 - 12/10/2006 there is 1 day between those 2 dates. thanks | |
Hi, When i click on a Button, i want it to search in database what string or integer Textbox has in it, and list that into datagridview. Thanks. VB.NET please | |
hi, how can i find out that what number of record(row) my cursor focused on in database? thanks label1.text= active row`s number ????? example : [COLOR=#0000ff]Dim[/COLOR][COLOR=#000000] baglanti [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]New[/COLOR][COLOR=#000000] SqlClient.SqlConnection()[/COLOR] [COLOR=#0000ff]Dim[/COLOR] command [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] SqlClient.SqlCommand() [COLOR=#0000ff]Dim[/COLOR] kisiler [COLOR=#0000ff]As[/COLOR] SqlClient.SqlDataReader [COLOR=#0000ff] [/COLOR]baglanti.ConnectionString = [COLOR=#800000]"data source=instance2000;"[/COLOR] & [COLOR=#800000]"initial catalog=dbf;"[/COLOR] & [COLOR=#800000]"integrated security= … | |
Re: selam, 1-yapmak istedigin sey nedir? 2-autopostback ten haberin var mi? kolay gelsin | |
Re: selam samsunlu, did i understand right? you have 2 listboxes. when you click on 1st listbox, that action will fill 2nd listbox with sql code to bring data into 2nd listbox. yes ? no ? thanks | |
hi, how can i find out that what number of record(row) my cursor focused on in database? thanks label1.text= active row`s number ????? example : [code] [COLOR=#0000ff]Dim[/COLOR][COLOR=#000000] baglanti [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#0000ff]New[/COLOR][COLOR=#000000] SqlClient.SqlConnection()[/COLOR] [COLOR=#0000ff]Dim[/COLOR] command [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] SqlClient.SqlCommand() [COLOR=#0000ff]Dim[/COLOR] kisiler [COLOR=#0000ff]As[/COLOR] SqlClient.SqlDataReader baglanti.ConnectionString = [COLOR=#800000]"data source=instance2000;"[/COLOR] & [COLOR=#800000]"initial catalog=dbf;"[/COLOR] & [COLOR=#800000]"integrated security= SSPI" … | |
Re: [COLOR=#557755]<@Page EnableViewState="true">[/COLOR][COLOR=#557755]write this top of the page. that will work.[/COLOR][COLOR=#557755][/COLOR] | |
hi, sorgu = [COLOR=#0000ff]New[/COLOR] SqlCommand([COLOR=#800000]"SELECT name, surname, age FROM veriler WHERE name=@name"[/COLOR], database) sorgu.Parameters.AddWithValue([COLOR=#800000]"@name"[/COLOR], DropDownList1.Text) name surname and age are rows in one of columns. i cant add them into the DropDownList. DropDownList2.DataSource = kisiler DropDownList2.DataTextField = [COLOR=#800000]"name" [/COLOR]DropDownList2.DataTextField = [COLOR=#800000]"surname"[/COLOR] [COLOR=#800000]DropDownList2.DataTextField = [COLOR=#800000]"age" [/COLOR][/COLOR]DropDownList2.DataBind() this line add only "age". … | |
[COLOR=#0000ff]i cant display picture from container when i write like this. <[/COLOR][COLOR=#800000]td[/COLOR][COLOR=#ff0000]style[/COLOR][COLOR=#0000ff]="width: 100px"> <[/COLOR][COLOR=#800000]asp[/COLOR][COLOR=#0000ff]:[/COLOR][COLOR=#800000]Image[/COLOR][COLOR=#ff0000]ID[/COLOR][COLOR=#0000ff]="Image2"[/COLOR][COLOR=#ff0000]imageurl[/COLOR][COLOR=#0000ff]="~/images/+ [/COLOR][COLOR=#000000]<% Container.DataItem("picture")%>[/COLOR][COLOR=#0000ff]"[/COLOR][COLOR=#ff0000]runat[/COLOR][COLOR=#0000ff]="server"[/COLOR][COLOR=#0000ff]/>[/COLOR] [COLOR=#0000ff]</[/COLOR][COLOR=#800000]td[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff]please help [/COLOR] | |
[COLOR=#0000ff]i cant display picture from container when i write like this. [COLOR=#0000ff]<[/COLOR][COLOR=#800000]td[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]style[/COLOR][COLOR=#0000ff]="width: 100px"> [/COLOR]<[/COLOR][COLOR=#800000]asp[/COLOR][COLOR=#0000ff]:[/COLOR][COLOR=#800000]Image[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]ID[/COLOR][COLOR=#0000ff]="Image2"[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]imageurl[/COLOR][COLOR=#0000ff]="~/images/+ [/COLOR][COLOR=#000000]<% Container.DataItem("picture")%>[/COLOR][COLOR=#0000ff]"[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]runat[/COLOR][COLOR=#0000ff]="server"[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]/>[/COLOR] [COLOR=#0000ff]</[/COLOR][COLOR=#800000]td[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]please help [/COLOR] | |
Hi, How can i get this on screen ? sql= new sqlcommand("select count(*) from datas", database123) ... ... persons=sql.executereader() ... ... label1.text= [B]????[/B] [B]Thanks[/B] | |
How can i move to next, prev,last,first records in ASP.NET? it was like DB.MoveNext in ASP but i dont know how in ASP.NET ! Thanks |
The End.