16,004,653 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 .NET 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 Ni!E$H_WAGH (Top 125 by date)
Ni!E$H_WAGH
6-Feb-18 8:28am
View
but depend on I/O.I have to process further and I think the further processing of files depends on reading of PDF files . So is that possible that I could hold reading and process on the PDF file ( which is I think not available untill I read ).
Ni!E$H_WAGH
6-Feb-18 8:22am
View
What I expect is to run those threads parallely means at the same time for different files . but it gives error when I don't use Lock , error says Memory currupt.
Ni!E$H_WAGH
3-Jul-15 7:32am
View
trying to convert basicamount col for sum up from ItemDetails datatable which is stoared a string
Ni!E$H_WAGH
3-Jul-15 6:42am
View
This is not a solution to my Question ...
Ni!E$H_WAGH
27-Jun-15 6:04am
View
Because am using Hidden field for fetching values from client side to server side , and after storing Json into hidden field it stores string like this "%5B%7B%22Flag%22%3A0%2C%22BillNumber%22%3A%2203%22%2C%22POId%22%3A13%2C%22GRNId%22%3A9%2C%22PartyId%22%3A9%2C%22ItemId%22%3A15%2C%22ItemName%22%3A%22INSERT%20AIR%20FILTER%20%20BM150%20-%200%22%2C%22Unit%22%3A%22Nos%22%2C%22Quantity%22%3A8000%2C%22Rate%22%3A2%2C%22BasicAmount%22%3A16000%2C%22Total%22%3A20250%2C%22Remark%22%3A%22na%22%7D%2C%7B%22Flag%22%3A0%2C%22BillNumber%22%3A%2203%22%2C%22POId%22%3A13%2C%22GRNId%22%3A9%2C%22PartyId%22%3A9%2C%22ItemId%22%3A15%2C%22ItemName%22%3A%22INSERT%20AIR%20FILTER%20%20BM150%20-%200%22%2C%22Unit%22%3A%22Nos%22%2C%22Quantity%22%3A8000%2C%22Rate%22%3A2%2C%22BasicAmount%22%3A16000%2C%22Total%22%3A20250%2C%22Remark%22%3A%22na%22%7D%2C%7B%22GRNId%22%3A%220%22%2C%22Flag%22%3A%220%22%2C%22ItemName%22%3A%22POLY%20BAG%20BUBBLE140*170*300G%20EXPORT%20MIR%22%2C%22Unit%22%3A%22Nos%22%2C%22Quantity%22%3A%2212012%22%2C%22Rate%22%3A%221.259%22%2C%22BasicAmount%22%3A%2215123.11%22%2C%22Total%22%3A%220%22%2C%22Remark%22%3A%22%22%7D%5D
that why am using System.Uri.UnescapeDataString() method.
"
Ni!E$H_WAGH
26-Jun-15 6:37am
View
I tried your solution but in LoadSupplier() it says object does not support this property
Ni!E$H_WAGH
24-Dec-14 6:51am
View
Deleted
On Web server Just simple block of C Code and displaying output.
Ni!E$H_WAGH
24-Dec-14 6:40am
View
On Web server Just simple block of C Code and displaying output.
A website which accept C code and after clicking Submit button it will show the output.
Ni!E$H_WAGH
24-Dec-14 6:35am
View
Sorry for my poor knowledge but can you suggest me some solution ?
Ni!E$H_WAGH
24-Dec-14 6:32am
View
I just want required Things to do while developing a Hosted Compiler .
Ni!E$H_WAGH
21-Jun-14 1:06am
View
no it is not working
Ni!E$H_WAGH
27-May-14 3:46am
View
I used \n but not working also Environment.NewLine but not Woring.
Ni!E$H_WAGH
30-Apr-14 7:02am
View
Thanks for your kind suggestion.
Ni!E$H_WAGH
29-Apr-14 7:09am
View
Ohhh Thank you.....!!!
I Just Hided it ..!!!
Ni!E$H_WAGH
28-Apr-14 5:25am
View
default value for datatime.
Ni!E$H_WAGH
28-Apr-14 5:13am
View
No it gives output 1900-01-01 00:00:00.000 and I require ' '
Ni!E$H_WAGH
28-Apr-14 4:52am
View
No am using datetime as datatype for specified column
Ni!E$H_WAGH
28-Apr-14 4:40am
View
I want Update column with NULL value by blank space .
Ni!E$H_WAGH
28-Apr-14 1:55am
View
column Width only
Ni!E$H_WAGH
28-Apr-14 1:43am
View
Updated question with Gridview code
Ni!E$H_WAGH
28-Apr-14 1:12am
View
That's not issue . The issue is how do keep size before adding and after adding data to gridview .
Ni!E$H_WAGH
21-Apr-14 6:06am
View
Thanks OriginalGriff
Ni!E$H_WAGH
21-Apr-14 4:24am
View
I have improved question with code snippet.
Ni!E$H_WAGH
21-Apr-14 2:00am
View
Float
Ni!E$H_WAGH
15-Apr-14 4:22am
View
Thanks Peter Leow
Ni!E$H_WAGH
14-Apr-14 2:45am
View
Thanks
Ni!E$H_WAGH
4-Apr-14 23:22pm
View
Thnks Charan Amritpal Singh
Ni!E$H_WAGH
2-Apr-14 7:30am
View
Thanks
Ni!E$H_WAGH
2-Apr-14 2:46am
View
Ohh I am Sorry its my mistake ,it worked Thanks a lot . I took wrong MBORQ_ID .. Thanks again
Ni!E$H_WAGH
2-Apr-14 2:42am
View
No it is not working
Ni!E$H_WAGH
2-Apr-14 2:14am
View
Thanks and Happy coding .... :)
Ni!E$H_WAGH
2-Apr-14 1:49am
View
yes issue solved by adding Handles Me.Load at page Load
Ni!E$H_WAGH
2-Apr-14 0:49am
View
Thanks Jas
Ni!E$H_WAGH
2-Apr-14 0:15am
View
How to get value on the page load ?, When I put this code in button click it shows value for querystring.
lblempcc.Text = Request.QueryString("mbo_req_id")
MsgBox(Request.QueryString("mbo_req_id"))
Ni!E$H_WAGH
1-Apr-14 8:14am
View
Thanks for your reply
Ni!E$H_WAGH
1-Apr-14 7:26am
View
No not getting any error and also not showing any value in the querystring
Ni!E$H_WAGH
28-Mar-14 0:42am
View
Thanks Jas Issue solved ..!
Ni!E$H_WAGH
28-Mar-14 0:14am
View
its ajaxcontrol error ---------------------------
Unable to reference extender assembly AjaxControlToolkit, Version=4.1.60623.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e.
Ni!E$H_WAGH
27-Mar-14 4:42am
View
Thank you very much..
Ni!E$H_WAGH
27-Mar-14 4:42am
View
Thanks...
small change code instead of "<%# Eval("Name") %>" it should be '<%# Eval("Name") %>'
Ni!E$H_WAGH
27-Mar-14 1:14am
View
You are welcome... One suggestion use Have a Question or Comment button for comments.
Ni!E$H_WAGH
26-Mar-14 3:14am
View
Thanks syed shanu
Ni!E$H_WAGH
24-Mar-14 4:34am
View
Thank you very much JoCodes
Ni!E$H_WAGH
24-Mar-14 3:25am
View
Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim temp As String = Session("emp_code")
Dim Conn As New SqlConnection(ConfigurationManager.ConnectionStrings("ConnStr").ConnectionString)
' Here I want access the value of ID but getting error e is not member of GridviewUpdateEventargs
Dim sum As Double = 0.0
Dim str1 As String = "select ISNULL(sum(MBO_Weighting_Factor),0) from tbl_MBO_Objective_Details where MBO_Req_Id is null and MBO_EMP_CODE='" & EMP_NO & "'" ' and id=@idnum"
Dim Comm1 As New SqlCommand
Comm1 = New SqlCommand(str1, Conn)
Comm1.Parameters.AddWithValue("@idnum", ID)
Conn.Open()
sum = Comm1.ExecuteScalar()
Conn.Close()
sum = sum + Convert.ToDouble(txtwtfactor.Text)
If sum > 1.0 Then
ScriptManager.RegisterStartupScript(Me.Page, Me.[GetType](), "Alert", "<script type='text/javascript'>testmsg3(' You can not update, Your weighting factors exceeds one ...!');</script>", False)
BindDataMBOPerObjectives()
BindDataMBOFuncObjDetails()
Else
Conn.Open()
Dim cmd As New SqlCommand("update tbl_MBO_Objective_Details set MBO_Objective=@funcobj,MBO_Measured_Var=@measurdvar,MBO_Target_Date=@targetdt,MBO_Weighting_Factor=@wtfact where id=@id", Conn) 'where UserId=@UserId
cmd.Parameters.AddWithValue("@funcobj", txtobjective.Text)
cmd.Parameters.AddWithValue("@measurdvar", txtmeasurdvar.Text)
cmd.Parameters.AddWithValue("@targetdt", txttargetdate.Text)
cmd.Parameters.AddWithValue("@wtfact", txtwtfactor.Text)
cmd.Parameters.AddWithValue("@id", Convert.ToInt32(lblID.Text))
cmd.ExecuteNonQuery()
Conn.Close()
BindDataMBOFuncObjDetails()
BindDataMBOPerObjectives()
End If
End Sub
Ni!E$H_WAGH
24-Mar-14 3:06am
View
Dear JoCodes , I have written one method for udating the data using the MOdelPopupextender control
Am not sung RowUpdating so in this case How can get the value for the same ?
Ni!E$H_WAGH
24-Mar-14 3:00am
View
Thanks JoCodes
Ni!E$H_WAGH
18-Mar-14 2:55am
View
Am not using the href property Am using onclick event of li tag
Ni!E$H_WAGH
14-Mar-14 7:14am
View
Thank you very much..
Happy Coding
Ni!E$H_WAGH
14-Mar-14 7:09am
View
Thanks Jas . I am adding the code to edit the Grid Data using Modelpopup Extender which
popup on imagebutton. so I have solved this error by removing the CommandName="Edit" from my ImageButton
.
Again one question is it possible to use two ModelPopup Extender on same Page.
Thanks for your support.
Ni!E$H_WAGH
14-Mar-14 0:12am
View
Thanks
Ni!E$H_WAGH
13-Mar-14 6:58am
View
Thanks
Ni!E$H_WAGH
12-Mar-14 0:58am
View
Thanks
Ni!E$H_WAGH
11-Mar-14 3:38am
View
Thanks Jas
Ni!E$H_WAGH
11-Mar-14 3:15am
View
Thanks a lot for your efforts.
Ni!E$H_WAGH
11-Mar-14 3:12am
View
Thanks . But is there any other way to do the same.
Ni!E$H_WAGH
11-Mar-14 3:07am
View
Am Using ModelpopExtender Control for Gridview Edit button , but question is,Is it possible to set the PopupControlID="Panel1" property of Modelpopupextender with the Panel1 which is on different page.
Ni!E$H_WAGH
11-Mar-14 2:38am
View
Thanks TusharMea
Ni!E$H_WAGH
11-Mar-14 1:44am
View
Thanks Aravindba.
Ni!E$H_WAGH
11-Mar-14 1:43am
View
Thanks Santosh Kumar Chhotaray945 .
Ni!E$H_WAGH
10-Mar-14 6:39am
View
Thanks ..Singh Rajan . But I wanted to show this value from database using eval() in gridview like <itemtemplate><asp:Label ID="txtweight_fact" runat="server" Height="25px" text='<%#Eval("MBO_Weighting_Factor")%>' Width="30px">
Ni!E$H_WAGH
10-Mar-14 6:38am
View
Thanks Kedar0011 but am fetching the value from database ....
Ni!E$H_WAGH
10-Mar-14 5:50am
View
Yes...
Ni!E$H_WAGH
10-Mar-14 4:19am
View
Thanks Aravindba
Ni!E$H_WAGH
10-Mar-14 3:29am
View
I Think error is in
ScriptManager.RegisterStartupScript(Me.Page, Me.[GetType](), "Alert", "<script type='text/javascript'>testmsg3('Your weghting factor total exceeds you can not
update the record !');</script>", False)
this part of the code
Ni!E$H_WAGH
10-Mar-14 3:09am
View
Thanks for your suggesion
Ni!E$H_WAGH
10-Mar-14 2:47am
View
Sorry N.Banukobhan but am trying to find solution in asp.net and javascript
Ni!E$H_WAGH
10-Mar-14 2:34am
View
Jas 24 am using gridview control and I want to Update the perticular row of the gridview but before that I should have to take care that the if User will try to update the value which make the that column sum greater than 1 then in that case I wanted to display message that
your weighting factor exceeds 1 and you can not update.
Ni!E$H_WAGH
10-Mar-14 2:21am
View
I tried your solution but it shows error message like
Line: 119672505
Error: Object expected
Ni!E$H_WAGH
10-Mar-14 2:06am
View
Thanks
Ni!E$H_WAGH
10-Mar-14 0:58am
View
Thanks
Ni!E$H_WAGH
10-Mar-14 0:58am
View
Thanks
Ni!E$H_WAGH
10-Mar-14 0:48am
View
Thanks Jas 24
Ni!E$H_WAGH
7-Mar-14 4:49am
View
I tried using shared variable but faced problem that it retains the value of previous run also..
Ni!E$H_WAGH
7-Mar-14 1:48am
View
Thanks $*Developer - Vaibhav*$,Jas 24
Ni!E$H_WAGH
6-Mar-14 6:24am
View
Thanks but I just wanted that why this property causesvalidation not works for second time click
Ni!E$H_WAGH
6-Mar-14 0:36am
View
Thanks
Ni!E$H_WAGH
4-Mar-14 23:55pm
View
You can store the login time in session and you can substract that value from current time
try to find solution on this link http://forums.asp.net/t/1190306.aspx
Ni!E$H_WAGH
4-Mar-14 4:11am
View
Thanks
Ni!E$H_WAGH
3-Mar-14 3:38am
View
Thanks... Solved the error ...
It is because of the CSS.
Ni!E$H_WAGH
3-Mar-14 1:18am
View
Thanks
Ni!E$H_WAGH
28-Feb-14 7:49am
View
my application requirement is that I wanted the checkBox to behave like radiobutton
Ni!E$H_WAGH
28-Feb-14 4:55am
View
Thank you very much .
Ni!E$H_WAGH
28-Feb-14 0:50am
View
Thank you sir .
Ni!E$H_WAGH
27-Feb-14 23:55pm
View
But am not taking date from system . I want to extraxt these values from calenderExtender control
Ni!E$H_WAGH
27-Feb-14 0:47am
View
Thank you sir.
Ni!E$H_WAGH
27-Feb-14 0:02am
View
I havve added the code by improving question. please have look through this.
Ni!E$H_WAGH
25-Feb-14 6:02am
View
I solved it.I have used FooterRow in place of e.rowIndex
Ni!E$H_WAGH
25-Feb-14 1:34am
View
Thanks .
Happy programming
Ni!E$H_WAGH
25-Feb-14 1:34am
View
Thanks .
Happy programming
Ni!E$H_WAGH
21-Feb-14 0:58am
View
Thank you Very much Sir .
Happy Programming...
Ni!E$H_WAGH
20-Feb-14 22:54pm
View
Thank you Sir.
This is the link for new Question
http://www.codeproject.com/Questions/731049/How-to-Validate-the-textbox-inside-the-dynamic-gri
Ni!E$H_WAGH
20-Feb-14 1:01am
View
Am trying to check the value entered in the textbox which is inside the gridview , So How can I get the client id for textbox?
Ni!E$H_WAGH
19-Feb-14 23:30pm
View
Thank you very Much sir
Ni!E$H_WAGH
18-Feb-14 7:54am
View
Thanks sir........
Ni!E$H_WAGH
18-Feb-14 4:20am
View
Thanks
Ni!E$H_WAGH
18-Feb-14 4:20am
View
Thanks
Ni!E$H_WAGH
14-Feb-14 2:26am
View
thanks.
Can you please provide me some demo code snippet for the same
Ni!E$H_WAGH
13-Feb-14 6:52am
View
Thanks.
Ni!E$H_WAGH
12-Feb-14 4:26am
View
Thank you very much Sir....
Ni!E$H_WAGH
11-Feb-14 2:29am
View
Tried your solution but getting another error
in the given code
Dim str As String = txtweight_fact.Text.ToString
total = total + Convert.ToDouble(str) as
Input string was not in a correct format.
Ni!E$H_WAGH
11-Feb-14 2:17am
View
K Thanks
Ni!E$H_WAGH
11-Feb-14 2:16am
View
Thanks
Ni!E$H_WAGH
11-Feb-14 2:13am
View
This code goes to ?
Ni!E$H_WAGH
11-Feb-14 1:48am
View
Am trying to add value of the textbox to tot variable but it only takes values 1,2,3 etc?
Here is the code
Dim tempstr = txtwtfact.Text.ToString
totper = totper + Convert.ToDouble(tempstr)
If (totper > 1) Then
lbltotper.Visible = True
End If
Ni!E$H_WAGH
10-Feb-14 7:50am
View
This is the code for Save button
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSave.Click
'Please do not double click this button to view code.
'If you double click it will generate Handles event due to which the
'values will be inserted twice into the database
Try
'SetRowData()
Dim table As DataTable = TryCast(ViewState("CurrentTable"), DataTable)
If table IsNot Nothing Then
For Each row As DataRow In table.Rows
Dim funob As String = TryCast(row.ItemArray(1), String)
Dim measur As String = TryCast(row.ItemArray(2), String)
Dim d_line As String = TryCast(row.ItemArray(3), String)
Dim wtfact As String = TryCast(row.ItemArray(4), String)
'If funob IsNot Nothing OrElse measur IsNot Nothing OrElse d_line IsNot Nothing OrElse wtfact IsNot Nothing Then
If funob IsNot Nothing Or measur IsNot Nothing Or d_line IsNot Nothing Or wtfact IsNot Nothing Then
Dim cmd As New SqlCommand
Dim obj As New GenericCode
Dim str As String
Dim con As New SqlConnection
Dim empcode As String = Session("emp_code")
con.ConnectionString = strConnString
con.Open()
str = " insert into MBO_Details(MBO_EMP_Code,MBO_FUNC_OBJ,MBO_MEASURED_VAR,MBO_DEADLINE,MBO_WEIGHT_FACT) values ('" & empcode & "','"
str = str & funob & "','" & measur & "','" & d_line & "','" & wtfact & "')"
cmd.CommandText = str
cmd = New SqlCommand(str, con)
cmd.ExecuteNonQuery()
con.Close()
End If
Next
lblusrmsg.Visible = True
btnSave.Enabled = False
ButtonAdd.Enabled = False
End If
Catch ex As Exception
Throw New Exception(ex.Message)
End Try
End Sub
Ni!E$H_WAGH
10-Feb-14 7:48am
View
But sir ButtonAdd is on the Gridview and I think so that why it is getting error.
Ni!E$H_WAGH
10-Feb-14 7:44am
View
Viewstate not storing the last row of values from the gridview .
Ni!E$H_WAGH
10-Feb-14 7:42am
View
Error 8 'ButtonAdd' is not declared. It may be inaccessible due to its protection
Ni!E$H_WAGH
10-Feb-14 7:34am
View
Sir I also have the Addbutton control and i want to disable this button on click event of save button but get error when I debug the follwing code]
lblusrmsg.Visible = True
btnSave.Enabled = False
ButtonAdd.Enabled = False
Ni!E$H_WAGH
10-Feb-14 7:32am
View
Sir I also have the Addbutton control and i want to disable this button on click event of save button but get error when I debug the follwing code]
lblusrmsg.Visible = True
btnSave.Enabled = False
ButtonAdd.Enabled = False
Ni!E$H_WAGH
10-Feb-14 7:29am
View
Thanks sir.
Ni!E$H_WAGH
10-Feb-14 6:53am
View
thanks but what should i have to put in the Rowindex and CellIndex
Ni!E$H_WAGH
10-Feb-14 6:29am
View
But in above code when am trying to insert values into the database then if I tried for 7 row values it will only insert 6 row values into the database?
Ni!E$H_WAGH
10-Feb-14 6:27am
View
Yes Sir. Thank you very much........
Ni!E$H_WAGH
10-Feb-14 5:05am
View
Issue solved by removing the Handles on button click.
Thanks.
Ni!E$H_WAGH
6-Feb-14 23:41pm
View
But sir am using DateExtender control in ASP.NEt? so how can access the value from DateExtender to javascript?
Ni!E$H_WAGH
6-Feb-14 4:35am
View
Thanks
Ni!E$H_WAGH
6-Feb-14 1:58am
View
Dear KARTHIK I have improved the question ..
Ni!E$H_WAGH
6-Feb-14 1:55am
View
<itemtemplate>
<asp:TextBox ID="txtdeadline" contentEditable="False" runat="server"
Height="40px" Width="57px">
<asp:CalendarExtender ID="txtdeadline_CalendarExtender" runat="server"
Enabled="True" OnClientDateSelectionChanged="checkDate" TargetControlID="txtdeadline">
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtdeadline"
ErrorMessage="*" SetFocusOnError="True" ValidationGroup="valgrp_func">
Ni!E$H_WAGH
5-Feb-14 6:25am
View
Am using SQLServer
Ni!E$H_WAGH
5-Feb-14 6:24am
View
actually I want to develop an application to store the data encryted with the help of AES but am itself should not be able to see the database values without proper authentication .
Ni!E$H_WAGH
5-Feb-14 3:46am
View
thanks
Ni!E$H_WAGH
3-Feb-14 10:24am
View
Thanks.
Ni!E$H_WAGH
3-Feb-14 10:24am
View
Thanks for your Kind Suggestion.
Ni!E$H_WAGH
3-Feb-14 7:29am
View
Please suggest me the Solution . New to this forum ...!
Show More