dcsimg

Search:

Type: Posts; User: cuterita7

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    619

    Re: [2008] Search a DataGridView

    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...
  2. Replies
    5
    Views
    619

    Re: [2008] Search a DataGridView

    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...
  3. Replies
    5
    Views
    619

    [2008] Search a DataGridView

    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...
  4. Re: [2008] Update unable to find TableMapping['Table'] or DataTable 'Table'

    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")
    ...
  5. [2008] Update unable to find TableMapping['Table'] or DataTable 'Table'

    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...
  6. Replies
    2
    Views
    550

    Re: [2008] DataGridView save to db

    no i can't figure out how to write this stored procedure,i need some hints to write the SP

    any help?
  7. Replies
    2
    Views
    550

    [2008] DataGridView save to db

    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...
  8. Replies
    3
    Views
    338

    fasten the search on large table

    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)...
  9. Thread: C# to vb.net

    by cuterita7
    Replies
    4
    Views
    1,152

    Re: C# to vb.net

    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...
  10. Replies
    103
    Views
    170,485

    Re: Retrieving and Saving Data in Databases

    Using connection As New SqlConnection("connection string here")
    Using command As New SqlCommand("SELECT SUM(Quantity) FROM StockItem",
    _connection)
    connection.Open()
    Dim totalQuantity As...
  11. Replies
    2
    Views
    524

    [2008] Untyped vs strongely typed

    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...
  12. Replies
    9
    Views
    1,014

    Re: [2008] add items from listbox to another

    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...
  13. Replies
    6
    Views
    1,275

    Re: [2005] DATAROW Find Method

    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:
    ...
  14. Replies
    9
    Views
    1,014

    [2008] add items from listbox to another

    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()
    ...
  15. Replies
    4
    Views
    391

    Re: foreign key constraint

    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...
  16. Replies
    2
    Views
    401

    non unicode strings

    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 ??????????...
  17. Replies
    3
    Views
    368

    sql 2005 type of field

    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...
  18. Replies
    1
    Views
    347

    Sql2005 Stored Procedure

    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...
  19. Thread: Daily backup

    by cuterita7
    Replies
    1
    Views
    393

    Daily backup

    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
  20. Replies
    1
    Views
    427

    [2008] Resources sample

    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...
  21. Replies
    1
    Views
    2,690

    [2008] Export a datatable to excel

    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
Results 1 to 21 of 21



Featured


Click Here to Expand Forum to Full Width