15,910,980 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 Prashant Srivastava LKO (Top 121 by date)
Prashant Srivastava LKO
13-Feb-12 6:47am
View
thank you sir
Prashant Srivastava LKO
28-Jan-12 5:29am
View
Implement the simple coding, apply codes at grd2_PageIndexChanging
Prashant Srivastava LKO
28-Jan-12 5:02am
View
Nice answer sir, my 5
Prashant Srivastava LKO
28-Jan-12 5:02am
View
nice answer my 5
Prashant Srivastava LKO
28-Jan-12 4:47am
View
Awesome link my 5+
Prashant Srivastava LKO
28-Jan-12 4:45am
View
Perfect Link my 5+
Prashant Srivastava LKO
25-Jan-12 5:47am
View
Sir, You deserve for these words,Don't thank me...
Prashant Srivastava LKO
24-Jan-12 23:09pm
View
Sir,Could I know what is the definition of your post that is, you are an architect
Prashant Srivastava LKO
24-Jan-12 23:07pm
View
Dashing,awesome links sir, my 5+
Prashant Srivastava LKO
23-Jan-12 7:14am
View
Give your code
Prashant Srivastava LKO
23-Jan-12 7:13am
View
Every Body needs help here,don't write "Please Help me"
Prashant Srivastava LKO
23-Jan-12 7:05am
View
Please improve your question
Prashant Srivastava LKO
22-Jan-12 12:46pm
View
Sir how u add these tags When I use The color not changes
Prashant Srivastava LKO
22-Jan-12 12:16pm
View
set your Display="Dynamic" setfocusonerror="true" try then tell
Prashant Srivastava LKO
21-Jan-12 7:21am
View
ok Sir, I will take care next time
Prashant Srivastava LKO
21-Jan-12 6:24am
View
gud answer
Prashant Srivastava LKO
21-Jan-12 5:11am
View
Satisfactory and Nice answer sir my 5
Prashant Srivastava LKO
21-Jan-12 5:04am
View
gud links sir
Prashant Srivastava LKO
21-Jan-12 4:23am
View
thank you sir
Prashant Srivastava LKO
21-Jan-12 4:01am
View
Gud answer my 5
Prashant Srivastava LKO
21-Jan-12 3:48am
View
Sir,Nice answer my 5
Prashant Srivastava LKO
21-Jan-12 2:53am
View
nice answer sir my 5
Prashant Srivastava LKO
21-Jan-12 2:52am
View
Heavy codes supriya
Prashant Srivastava LKO
20-Jan-12 6:18am
View
my 5
Prashant Srivastava LKO
20-Jan-12 6:18am
View
Nice answer
Prashant Srivastava LKO
20-Jan-12 6:17am
View
nice link my 5
Prashant Srivastava LKO
20-Jan-12 6:17am
View
nice link my 5
Prashant Srivastava LKO
20-Jan-12 6:16am
View
my 5
Prashant Srivastava LKO
20-Jan-12 5:56am
View
hi Andy
please remove the comments and add crystal Report viewer on your page and use two assemblies that is shown below:-
using CrystalDecisions.Shared;
using CrystalDecisions.CrystalReports.Engine;
Prashant Srivastava LKO
20-Jan-12 5:52am
View
clear your question more
Prashant Srivastava LKO
20-Jan-12 5:51am
View
take label and declare its id suppose lblMsg
<asp:Label ID="lblMsg" runat="server">
lblMsg.Text=diff.Days.ToString();
Prashant Srivastava LKO
18-Jan-12 6:09am
View
please elaborate your question
Prashant Srivastava LKO
18-Jan-12 6:00am
View
Use updated dll libraries of Ajax so to avoid the Toolkit script Manager Problem
Prashant Srivastava LKO
18-Jan-12 5:48am
View
nice answer
Prashant Srivastava LKO
17-Jan-12 7:20am
View
gud link
Prashant Srivastava LKO
16-Jan-12 4:55am
View
to find id* not value
Prashant Srivastava LKO
16-Jan-12 4:19am
View
Nice answer
Prashant Srivastava LKO
14-Jan-12 6:40am
View
Thanks Sir, Will be away from the word 'better' :)
Prashant Srivastava LKO
12-Jan-12 23:25pm
View
gud links
Prashant Srivastava LKO
12-Jan-12 4:30am
View
Sir as you told me earlier,Until the brain will not damage one can learn so many languages,so that's why I asked could I get your perfect advices for myself, well I am eager to learn the above BI tools I asked in the question,please usher the name of any best book or any training you know so far.
Prashant Srivastava LKO
12-Jan-12 4:27am
View
Sir, My company doesn't work on these Business Intelligence Tools,I asked only for my practice, I want some extra skills to be in my CV, so that's why asked for your suggestion
Prashant Srivastava LKO
12-Jan-12 4:22am
View
Deleted
Sir I need practice, my company doesn't work on this and you guys are perfect in these fields so that's why I asked from you.
Prashant Srivastava LKO
12-Jan-12 0:44am
View
Nice Answer my 5
Prashant Srivastava LKO
9-Jan-12 5:32am
View
Thanks sir for the help, nice link
Prashant Srivastava LKO
3-Jan-12 5:36am
View
I want personal suggestion for myself
Prashant Srivastava LKO
3-Jan-12 5:35am
View
Hello Sir,
I want one Suggestion from you that from where you have covered the above topics I asked, you read any book or did any training,please don't mind....
Prashant Srivastava LKO
29-Dec-11 4:19am
View
Thanks for Guidance Sir
Prashant Srivastava LKO
24-Dec-11 9:03am
View
Thanks Sir to you also for this answer my 5 for you
Prashant Srivastava LKO
24-Dec-11 9:03am
View
Thanks Sir a nice link for me, my 5 for you
Prashant Srivastava LKO
24-Dec-11 5:41am
View
Hello Sir,
Could u tell me, which is the best tool for testing.
My 5! NICE lINKS
Prashant Srivastava LKO
23-Dec-11 13:31pm
View
hi Kherms
Thanks to share you thoughts well I have solved this question
Prashant Srivastava LKO
23-Dec-11 13:28pm
View
I aspx page we make on function ok, because none grid can be shown without connection with database so we take RowNumber ok and set it one in codes the it will start from one row and dynamically we can generate rows
Prashant Srivastava LKO
23-Dec-11 13:26pm
View
Well virtual grid is that which is not connected with database, statically you can generate rows and fill data in the field shown in gridview and then save it in database
Prashant Srivastava LKO
23-Dec-11 6:25am
View
Gud Link
Prashant Srivastava LKO
23-Dec-11 5:38am
View
Thanks For Always take care of mine
Prashant Srivastava LKO
23-Dec-11 5:37am
View
Thanks Uday
Prashant Srivastava LKO
23-Dec-11 5:37am
View
Thanks Rakesh for this code I solved myself but by use of your code
My code is:
protected void txtStartTime_TextChanged1(object sender, EventArgs e)
{
filltime();
//int rowindex = grdDaily.SelectedIndex;
// TextBox txtStartTime = (TextBox)grdDaily.Rows[rowindex].FindControl("txtStartTime");
//TextBox txtEndTime = (TextBox)grdDaily.Rows[rowindex].FindControl("txtEndTime");
//TextBox txtTotalTime = (TextBox)grdDaily.Rows[rowindex].FindControl("txtTotalTime");
//int diff=TimeSpan
//txtTotalTime.Text=Convert.
}
public void filltime()
{
int rowindex = Convert.ToInt16(ViewState["RowIndex"]);
TextBox txtStartTime = (TextBox)grdDaily.Rows[rowindex].FindControl("txtStartTime");
TextBox txtEndTime = (TextBox)grdDaily.Rows[rowindex].FindControl("txtEndTime");
TextBox txtTotalTime = (TextBox)grdDaily.Rows[rowindex].FindControl("txtTotalTime");
DateTime ST;
DateTime ET;
string StartTime = txtStartTime.Text + ":00";
string EndTime = txtEndTime.Text + ":00";
if (DateTime.TryParse(StartTime, out ST) && DateTime.TryParse(EndTime, out ET))
{
TimeSpan TS = ET - ST;
int hour = TS.Hours;
//int mins = TS.Minutes;
// int secs = TS.Seconds;
string timeDiff = hour.ToString("00");// +":" + mins.ToString("00"); //+ ":" + secs.ToString("00");
//Response.Write(timeDiff); //output 16 mins in format 00:16:00 }
txtTotalTime.Text = timeDiff;
}
}
Prashant Srivastava LKO
22-Dec-11 0:59am
View
I need to do this in gridview How could I findControl in gridview and I am using Textboxes below these field in gridview in Item Template please help to this way
Prashant Srivastava LKO
22-Dec-11 0:07am
View
So Please help me in this way as you told me above
Prashant Srivastava LKO
21-Dec-11 5:59am
View
5!
Prashant Srivastava LKO
21-Dec-11 5:58am
View
I am unable to find control inside gridview
Prashant Srivastava LKO
21-Dec-11 5:58am
View
Both fields are inside gridview i.e. my problem please guide for this thing
Prashant Srivastava LKO
21-Dec-11 2:53am
View
Sir, Both fields are inside gridview i.e. my problem please guide for this thing
Prashant Srivastava LKO
21-Dec-11 2:31am
View
gud answer
Prashant Srivastava LKO
20-Dec-11 5:35am
View
5!
Prashant Srivastava LKO
20-Dec-11 5:35am
View
Nice answer sir
Prashant Srivastava LKO
20-Dec-11 0:28am
View
I have downloaded your tool also it was nice implementation of your's
Prashant Srivastava LKO
20-Dec-11 0:25am
View
I have seen your resume,chilhood photo's and language you know,as you told me that u know 20 languages
Prashant Srivastava LKO
19-Dec-11 13:03pm
View
Is http://www.sakryukov.org is your website sir
Prashant Srivastava LKO
19-Dec-11 12:59pm
View
Nice answer
Prashant Srivastava LKO
19-Dec-11 12:11pm
View
Is http://www.sakryukov.org is your website sir
Prashant Srivastava LKO
19-Dec-11 4:48am
View
Hello Sir,
Could I show my code here in comment section
Prashant Srivastava LKO
18-Dec-11 13:22pm
View
Thanks for your answer Sir
Prashant Srivastava LKO
18-Dec-11 13:18pm
View
Sir, Could I know on how many languages you worked so far,if you don't mind
Prashant Srivastava LKO
18-Dec-11 13:12pm
View
An Encouraging Answer Thanks Sir
Prashant Srivastava LKO
18-Dec-11 13:06pm
View
Nice answer sir
Prashant Srivastava LKO
18-Dec-11 12:57pm
View
Always give answer equivalent to 5 star my 5 Sir
Prashant Srivastava LKO
18-Dec-11 12:16pm
View
nice links
Prashant Srivastava LKO
17-Dec-11 6:24am
View
:)
Prashant Srivastava LKO
16-Dec-11 14:02pm
View
u r absolutely awesome sakryukov sir what link i.e.http://lmgtfy.com/
I always read ur blogs all are amazing and full of concepts,u r magical sir
Prashant Srivastava LKO
16-Dec-11 6:41am
View
My opinion is with C do work in c if u able to clear c then u can easily clear C++
Prashant Srivastava LKO
16-Dec-11 6:39am
View
Use Javascript
Prashant Srivastava LKO
16-Dec-11 6:37am
View
Thanks to tell me, but I have solved it
Prashant Srivastava LKO
16-Dec-11 3:55am
View
Direct conversion of Grid to excel
Prashant Srivastava LKO
16-Dec-11 3:53am
View
It is in excel sir
Prashant Srivastava LKO
14-Dec-11 23:31pm
View
I am saying that When I open sql server software then a popup comes with details,when I click on connect link it gives error of not connecting. How could I make the software, so that it can again start working.
Prashant Srivastava LKO
14-Dec-11 15:06pm
View
:)
Prashant Srivastava LKO
14-Dec-11 14:59pm
View
Yes I am unable to connect to sqlsever yes it is coming on click it's software but when i click on connect it is not connecting..
Prashant Srivastava LKO
14-Dec-11 14:56pm
View
Nice answer
Prashant Srivastava LKO
14-Dec-11 7:33am
View
Nice answer sir
Prashant Srivastava LKO
14-Dec-11 7:12am
View
U r exporting grid to excel or whole page to excel
Prashant Srivastava LKO
7-Dec-11 13:03pm
View
I m not satisfied the id's of drodpown in Gridview itemtemplated for this I need to find control SelectedIndex changed won't help me to fill the values of dropdown but my question was how to call the id of Module in Project so this cannot be done in Selected Index changed
Prashant Srivastava LKO
7-Dec-11 3:26am
View
but the format is coming wrong it is coming in MM/dd/yyyy instead of dd/MM/yyyy
Prashant Srivastava LKO
5-Dec-11 2:28am
View
I m using sqlserver 2005
Prashant Srivastava LKO
3-Dec-11 0:33am
View
Are u from Lucknow
Prashant Srivastava LKO
1-Dec-11 5:30am
View
Yes sir I solved by myself this line is wrong
DropDownList list = (DropDownList)grdDaily.FindControl("ddlProject");
agai I debug I found the exception and understand its meaning
Prashant Srivastava LKO
25-Nov-11 4:09am
View
Nice answer sir my 5 for u.
Prashant Srivastava LKO
22-Nov-11 12:59pm
View
Thanks Sir nice answer
Prashant Srivastava LKO
22-Nov-11 12:51pm
View
if HTML and javascript will run on server that will make them serverside
Prashant Srivastava LKO
22-Nov-11 4:56am
View
Yes I got it I understand what u would like to say
Prashant Srivastava LKO
22-Nov-11 4:54am
View
Sir, I know HTML but Whenever I tried ,it never changes like uday Sir did
Prashant Srivastava LKO
22-Nov-11 4:45am
View
Thank u Sir
Prashant Srivastava LKO
21-Nov-11 6:49am
View
Sir I tried number of times but won't able to edit code like u did
Prashant Srivastava LKO
21-Nov-11 6:48am
View
Deleted
I tried number but to edit like u did
Prashant Srivastava LKO
21-Nov-11 5:11am
View
Thank u Sir
Prashant Srivastava LKO
21-Nov-11 5:00am
View
Thank u Sir
Prashant Srivastava LKO
18-Nov-11 6:35am
View
Sir Please tell me How u edit this above code I don't know whenever I ask question somebody like you alter my text I don't know how they do it,What is the way to change this
Prashant Srivastava LKO
17-Nov-11 4:50am
View
awesome description my 5
Prashant Srivastava LKO
16-Nov-11 4:41am
View
this is my code in place of urs HTML tag
<asp:Table Width="100%" BorderWidth="0px" CellSpacing="2" ID="tblPartner" runat="server" Border="1"
CellPadding="4" Visible="False">
<asp:TableHeaderRow>
<asp:TableHeaderCell Width="10%" ID="H1" HorizontalAlign="Center" VerticalAlign="Middle"
Text="S.No">
<asp:TableHeaderCell Width="18%" ID="H2" HorizontalAlign="Center" VerticalAlign="Middle"
Text="StartTime<span style='color:red;'>*</span>">
<asp:TableHeaderCell Width="18%" ID="H5" HorizontalAlign="Center" VerticalAlign="Middle"
Text="EndTime<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="H3" HorizontalAlign="Center" VerticalAlign="Middle" Text="Project<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="H4" HorizontalAlign="Center" VerticalAlign="Middle" Text="Module<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="H6" HorizontalAlign="Center" VerticalAlign="Middle" Text="Task<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="H7" HorizontalAlign="Center" VerticalAlign="Middle" Text="WorkType<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="H8" HorizontalAlign="Center" VerticalAlign="Middle" Text="Status<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="H9" HorizontalAlign="Center" VerticalAlign="Middle" Text="Remarks<span style='color:red;'>*</span>">
<asp:TableHeaderCell ID="h66" HorizontalAlign="Center" VerticalAlign="Middle" Text="Remove<span style='color:red;'>*</span>">
<asp:TableRow>
<asp:TableCell ID="tc1" HorizontalAlign="Center" VerticalAlign="Middle" Text="1">
<asp:TableCell ID="tc2" HorizontalAlign="Center" VerticalAlign="Middle">
<asp:TextBox ID="txtStartTime" CssClass="txtbox" Width="60px" onblur="javascript:ComapareTime();" runat="server" MaxLength="150" />
<asp:RequiredFieldValidator ID="RFV_txtStartTime" runat="server" Display="Dynamic" ValidationGroup="AddMore"
ControlToValidate="txtStartTime">
<asp:TableCell ID="tc15" HorizontalAlign="Center" VerticalAlign="Middle">
<asp:TextBox ID="txtEndTime" CssClass="txtbox" Width="60px" onblur="javascript:ComapareTime();" runat="server" MaxLength="150" />
Prashant Srivastava LKO
15-Nov-11 10:33am
View
Yes u r absolutely right but sir When calling this function at button click event of html tag it is not working when I debug the code it was showing that table is null so that it jump to exception
Prashant Srivastava LKO
15-Nov-11 7:23am
View
Hello Anil Sir How u change the text of the codes
Prashant Srivastava LKO
15-Nov-11 1:54am
View
Deleted
Yes he is somewhat right I have to generate dynamic rows using HTML Tag Yes I found the answer in google but when in dropdownlist Postabacking starts all rows removed from and only one row left that I made in the designing part.
Prashant Srivastava LKO
14-Nov-11 3:58am
View
Wife of ram was sita not ship
Prashant Srivastava LKO
14-Nov-11 0:13am
View
Sir,
I would like to take the general view of all developers abt the Enterprise Library As my company is working on this technology my question was to know about that,it is a good working Technology or I should drop this technology,would like to take developers ideas only nothing else
Prashant Srivastava LKO
14-Nov-11 0:06am
View
Ample Answer for my question thanks
Prashant Srivastava LKO
14-Nov-11 0:00am
View
Why u had given a star to this question
Prashant Srivastava LKO
10-Nov-11 14:03pm
View
Sir I m working in .Net coing from the past 4 months 8th months I have submitted myself as Trainee so that these problems are arising thank u for ur kind cooperation abt the validation of images I asked in previous question for this question also.Please take care of me
Thanks sir
Prashant Srivastava LKO
10-Nov-11 13:56pm
View
Thanku sir
Prashant Srivastava LKO
10-Nov-11 0:38am
View
Deleted
To make crystal report first u have to go to the solution explorer select crystal Report option after adding add one dataset where u have to call ur stored procedure to pass paramters firstly when u will see the design u will get some dummy values but when u will generate crytal report in PDF format or excel format u will get ur paramters same as u saved in Backend.
According to MNC Company Standard's
the font used in heading should be 34 use Arial don't go with Verdana or any other font Arial gives best display for hindi title use CDAC fonts only
the subtitle should be 20
if ur passing date the it should be 12
the columns field should be 12 use small letters and Bold every field if it is heading subtitle date of Columns field ..
Prashant Srivastava LKO
9-Nov-11 7:16am
View
Could we Convert datatable into HTML table
Prashant Srivastava LKO
7-Nov-11 1:25am
View
No I have to take the field startTime and EndTime what is the need to take entertime.
Show More