|
by: Rajesh Madhra |
last post by:
Hi everybody
I just solved my probem about creating my own assemblies by using the
command line
vbc /nologo /t:library /out:MyClass.dll ... MyClass.vb with your help. But I
still cannot make assembly for SQLHelper class.
After installing Appl. Block Data Access I got a file SQLHelper.vb. When I
tried to use the same command vbc /nologo ....... SQLHelper.vb, i got some
errors. Can someone tell me in detail what is the process to get Appl....
|
by: Rajesh Kumar |
last post by:
Hi Gregory
Thanks for your answer. I did not see any attached file so I copied your
text into a text file and named it compiler.bat
Checked the wrapped lines and runned the file. It said Dataset,
Datareader and some other things are not defined. So I entered the :
Imports Microsoft.ApplicationBlocks.Data
Imports system
Imports system.data
Imports System.Data.SqlClient
|
by: Rajesh Madhra |
last post by:
Hi Gregory
Thanks for your answer. I did not see any attached file so I copied your
text into a text file and named it compiler.bat
Checked the wrapped lines and runned the file. It said Dataset, Datareader
and some other things are not defined. So I entered the :
Imports Microsoft.ApplicationBlocks.Data
Imports system
Imports system.data
Imports System.Data.SqlClient
|
by: Neven Klofutar |
last post by:
Hi,
I have a problem with SqlHelper.ExecuteScalar ...
When I try to execute SqlHelper.ExecuteScalar I get this message:
"System.InvalidCastException: Object must implement IConvertible.".
Help ...
Thanx, Neven
|
by: Manuel |
last post by:
I'm using the SQLHelper class to do an insert and get the identity field
this way:
--------------
Dim sql As String = "INSERT INTO () VALUES
('MyMessage');SELECT SCOPE_IDENTITY()"
Dim ds As Data.DataSet = SqlHelper.ExecuteDataset(ConnectionString,
Data.CommandType.Text, sql)
Dim MsgID As Integer = ds.Tables(0).Rows(0).Item(0).ToString
--------------
|
|
by: rockdale |
last post by:
Hi, All
How to get the output parameter's value when you use the SQLHelper
(Microsoft Data Access Block)?
When I try to access my ourput parm I got the following error.
System.NullReferenceException: Object reference not set to an instance
of an object.
I thought it is because there is a statement cmd.Parameters.Clear() in
|
by: Tim::.. |
last post by:
Can someone tell me how you change this code for an Oledb connection rather
than SQL Server. The code currently uses
Microsoft.Data.Access.Application.Block and the SQLHelper object...
I need to use this with an access database!
reader =
SqlHelper.ExecuteReader(ConfigurationSettings.AppSettings("strConn"),
CommandType.StoredProcedure, "rolesForUser", New OleDbParameter("@Username",
User.Identity.Name))
|
by: Tim::.. |
last post by:
Can someone please tell me how I edit this code so it works with an OleDB...
Thanks
Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As
EventArgs)
' Fires upon attempting to authenticate the use
If Request.IsAuthenticated Then
|
by: John F |
last post by:
Hello All,
What is the consensus on using sqlhelper or not using sqlhelper when calling
stored procedures?
We're trying to go with a standard for our projects and personally I prefer
not using sqlhelper, but some here do. I'm just curious if there are any
good arguments for or against it...
Thanks,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|