Search results for query: *

  • Users: Rajya
  • Order by date
  1. R

    Button Click

    Thanks for the help, everybody :-) Let me try out the suggestions and then revert.
  2. R

    Button Click

    Hello Is there a way I can find out which button / control was accessed or clicked on a Windows Form? Presently I am doing it manually by storing the info in a global variable as soon as a button is accessed. Any advice will be appreciated :-)
  3. R

    Unable to delete Row

    Thanks Jmcilhinney :-) With your great help, I was able to crack the 'uncrackable' (for me)! Basically, what it seemed to me that you cannot use a SqlCommand object explicitly with the SqlDataAdapter in this case. Once I observed that & re-wrote my code, things flowed smoothly.Here's what is...
  4. R

    Unable to delete Row

    Thanks for the pointed advice. But I am still not able to get it working & remove the selected rows physically. I researched the issue - it seems you need to have a SqlCommandBuilder object to automatically configure a SqlDataAdapter, in case a SelectCommand is already working. Therefore, I...
  5. R

    Unable to delete Row

    Thanks for your valuable time :-) But if I HAVE TO write a Stored Procedure or Sql statement to delete a Row, then why should I go to the trouble of using a SqlDataAdapter, for the delete?! Is there an advantage there? I could have used the SqlCommand just as well and passed on the Row...
  6. R

    Unable to delete Row

    Thanks for you reply. I now get the following error when I comment out .AcceptChanges and go to .Update directly - An unhandled exception of type 'System.InvalidOperationException' ... Additional information: Update requires a valid DeleteCommand when passed DataRow collection with deleted...
  7. R

    Unable to delete Row

    Hi I am unable to delete Row(s) from a DataTable - nothing actually happens - there are no errors & the lines get executed but when I check the actual Table, I find all the Rows intact! Following is the code I am using for delete - cEssentials.cDataTable.Rows(intIndexToDelete).Delete()...
  8. R

    run-time binding in crystal reports

    run-time binding in crystal reports Reply to Thread Thanks for the help :-) I have implemented your code (except that I could not find the CrystalReportViewer1.DataBind() method), but the report is coming out all blank. Where am I going wrong? In the report design (PD_Report.rpt - see code...
  9. R

    run-time binding in crystal reports

    Hello I am using VB.NET for developing an application. For reporting, I am using Crystal Reports for .NET - how do I bind the report fields at run-time / dynamically. I would not like to use the Wizards / Experts. Please advise.
  10. R

    windows authentication

    Windows Authentication Hello V-B_New-B Can you please point me towards - 1. Authenticating to the local computer users (see your earlier post) 2. Through SQL Server TIA
  11. R

    Global variables, procedures

    Hello Like we use Modules for declaring global variables, procedures etc, in VB.NET WinForms applications, is there a way for doing the same in ASP.NET Web applications? I have used the Web.Config for declaring a global ConnectionString but do not know what to do about the rest of them...
  12. R

    Encryption in SQL Server

    Hello Is there I can encrypt / decrypt column contents in SQL Server 2000? I intend to store Username & Password in there. Thanks
  13. R

    windows authentication

    Windows Authentication Hello I am also looking for a similar solution. Is there a way I can implement Windows Authentication in my VB.NET application (Windows Forms)? I am using SQL Server as the database. I know it can be done for ASP.NET applications, but how do I do it for desktop...
  14. R

    deploy ASP.NET application

    Thanks a ton for the info, gentleman :-) I am working on the same now. I also got the following articles in the MSDN library - 1. Walkthrough: Deploying a Web Solution (ms-help://MS.MSDNQTR.2004APR.1033/vsintro7/html/vbtskDeployingWebSolution.htm) 2. Walkthrough: Deploying an ASP.NET Web...
  15. R

    SQL Server access - login fails

    Thanks for the ASP.NET 2 Beta info - where can I obtain a copy? Meanwhile, I stumbled across this article - basically, it confirmed as to what I had been implementing so long - HOW TO: Configure SQL Server Security for .NET Applications (...
  16. R

    deploy ASP.NET application

    Hi How do I deploy / install an ASP.NET application onto a machine / intranet other than the development machine? I am using VS.NET along with SQL Server 2000.
  17. R

    SQL Server access - login fails

    Hi I am using SQL Server 2000 with ASP.NET (in VS.NET). How do I implement login / access to the database server? As I am developing on W2k, I am using Trusted Connection & have created a new Login in SQl Server (\Logins) for the user MYPC/ASPNET. Its working on my dev machine, but when I...
  18. R

    Calling a form from code

    Hi Sorry but I did not quite get you. I have already declared the following line at the top of a Module. Public frmPersonalData as New PersonalData The scenario is like this - I have a MDI Parent Form1 with a Child Form2 (frmPersonalData) attached. When I click a particular menu item on...
  19. R

    Calling a form from code

    Calling a Form from code Hi I have been able to instantiate my Form & am able to Show it now. But this Form (personal information entry) and there would be others like it, would be used quite often in my application - each time it would be closed and then the user would want to call it again...
  20. R

    Calling a form from code

    Calling a Form from code Thanks everybody, for your help. I am now trying my hand at all these issues. Hope to get your attention in the future too :)
Back
Top