Search results for query: *

  1. K

    Row Doesn't Get Deleted. What to do ?

    Yes I have removed the AcceptChanges long back :P still I get I get exception message "Concurrency Violation: the DeleteCommand affected 0 records."
  2. K

    Row Doesn't Get Deleted. What to do ?

    Try daMain.Update(dsMain1) Catch ex As Exception MessageBox.Show(ex.Message) EndTry Now I have delcared the delete command using commabd builder in the form load event. I tried what you have given and I get exception message "Concurrency Violation: the DeleteCommand affected 0 records."
  3. K

    Row Doesn't Get Deleted. What to do ?

    I am having a grid where I delete a row. But when I do the adapter update, changes doesnt take effect. Here is the code.. 'In the form load event Const pPROVIDER As String = "Provider=Microsoft.Jet.OLEDB.4.0;" Dim pDataSource As String = "Data Source=" & Application.StartupPath &...
  4. K

    Search Inside A DataGrid For Matching Rows

    Hey I got what I was searching. I replaced the following dsMain.Tables("tblDigitArchive").DefaultView.RowFilter = "Title = " & "'" & txtSearch.Text & "'" with the following dsMain.Tables("tblDigitArchive").DefaultView.RowFilter = "Title like " & "'%" & txtSearch.Text & "%'"
  5. K

    Search Inside A DataGrid For Matching Rows

    Hey thanks nacracreative, its a 50 % success. I have done the following, The database has 5 rows Data 1, Title 2, Title 5 (This is not a typo), Data 4, Title 5 under the field Title. If I give the Row Filter as " Title 5" it gives the two rows which exactly matches to Title 5. This is a...
  6. K

    Search Inside A DataGrid For Matching Rows

    First of all I would like to say that I am a newbie to VB.NET & ADO.NET. For the following problem I searched in google as well as in this forum for "findrows" method and other things which didnt help me. My problems is, I would like to search inside a data grid and refresh that grid to have...
  7. K

    Application To Application Communication.

    Paszt thanks for the reply. I will check that too !
  8. K

    Sleep doesn't work properly.

    Thanks for the "Application.DoEvents" tip Paszt :)
  9. K

    Application To Application Communication.

    Hey thanks for the reply elloco, I will check the link and let u know.
  10. K

    Sleep doesn't work properly.

    I have been 80 % successful :p I used the Form.refresh() and it works. So what I have done is... FfrmMain.Refresh() System.Threading.Thread.Sleep(500) Then start loading the data. And it works for me !!.:) 80 % of course :p
  11. K

    Sleep doesn't work properly.

    This is my situation. In a procedure, I load a form which has around 5 text boxes and a grid. Next I load a data into that grid with around 1000 records ! Then I load another form which has around 5 text boxes and a grid. Next I load a data into that grid with around 1000 records ...
  12. K

    Application To Application Communication.

    Hey elloco999, thanks, Regarding Application To Applications, The application resides in the same machine. Regarding Download from Web server, The application will download a text file from our company website through HTTP' Regarding the Text File, Thank you very much for replying...
  13. K

    Application To Application Communication.

    This is my situation, I am having an Application 1 which has a function in it to save and close. I am starting Application 2 which should communicate with Application 1 and should call the Application 1's save and close function. The Application 2 should make sure that Application 1 has closed...
Back
Top