Click here to Skip to main content
15,911,786 members
Home / Discussions / C#
   

C#

 
Questionhow to draw a shape in picturebox ? Pin
hdv21227-Mar-06 23:57
hdv21227-Mar-06 23:57 
AnswerRe: how to draw a shape in picturebox ? Pin
AB777128-Mar-06 1:33
AB777128-Mar-06 1:33 
GeneralRe: how to draw a shape in picturebox ? Pin
hdv21228-Mar-06 2:14
hdv21228-Mar-06 2:14 
GeneralRe: how to draw a shape in picturebox ? Pin
mav.northwind28-Mar-06 6:19
mav.northwind28-Mar-06 6:19 
QuestionPutting a specific row first in a datagridview Pin
Chals27-Mar-06 23:07
Chals27-Mar-06 23:07 
Questionint [,,] myArray = new int [,,] {{1,2,3}}; Pin
Ahmad Mahmoud [candseeme]27-Mar-06 23:02
Ahmad Mahmoud [candseeme]27-Mar-06 23:02 
AnswerRe: int [,,] myArray = new int [,,] {{1,2,3}}; Pin
Stefan Troschuetz27-Mar-06 23:12
Stefan Troschuetz27-Mar-06 23:12 
GeneralRe: int [,,] myArray = new int [,,] {{1,2,3}}; Pin
Ahmad Mahmoud [candseeme]28-Mar-06 0:04
Ahmad Mahmoud [candseeme]28-Mar-06 0:04 
Hi Stefan Troschütz

Thank you i found the error

object [,,] myArray;

myArray = new object [,,] { { {"@EngCode"},{SqlDbType.Int},{TxtCode.Text} } };

---------------------------------
I Have a stroed procedure that take 13 parameter

CREATE PROCEDURE dbo.CreateUser

(
@EngCode int,
@EngFName nvarchar(20),
@EngMName nvarchar(20),
@EngGName nvarchar(20),
@EngLName nvarchar(20),
@EngNotes nvarchar(500) ,
@EngineeerTypeID int,
@UserName nvarchar(10),
@EngMail nvarchar(50),
@EngCellNo int,
@EngHNo int,
@UserPassword nvarchar(12),
@UserNotes nvarchar(500)
)

I call this proc from my C# sO

SqlParameter POne = new SqlParameter();
POne.ParameterName = "@ParaName";
POne.Value = MyText.Text;
POne.SqlDbType = SqlDbType.NVarChar;
MyCommand.Parameters.Add ( Pone );

i will repeat this operation 13 time But
if i had a Multidimensional array

myArray = new object [,,] { { {"@EngCode"},{SqlDbType.Int},{TxtCode.Text} } };

and have a foreach to loop; it would be then a better idea

--------------------------
If you found my answer to your question useful; then vote for me.
------------------------
Ahmad Shaban
AnswerRe: int [,,] myArray = new int [,,] {{1,2,3}}; Pin
Guffa28-Mar-06 0:55
Guffa28-Mar-06 0:55 
GeneralRe: int [,,] myArray = new int [,,] {{1,2,3}}; Pin
Ahmad Mahmoud [candseeme]28-Mar-06 1:28
Ahmad Mahmoud [candseeme]28-Mar-06 1:28 
AnswerRe: int [,,] myArray = new int [,,] {{1,2,3}}; Pin
Guffa28-Mar-06 6:44
Guffa28-Mar-06 6:44 
QuestionHow can I import the Data from .CSV file by DTS Package Pin
peeyush_engg27-Mar-06 22:50
peeyush_engg27-Mar-06 22:50 
QuestionObject = Object Pin
Sasuko27-Mar-06 22:48
Sasuko27-Mar-06 22:48 
AnswerRe: Object = Object Pin
Tristan Rhodes27-Mar-06 23:01
Tristan Rhodes27-Mar-06 23:01 
GeneralRe: Object = Object Pin
Sasuko28-Mar-06 1:53
Sasuko28-Mar-06 1:53 
QuestionQuestions About AppDomains Pin
Tristan Rhodes27-Mar-06 22:32
Tristan Rhodes27-Mar-06 22:32 
Questionhow to close w3wp.exe dialog Box programmatically ? Pin
Kamal.Afridi27-Mar-06 22:15
Kamal.Afridi27-Mar-06 22:15 
AnswerRe: how to close w3wp.exe dialog Box programmatically ? Pin
Dave Kreskowiak28-Mar-06 5:34
mveDave Kreskowiak28-Mar-06 5:34 
QuestionRe: how to close w3wp.exe dialog Box programmatically ? Pin
Kamal.Afridi28-Mar-06 7:06
Kamal.Afridi28-Mar-06 7:06 
AnswerRe: how to close w3wp.exe dialog Box programmatically ? Pin
Dave Kreskowiak28-Mar-06 7:36
mveDave Kreskowiak28-Mar-06 7:36 
GeneralRe: how to close w3wp.exe dialog Box programmatically ? Pin
Kamal.Afridi28-Mar-06 18:01
Kamal.Afridi28-Mar-06 18:01 
GeneralRe: how to close w3wp.exe dialog Box programmatically ? Pin
Dave Kreskowiak29-Mar-06 1:09
mveDave Kreskowiak29-Mar-06 1:09 
QuestionHow to get logged user list in a domain using WMI(Urgent) Pin
indiaone27-Mar-06 22:14
indiaone27-Mar-06 22:14 
AnswerRe: How to get logged user list in a domain using WMI(Urgent) Pin
Dave Kreskowiak28-Mar-06 5:33
mveDave Kreskowiak28-Mar-06 5:33 
QuestionConvert a Jpeg or png or gif image in Bitmap Pin
Sasuko27-Mar-06 22:03
Sasuko27-Mar-06 22:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.