15,891,316 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 Rajnish D mishra (Top 46 by date)
Rajnish D mishra
24-Mar-15 0:31am
View
any help please
Rajnish D mishra
16-Mar-15 12:46pm
View
lblText.Text = ViewState["lbl"].ToString();
there error show when i click on button btnRespo
Rajnish D mishra
22-Feb-15 13:25pm
View
THANKS IT WORKS FINE
Rajnish D mishra
7-Jan-15 3:35am
View
when i store to my database it will store correctly as formatted .....but when i retrieve from data base it not show formatted data in label
Rajnish D mishra
7-Jan-15 2:31am
View
if (reader.Read())
{
lblEventName.Text = string.Format("{0}", reader["EditTextContain"].ToString());
}
Rajnish D mishra
13-Dec-14 8:41am
View
@Richard thanks for solution it work but one think is i also want EditItemTemplate for DropDownList can u help me
Rajnish D mishra
10-Dec-14 4:51am
View
thanx @vimal vataliya u r solution rally help me
Rajnish D mishra
10-Dec-14 4:25am
View
yes editText Contain some value which shows on debugging but cmd.ExecuteNonQuery() throws error No-value-given-for-one-or-more-required-parameters
Rajnish D mishra
10-Dec-14 4:16am
View
i have this type of error
Rajnish D mishra
8-Dec-14 8:11am
View
Thanx Alll And also Praveen k upadhyay i resolve my problem thanx for u giving me good guidance
Rajnish D mishra
8-Dec-14 8:08am
View
Order_Id is my Primery key can i remove my order_id from procdure
Rajnish D mishra
8-Dec-14 7:48am
View
Please tell me can my proc is wrong
Create proc InsertOrder
@Order_Id int,
@Product_Id int,
@Quantity nvarchar(50),
@Total_Price nvarchar(50)
AS
SET NOCOUNT ON
SET XACT_ABORT ON
BEGIN TRAN
SELECT * FROM dbo.Order_Table WHERE Order_Id = @Order_Id
begin
INSERT INTO dbo.Order_Table
(
Product_Id ,
Quantity ,
Total_Price
)
SELECT
@Product_Id ,
@Quantity ,
@Total_Price
select top 1 Order_Id from dbo.Order_Table order by 1 desc
end
COMMIT
Rajnish D mishra
8-Dec-14 7:41am
View
@ryan in my table have data and above insertion is done but in may dataset not contain any row
Create proc InsertOrder
@Order_Id int,
@Product_Id int,
@Quantity nvarchar(50),
@Total_Price nvarchar(50)
AS
SET NOCOUNT ON
SET XACT_ABORT ON
BEGIN TRAN
SELECT * FROM dbo.Order_Table WHERE Order_Id = @Order_Id
begin
INSERT INTO dbo.Order_Table
(
Product_Id ,
Quantity ,
Total_Price
)
SELECT
@Product_Id ,
@Quantity ,
@Total_Price
select top 1 Order_Id from dbo.Order_Table order by 1 desc
end
COMMIT
Rajnish D mishra
8-Dec-14 7:33am
View
where i write a comment means int KeyId
Rajnish D mishra
5-Dec-14 23:43pm
View
afeter u r guidance i taking total_price value in row but it cant happen
Rajnish D mishra
5-Dec-14 2:35am
View
@Sinisa my html code
<script type="text/javascript">
$(function () {
$("[id*=txtQuantity]").val("0");
});
$("[id*=txtQuantity]").live("change", function () {
if (isNaN(parseInt($(this).val()))) {
$(this).val('0');
} else {
$(this).val(parseInt($(this).val()).toString());
}
});
$("[id*=txtQuantity]").live("keyup", function () {
if (!jQuery.trim($(this).val()) == '') {
if (!isNaN(parseFloat($(this).val()))) {
var row = $(this).closest("tr");
$("[id*=lblTotal]", row).html(parseFloat($(".price", row).html()) * parseFloat($(this).val()));
}
else {
var row = $(this).closest("tr");
$("[id*=lblTotal]", row).html(parseFloat($(".price", row).html()) * 0);
}
} else {
var row = $(this).closest("tr");
$("[id*=lblTotal]", row).html(parseFloat($(".price", row).html()) * 0);
$(this).val('');
}
var grandTotal = 0;
$("[id*=lblTotal]").each(function () {
grandTotal = grandTotal + parseFloat($(this).html());
});
$("[id*=lblGrandTotal]").html(grandTotal.toString());
});
</script>
<asp:GridView ID="GridView1" class="sorting" role="columnheader" TabIndex="0" aria-controls="example2"
aria-label=": activate to sort column ascending" CssClass="table table-striped dataTable"
aria-describedby="example2_info" runat="server" AutoGenerateColumns="false">
<columns>
<asp:TemplateField HeaderText="Product">
<itemtemplate>
<asp:Label ID="lblProduct" runat="server" Text='<%# Eval("Product_Name") %>'>'>
<asp:TemplateField HeaderText="ProductID" Visible="false">
<itemtemplate>
<asp:Label ID="lblProduct_Id" runat="server" Text='<%# Eval("Product_Id") %>'>'>
<asp:BoundField DataField="Unit_Price" HeaderText="Price" ItemStyle-CssClass="price" />
<asp:TemplateField HeaderText="Quantity">
<itemtemplate>
<asp:TextBox ID="txtQuantity" runat="server" Text='<%# Eval("ProdQuantity") %>'>' >
<asp:TemplateField HeaderText="Total">
<itemtemplate>
<asp:Label ID="lblTotal" runat="server" >
can u help my Total=price * Quantity
total price is calculate through jquery
please help
and thanx for reply
Rajnish D mishra
30-Nov-14 4:31am
View
thanx @srikant
Rajnish D mishra
19-Nov-14 2:54am
View
thanks @peter leow
Rajnish D mishra
13-Jun-14 1:53am
View
obove given out put is genrate by my query and i have want expected out is any way ?
Rajnish D mishra
28-May-14 2:03am
View
date_grid is inside gridview column
Rajnish D mishra
9-May-14 1:56am
View
if i Add given_id on that Table so how it Possible please help Karen
Rajnish D mishra
2-May-14 3:57am
View
R-05/001,R-05/002,R-05/003,R-05/004.........
Rajnish D mishra
11-Apr-14 12:59pm
View
how i generate month how to attached this month to as like R-04/23
Rajnish D mishra
26-Mar-14 4:53am
View
its working fine but disable going again.....
Rajnish D mishra
26-Mar-14 3:42am
View
Can we Call multiple JavaScript on ONCLICK ?in single button .if yes so how?
Rajnish D mishra
6-Feb-14 0:49am
View
my program run without any error...and emulater(AVD) open but there not have my android appliction like .apk appliction
Rajnish D mishra
5-Feb-14 7:49am
View
sorry boss....
Rajnish D mishra
31-Jan-14 1:32am
View
thnx
Rajnish D mishra
30-Jan-14 14:23pm
View
please i have one request from u give me any link for android where i larn
Rajnish D mishra
30-Jan-14 14:17pm
View
thnx Peter Leow
really i doing more mistake but through ur help i understand clearly u r good programmer....thnx a lot
Rajnish D mishra
30-Jan-14 14:14pm
View
thnx bro
Rajnish D mishra
30-Jan-14 7:13am
View
RadioButton cannot be resolved to a type MainActivity.java/test1/src/com/example/test1 line 27 Java
i correct my misstep
but this error what say how i resolve to type
Rajnish D mishra
8-Jan-14 5:40am
View
by using substring i geting two alfhbet of emp_name but i have problam at after how to give sequence for apend name like ga1 ,om2,ra3...etc
Rajnish D mishra
27-Dec-13 10:45am
View
thanx bro it raly help full
Rajnish D mishra
16-Dec-13 5:13am
View
i want to create table for an employee and it contains 3 columns
id
name
address
where name should contain 3 sub columns like
firstname
middlename
lastname
so how can i will get this one
help me out from this one
Rajnish D mishra
11-Dec-13 10:34am
View
thanx frend after struggling i do my work thnx vary much.
Rajnish D mishra
11-Dec-13 2:14am
View
thnx frend for giving me ur time..
i have three text box and one button and gridview
i want to disply my value in gridview other then enter value in text box
mean when we enter 1,2,3 in all three text respectively
gridview show 4 to 100 number but not show 1,2,3
i do some try but it not proper
dt = new DataTable();
DataColumn dc1 = new DataColumn("text1");
DataColumn dc2 = new DataColumn("text2");
DataColumn dc3 = new DataColumn("text3");
dt.Columns.Add(dc1);
dt.Columns.Add(dc2);
dt.Columns.Add(dc3);
DataRow dr1 = dt.NewRow();
for (int i = 1; i< 201; i++)
{
dr1[0] = "";
dr1[1] = "";
dr1[2] = "";
Response.Write(i);
}
dt.Rows.Add(dr1) ;
GridView1.DataSource = dt;
GridView1.DataBind();
}
Rajnish D mishra
11-Dec-13 1:52am
View
frend i see your code it run secssefull but cant show gridview
Rajnish D mishra
11-Dec-13 1:08am
View
[txtbox1] [txtbox2] [txtbox3]
[button]
[ gridview show value other then enter in all 3 text box ]
Rajnish D mishra
10-Dec-13 10:06am
View
sorry i disturb u ....i tried my self and i due this.... i am college stud..so i not have more well develop knowledge.
Rajnish D mishra
22-Nov-13 14:18pm
View
thanx
Rajnish D mishra
20-Nov-13 12:02pm
View
i got it..
Rajnish D mishra
17-Nov-13 7:44am
View
Sampath Lokuge thanks to post .....this article ..
Rajnish D mishra
16-Nov-13 4:11am
View
thanx...
Rajnish D mishra
16-Nov-13 3:57am
View
how?
Rajnish D mishra
15-Nov-13 1:47am
View
Deleted
after struggling..... i will ask this question.
if u don't have any answer so don't comnt....
Show More