467 Posted Topics

Member Avatar for Swati_5
Member Avatar for Waldis_1
Member Avatar for Waldis_1

Quite right. you should get the result is zero because you tried to count the number, but didn't try to get the number. To get the appropriate result your codes should be the followings. Dim str = "select count(*) from [tblprestamosinteres] where [idcliente] = '" + txtid.Text + "'" Dim …

Member Avatar for Waldis_1
0
136
Member Avatar for Hassan_9

PLease post th code you did. where from we can help you. You already create same discussion in another thread. Please mark solve if your purpose is solved.

Member Avatar for Santanu.Das
0
85
Member Avatar for themaj
Member Avatar for kidkardel

Use "Where" clause in SQL Statement. You can use the followings if you like. SqlDataAdapter sda = new SqlDataAdapter("SELECT prod_id, prod_name, quantity,item_status FROM Table_3 Where item_status= 'ACTIVE'", con);

Member Avatar for Santanu.Das
0
272
Member Avatar for digitalsindh

Your problem is either in line 1 Dim ANPSql As String = "Select * from Table1 limit 0,20" or in line 14 & 15. ANPDa.Fill(ANPDs, "ANPDatabase") ANPDt = ANPDs.Tables("ANPDatabase") Which is the correct TableName? SQL Statement's <TableName> and the argument value for <srcTableName> in Fill function and Table property should …

Member Avatar for Santanu.Das
0
527
Member Avatar for Santanu.Das
Member Avatar for ssertoglu

There is no cause to interrupt the execution of your codes. You should initialized the Object variable `yenifaturaekle` when application starts and also when the ChildForm closes. You can do some thing like this. Imports System.Windows.Forms Public Class MDIParent1 Dim yenifaturaekle As New Form1 Private Sub MDIParent1_Load(sender As System.Object, e …

Member Avatar for Santanu.Das
0
223
Member Avatar for Santanu.Das

Why have you attached a text area to a solved discussion, If you would not give any reputation for further posting? From my opinion, please remove or inactivate the text area for a solved question.

Member Avatar for Reverend Jim
0
170
Member Avatar for Santanu.Das

I am new in MySQL. I do not about model and how can I store data in the tables created in amodel.

Member Avatar for Santanu.Das
0
125
Member Avatar for davy_yg
Member Avatar for Ashveen96

Your codes are too some correct. but you did some mistakes to initialize the variable "i" and should be open the connection. In DataGridView1_CellMouseClick event you did not do that. i = e.RowIndex TextBox1.Text = dt.Rows(i)(0) TextBox2.Text = dt.Rows(i)(1) and also in form_Load event you did not do con.Open() adapter.Fill(dt) …

Member Avatar for Ashveen96
0
346
Member Avatar for Santanu.Das

There are no Ribbon object in toolBox but I desire to add a ribbon instead of MenuBar or ToolBar like Office. I search everywhere in vb.NET2010. How do I add it in my project. I have no idea.

Member Avatar for oussama_1
0
165
Member Avatar for Santanu.Das
Member Avatar for cereal
0
121
Member Avatar for singhSP
Member Avatar for Santanu.Das
0
10K
Member Avatar for markdean.expres

The End.