15,905,913 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kevin_ze (Top 24 by date)
kevin_ze
28-Dec-17 20:42pm
View
Hi @Suvendu Shekhar Giri, Like JIRA plug-in system,when the administrator updates the plug-in, it should not affect the operation of other users and website should not be down/reboot.
kevin_ze
27-Nov-12 4:05am
View
try
param.SqlDbType = SqlDbType.VarChar; instead of param.SqlDbType = SqlDbType.Float;
kevin_ze
9-Aug-12 9:23am
View
thanks yaar for remembering onscroll event. using that event only i have solved my problem.my vote is 5 for u
kevin_ze
1-Aug-12 4:38am
View
Deleted
hi Unareshraju now its working fine.one more doubt now am creating file and make it as an attachment after sending mail i want delete that created file.how to do that..?
kevin_ze
24-Jul-12 7:59am
View
while clicking on cancel I have to refresh the grid to cancel the changes on grid its refreshing the grid but first it fires the required field validator and then it refreshes the grid
kevin_ze
24-Jul-12 0:49am
View
I have checked their forums but am not able to find any solution
kevin_ze
20-Jul-12 9:24am
View
Thanks a lot its working..
kevin_ze
20-Jul-12 8:20am
View
Thank you its working.if any possibilities is there to display the same in a <div> in my view page
kevin_ze
12-Jul-12 3:03am
View
Thank u very much.
kevin_ze
12-Jul-12 2:49am
View
Thanks a lot Shmuel Zang its working Fine but am not able to understand the flow of that code can u explain that if u wish to
kevin_ze
10-May-12 6:32am
View
I tried this but it shows an error
Resize is not an known CSS property name
kevin_ze
10-May-12 3:22am
View
mine is 5
kevin_ze
10-May-12 3:17am
View
Good one,my vote is 5
kevin_ze
10-May-12 2:38am
View
My vote is 5 SA
kevin_ze
9-May-12 8:41am
View
Good Answer....
clearly explained....
kevin_ze
9-May-12 8:05am
View
Thanks For ur idea
kevin_ze
9-May-12 8:02am
View
ur Welcome
kevin_ze
9-May-12 7:33am
View
GridViewID.DataBind();
option is not there in C#.net and am doing window form
kevin_ze
8-May-12 8:20am
View
Thanks,
that crystal report link is very useful to me
kevin_ze
8-May-12 8:19am
View
Thank u very much for ur answer...
kevin_ze
3-May-12 7:31am
View
Thank u...
using ur idea only I have done that one bt I moved
OracleParameter emp_obj = new OracleParameter(); into loop...
now its working...
Again thanks for ur solution....
kevin_ze
26-Apr-12 3:21am
View
thanks tht link was useful to me
kevin_ze
23-Apr-12 2:37am
View
I executed the procedure it showing error as
wrong number or type of arguments in call to upd1
can u plz help me to solve this error
kevin_ze
18-Apr-12 2:01am
View
oracle part:
Create or replace type Employee1 as object
(id Number(10),
Name Varchar2(50),
Gender char(1)
);
/
Create or replace type Employee1_type is table of Employee1;
create or replace Procedure Employee_test(emp_obj Employee1_type)
is
L_Index BINARY_INTEGER:=1;
G_Employee1_type Employee1_type := Employee1_type();
begin
Insert into smp_try values (G_Employee1_type(L_Index).ID,
G_Employee1_type(L_Index).Name,G_Employee1_type(L_Index).Gender);
end;
C#
insert_pro insobj = new insert_pro();
insobj.ID = Convert.ToInt16(textBox1.Text);
insobj.Name = textBox2.Text;
insobj.Gender = textBox3.Text;
OracleConnection conn = new OracleConnection("Data Source=r2a;User ID=testv55;Password=testv55;");
conn.Open();
OracleCommand cmd = new OracleCommand("Employee_test", conn);
cmd.CommandType = CommandType.StoredProcedure;
OracleParameter objParam = new OracleParameter();
objParam.OracleDbType = OracleDbType.Object;
objParam.Direction = ParameterDirection.Input;
objParam.UdtTypeName = "Employee1";
emp_obj.Value = insobj;
cmd.Parameters.Add(emp_obj);
cmd.ExecuteNonQuery();
show_grid();
conn.Close();
inser_pro class:
public class insert_pro:IOracleCustomType
{
[OracleObjectMappingAttribute("id")]
public virtual int ID { get; set; }
[OracleObjectMappingAttribute("name")]
public virtual string Name { get; set; }
[OracleObjectMappingAttribute("gender")]
public virtual string Gender { get; set; }
public virtual void FromCustomObject(OracleConnection conn, IntPtr objUdt)
{
OracleUdt.SetValue(conn, objUdt, "id", this.ID);
OracleUdt.SetValue(conn, objUdt, "name", this.Name);
OracleUdt.SetValue(conn, objUdt, "gender", this.Gender);
}
public virtual void ToCustomObject(OracleConnection conn, IntPtr objUdt)
{
this.ID = ((int)(OracleUdt.GetValue(conn, objUdt, "ID")));
this.Name = ((string)(OracleUdt.GetValue(conn, objUdt, "name")));
this.Gender = ((string)(OracleUdt.GetValue(conn, objUdt, "gender")));
}
}
error message is Custom type mapping for 'test_form.insert_pro' is not specified or is invalid
Show More