Search:
Type: Posts; User: cuterita7
Search:
Search took 0.01 seconds.
-
I tried
For Each row As DataGridViewRow In myDataGridView.Rows
row.Selected = (CStr(DirectCast(row.DataBoundItem, DataRowView)("FirstName")) LIKE "a*")
Next
but i got the following error...
-
thanks for your reply
one more question what if I want to select a row based on multiple conditions like OrderDate and productId or when i want to select a row (that has a field firstname) whose...
-
Hi
I have a datagridview that is bound to a datatable "Invoices" "Select * from Invoices".When the user presses on "Search Date"(Select * from Invoices where InvoiceDate=@Date) I want to highlight...
-
thanks
I need one more question
I have added to my DataGridView a datagridviewcombobox column
Dim source As New DataGridViewComboBoxColumn
source.DataSource = ds.Tables("Source")
...
-
Hi
I have a DataGridView,I want the user to Add,Edit and delete rows from the table
My code is:
Private cn As New SqlConnection("Data Source=localhost;Initial Catalog=NorthWind;Integrated...
-
no i can't figure out how to write this stored procedure,i need some hints to write the SP
any help?
-
Hi
I have an unbound DataGridView that the user fills manually
I have 3 columns
Code KeywordList SubjectList
50a 11,4,5 20,14
50b 18,9 78,54,65
I have 2...
-
Hi
(SQL Server 2005)I have a huge table "Articles" that contains over than one million records and I need to fasten the search.
the field of this table are:
ArticleID int
Title nvarchar(100)...
-
here's the code converted to vb
Private Function CheckToken(ByVal tokens As String(), ByVal recent As Char()) As Boolean
Dim _numberOfCharsToKeep As Integer = 15
For Each token As String...
-
Using connection As New SqlConnection("connection string here")
Using command As New SqlCommand("SELECT SUM(Quantity) FROM StockItem",
_connection)
connection.Open()
Dim totalQuantity As...
-
Hi
I have made a lot of search to know about the difference between untyped and strongelytyped dataset or untyped and strongelytyped classes but i didn't understand well the concept.
can anyone...
-
jmcilhinney I got you point about how to add items from listbox1 to listbox2 by using datatable,but i need to know about how can i remove items from listbox2,is it by simply deleting the datarow from...
-
Find method is only for primary key column
if you need to search on a non primary key column you should use Select method of a datatable that will return to you an array of rows
EXAMPLE:
...
-
Hi
I have 2 listboxes,I want to add items from ListBox1 to ListBox2,ListBox1 is populated as follow:
Dim dt As New CustomersTableAdapter
ListBox1.DataSource = dt.GetData()
...
-
Hi
I tried your method for adding a foreign key constraint but when i tried database-Right Click-tasks-Generate Scripts,the foreign key script is not include.
I am asking that because I want to...
-
Hi
I am using SQL server 2005 and I want to save into my table arabic strings.
I have created a field of type nvarchar(100),the save was successful but the arabic string appear like ??????????...
-
Hi
I am using SQL server 2005 and I want to create a table that has 2 fields,one field of type integer but the other field i don't know which type to assign to it.
Let me explain I want to...
-
Hi
I want to create a stored procedure in SQL Server 2005 that takes 2 parameters:ArticleId int,and PersonNames nvarchar(255).
PersonNames are something like "John,Paula,Robert".
What I want...
-
Hi
I am new to SQL Server 2005 and I want to back up my database on a daily basis.I want that every day at 2:00 pm an automatic backup(a full back up) to be stored in C:\backups
Any help
-
Hi
I have a big VB.NET 2008 application that i want it to be in three languages:English,French and Spanish,there are over 200 messages that need to be in those 3 languages,I've heared that I need...
-
Hi
I have a datatable,I want to export it to excel and let the user see the excel sheet without saving it upon pressing on "Export" button
Does anyone has a sample code?
thanks
|
Click Here to Expand Forum to Full Width
|