16,012,223 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 Vivek Shankar (Top 30 by date)
Vivek Shankar
26-Feb-14 3:42am
View
Yes done, Its not showing any error while debugging, Only while publishing it is showing error.
Below is my code and am using it for error log.
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
if (!System.Diagnostics.EventLog.SourceExists("ERSite"))
{
System.Diagnostics.EventLog.CreateEventSource("ERSite", "ErrorLog");
}
}
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
Exception ex = Server.GetLastError();
if (ex != null)
{
ErrorLog el = new ErrorLog();
el.Log(ex);
Server.ClearError();
Response.Redirect("Error.aspx");
}
}
Vivek Shankar
26-Feb-14 3:35am
View
It will build n it'll run successfully, when i try to publish it is showing the error, its showing any line no or any source.
Vivek Shankar
8-Jul-12 23:43pm
View
example like facebook,
Vivek Shankar
13-Jan-12 6:20am
View
Select Distinct spare_list.code, spare_list.Name,indentitems.qty "Quantity", (Select IFNULL(sum(QtyAvailable), 0) from SparesQty where SparesQty.Code = spare_list.Number) as 'On Hand', ABS((Select IFNULL(sum(QtyAvailable), 0) from SparesQty where SparesQty.Code = spare_list.Number)-(select indentitems.qty from indentitems left join indent on indentitems.code=indent.itemcode where indentitems.indent=16 and indent.status=1)) as "Quantity Required"from (spare_list left join SparesQty on SparesQty.Code = spare_list.Number) Left join (indentitems left join indent on indentitems.code=indent.itemcode) on spare_list.code = indentitems.code where indentitems.indent=16 and indent.status=1 Group by spare_list.Code order by spare_list.Code
Vivek Shankar
13-Jan-12 6:18am
View
Deleted
Select Distinct spare_list.code, spare_list.Name,indentitems.qty "Quantity", (Select IFNULL(sum(QtyAvailable), 0) from SparesQty where SparesQty.Code = spare_list.Number) as 'On Hand', ABS((Select IFNULL(sum(QtyAvailable), 0) from SparesQty where SparesQty.Code = spare_list.Number)-(select indentitems.qty from indentitems left join indent on indentitems.code=indent.itemcode where indentitems.indent=16 and indent.status=1)) as "Quantity Required"from (spare_list left join SparesQty on SparesQty.Code = spare_list.Number) Left join (indentitems left join indent on indentitems.code=indent.itemcode) on spare_list.code = indentitems.code where indentitems.indent=16 and indent.status=1 Group by spare_list.Code order by spare_list.Code
Vivek Shankar
11-Jan-12 6:06am
View
if the page has 5 items it is generating numbers from 1 to 5, but what i needed is, if i select the some more items for form.2 to should generate the number continuing from 5.
Vivek Shankar
9-Jan-12 0:56am
View
Yes,please help me with detail code.
Vivek Shankar
20-Dec-11 1:56am
View
thanku
Vivek Shankar
20-Dec-11 1:56am
View
thanku
Vivek Shankar
20-Dec-11 1:56am
View
thanku
Vivek Shankar
20-Dec-11 1:56am
View
thanku
Vivek Shankar
16-Dec-11 4:07am
View
Thanku
Vivek Shankar
12-Dec-11 4:58am
View
thank you for suggetion.
Vivek Shankar
12-Dec-11 4:57am
View
yes, check box is a part of gridview and here am populating all the product name and its details in a gridview from database and i am selecting few items(row) from the gridview using checkbox and i want to display only selected row in the next page.
Vivek Shankar
12-Dec-11 0:10am
View
hi, its showing JScript runtime error: 'CallPrint' is undefined.
Vivek Shankar
12-Dec-11 0:09am
View
Deleted
hi, its showing JScript runtime error: 'CallPrint' is undefined.
Vivek Shankar
7-Dec-11 6:30am
View
zero is getting passed to literal, i tried in SelectedIndexChanged event, its working in page load event but within a if loop it does not working
Vivek Shankar
7-Dec-11 6:20am
View
nope, it's not working,
Vivek Shankar
6-Dec-11 6:30am
View
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// This is because Table[1] contains Categories
GridView1.DataSource = GetDataSet().Tables[1];
GridView1.DataBind();
}
}
indexoutofrange exception was unhandled by user code, how to come out of that?
and its rising table1 does not exist.
Vivek Shankar
5-Dec-11 5:05am
View
thanku
Vivek Shankar
2-Dec-11 5:32am
View
hey, can i have code for passing checked row into session variable?
Vivek Shankar
2-Dec-11 4:45am
View
ya definitely will let u no john ..
Vivek Shankar
2-Dec-11 4:23am
View
thanku
Vivek Shankar
2-Dec-11 4:16am
View
can't we insert the date in this format dd-MM-yyyy?
Vivek Shankar
2-Dec-11 4:01am
View
it should check for the previous number from database and it should generate with respect to dat value
Vivek Shankar
2-Dec-11 0:39am
View
new value should not replace the old one
Vivek Shankar
1-Dec-11 0:53am
View
thanku
Vivek Shankar
1-Dec-11 0:49am
View
yes, multiple rows, or i need to postback a reference of one column n from that will retrieve others in next page
Vivek Shankar
1-Dec-11 0:49am
View
nope...
Vivek Shankar
1-Dec-11 0:40am
View
Deleted
yes, multiple rows, or i need to postback a reference of one column n from that will retrieve others in next page
Show More