15,793,846 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 Python questions
View PHP 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 ShivKrSingh (Top 38 by date)
ShivKrSingh
2-Mar-15 1:28am
View
thanks for reply. but when i have tested same scenario with demo project it is working fine. even if i click on link after 5 or 30 min.
ShivKrSingh
27-Feb-15 5:00am
View
actually takes time between button click to reach to methods after reaching to method its hardly takes 2 seconds. Only 5 rows are there in dataview with 6 columns
ShivKrSingh
19-Feb-15 4:40am
View
actually same code is running. without any change this scenario is coming.
what I have noticed that. when I click on link page went to process but not hit debugger on action method. Its coming very late to action. the delay is between anchor link click and calling action method. Most of time it hit action instantly but some time take too much time.
ShivKrSingh
19-Feb-15 4:35am
View
actually we have hosted this application on localhost and running it from there. We are not running it with VisualStudio. so it is not possible to see output window. the surprising thing is this, same code is executing then why its taking time some time.
what I have noticed that. when I click on link page went to process but not hit debugger on action method. Its coming very late to action. the delay is between anchor link click and calling action method. Most of time it hit action instantly but some time take too much time.
ShivKrSingh
23-Jan-14 23:03pm
View
what is the alternative of this while using with excel.
ShivKrSingh
23-Jan-14 23:02pm
View
I'm using excel file in my application and want to check if someone enter text in ID field it should be validate. but when we read it text is not displaying if it is not in number format. While value exist in excel file. if I format that column as text in excel sheet it goes well. But this file generate at runtime and destroy. so I want a solution that can help me conversion. without any manual change in excel file.
ShivKrSingh
20-Jan-14 5:21am
View
don't forget to mark it as answered if it solved your problem
ShivKrSingh
19-Jan-14 23:31pm
View
I know this but he doesn't have any relation and want output as he displays this can solve his problem. but he should need to rectify his database to do this. Till that time he can use this.
ShivKrSingh
18-Jan-14 0:49am
View
hi, In your code it is used to download existing file. but I want to save it only if there is any modification take place in data.
ShivKrSingh
18-Jan-14 0:33am
View
This is windows application and I have integrated excel file in webBrowser control because I searched lot but not found any other solution. I also want full control over Excel file. I want to check if data modification take place it should save in existing file. If you have other way to use excel file in application, please do let me know....
ShivKrSingh
24-Dec-13 6:54am
View
This function doesn't do any thing with outerHTML.
ShivKrSingh
9-Sep-13 9:35am
View
this may give you overflow error. because it you may not have idea of full number range. It can be greater then the size of int32 like your example 123456789,0123 and you want to convert it 1234567890123 this number is greater then Int32 range. You should confirm your digits before changing it into Int32. It is better to use Number(Max digit you want before decimal, decimal places) in sql server and use double in front end. you can use round off if you want in this Case. but not in your condition.
ShivKrSingh
9-Sep-13 9:27am
View
Your Question is not clear. Please provide more details. You can use "order by NewID()" in your query to get question randomly from database.
ShivKrSingh
28-Jul-13 6:23am
View
you can track space for doing this. when system find space and replace that space with (,) comma.
ShivKrSingh
25-Jul-13 5:22am
View
you can do one thing that take one button and make its visible hide. and on click of this open this popup like
in page load
if(!isPostback)
{
btnName_Click(sender, e);
}
so this code will make is click only first time. on after this even after Post back. It will only show when you are visiting your page first time. One More thing if you will Manually Refresh page that will act as it is loading first time. so it will show popup again but not after it. Hope this will fulfill your requirement.
ShivKrSingh
24-Jul-13 8:12am
View
Control cont;
protected void Page_Load(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(hdnURL.Value))
{
cont = LoadControl(hdnURL.Value);
}
MasterList1.btnClicked += new HR.Controls.Master.MasterList.onLinkButtonClicked(MasterList1_btnClicked);
}
void MasterList1_btnClicked(object obj, EventArgs e)
{
hdnURL.Value = MasterList1.URL;
cont = LoadControl(hdnURL.Value.ToString());
plMasterList.Controls.Add(cont);
}
this is the code where I'm calling delegate to load..
ShivKrSingh
24-Jul-13 8:09am
View
is that what you was asking for.....
ShivKrSingh
23-Jul-13 9:39am
View
I have used this inside update panel. OnClick of user control any event it just disappear and no event fire. dont know why..
ShivKrSingh
20-Jun-13 9:41am
View
I have done this.
ShivKrSingh
2-Jun-13 7:27am
View
you can create single function for doing this. and can you that every where...
ShivKrSingh
2-Jun-13 7:26am
View
either you can use following
Private Sub Form13_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim count As Integer
Dim count1 As Integer
Dim total As Integer
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\sachin\db1.mdb;Persist Security Info=True;Jet OLEDB:Database Password=admin")
con.Open()
Dim str1 as string = "select count(*) from answer where count=1 ;"
Dim str2 as string= "select count(*) from answer where count=0;"
Dim cmd As New OleDbCommand(str1, con)
Dim cmd1 As New OleDbCommand(str2, con)
count = CType(cmd.ExecuteScalar(), Integer)
count1 = CType(cmd1.ExecuteScalar(), Integer)
total = count - count1
Me.Label1.Text = total
con.Close()
ShivKrSingh
27-May-13 6:46am
View
he wants to check if user is logged in then only other page should display. other wise it should be redirected to login page.
ShivKrSingh
26-May-13 4:07am
View
yes, and i have done it.
ShivKrSingh
21-May-13 10:03am
View
I have tried to create common function but unable to do. I mean by doing programming work as I have done in the code mention. you can see I'm using same code in all function except txtboxid and lableID. I need programming work of function that allow me to do this with only one function.
ShivKrSingh
21-May-13 9:50am
View
how can i create one function to do this validation to reduce code size.
ShivKrSingh
21-May-13 9:46am
View
Deleted
how can i create one function to do this validation to reduce code size.
ShivKrSingh
28-Apr-13 6:25am
View
you need to create a new project for this. from setup and deployment. you can add frame work from there with you application. which is default provided by microsoft.
ShivKrSingh
5-Jan-13 8:19am
View
your connection string is not seems to be ok..
ShivKrSingh
5-Dec-12 4:14am
View
Send your table Design. I think you had taken wrong datatype.
ShivKrSingh
3-Dec-12 4:16am
View
great..........
ShivKrSingh
24-Nov-12 8:31am
View
ajax calender control work on click event and get focus of that control. when u r setting its property. it will not allow to write any thing on that and event will not work. that why you r facing this problem. Don't Make its property readonly.
ShivKrSingh
26-Oct-12 7:19am
View
Currently I'm using the same code given above but if providing to message box use this one of the code does not show or often in does not appear I want unless the button clicked it should be on top of windows. and user have to click this button to before going ahead......
ShivKrSingh
26-Apr-12 10:39am
View
it has only two colomn 'RegistrationNumber' 'BalanceAmount'.
actually in my case I want to insert data(payment) in One table and at the same time Want to update Remaining balance in oldbalance table. I want that either both statement commit or non. thats why I'm using transaction here. sql proc is running fine on back-end. But dont know how to use "sql proc" with trancsaction. there is coding mistake. but dont know what?
ShivKrSingh
26-Apr-12 5:18am
View
I want to do this with transaction
ShivKrSingh
12-Apr-12 9:03am
View
thanks
ShivKrSingh
18-Dec-11 15:09pm
View
it's asp.net 3.5
ShivKrSingh
15-Dec-11 10:55am
View
you mean to say that you want coding of button click that check user in database and if exist than something happent according to u? or something else?
please correct your Question so that anybody can understand properly.
ShivKrSingh
26-Nov-10 23:50pm
View
thanks for reply me but my application is in vb.net how it will work there.
Show More