Re: Anger, Rage, Confusion...
From: Fabio (user_at_domain.invalid)
Date: 01/30/05
- Next message: Yazeed: "message stuck on queue folder"
- Previous message: Olav Tollefsen: "MultiLine TextBox, how to set height?"
- In reply to: Roy: "Re: Anger, Rage, Confusion..."
- Next in thread: Roy: "Re: Anger, Rage, Confusion..."
- Reply: Roy: "Re: Anger, Rage, Confusion..."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 Jan 2005 11:53:07 +0000
Hey Roy,
> Hrmm.... Could it have something to do with my x and y variables being
> declared in the vb code as strings yet the parameters are declared as
> nvarchar?
You can use an overload of the SqlParameter constructor that takes also the size
of the field and the source column, eg New SqlParameter("@x",
SqlDbType.nvarchar, 50, "sourcecolumn"). That would solve that.
> I know for a fact that the x and y variables have the correct values,
> but if they weren't reaching the stored proc somehow that could explain
> the blank datagrid...
Silly question, but I have to ask: are you sure that the sproc is returning
exactly the data you want? Have you run it in query analyzer at *all*?
-- Software is like sex: it's better when it's free -- [Linus Torvalds] Fabio Marini - A+, RHCT, MCDBA, MCAD.NET To reply: news [at] mamakin1976 [dot] plus [dot] com
- Next message: Yazeed: "message stuck on queue folder"
- Previous message: Olav Tollefsen: "MultiLine TextBox, how to set height?"
- In reply to: Roy: "Re: Anger, Rage, Confusion..."
- Next in thread: Roy: "Re: Anger, Rage, Confusion..."
- Reply: Roy: "Re: Anger, Rage, Confusion..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|