Hello Carlos,
Thanks for your excellent work and help. I got it running now.
Erik
-----Original Message-----
From: Carlos Guzm=E1n =C1lvarez [mailto:car...@te...]=20
Sent: vrijdag 20 februari 2004 11:35
To: Erik Heemskerk
Cc: fir...@li...
Subject: Re: [Firebird-net-provider] System.NullReferenceException
Hello:
> I have just tried it, but I still get the same NullReferenceException.
I have made a little test and seems to work ( tested with latest sources
from CVS i will send you the dll this evening )
1. Give connection params.
2. Retrieve stored procs.
3. Select SELECT_FULL_NAME sp.
4. Give a parameter for the first param ( the second is output param )
5. Execute the query.
I have done some changes
* The SELECT_FULL_NAME sp now is:
CREATE PROCEDURE SELECT_FULLNAME (
UNAME VARCHAR(21))
RETURNS (
UFULL VARCHAR(41))
AS
begin
/* Procedure Text */
for select fullname from web_users where fullname =3D :uname into
:ufull
do
suspend;
end
* The CreateParameterName now is:
String CreateParameterName(DataGridItem Adi)
{
return "@" + (Adi.Controls[0] as=20
TableCell).Text.ToString().Trim();
}
--
Best regards
Carlos Guzm=E1n =C1lvarez
Vigo-Spain
|