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 :-)
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...
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...
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...
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...
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()...
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...
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.
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
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...
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...
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...
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 (...
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.
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.