15,896,201 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 OPees (Top 76 by date)
OPees
30-Jan-18 9:43am
View
error persist reference to undeclared entity 'amps'
OPees
30-Jan-18 9:40am
View
reference to undeclared entity 's' and if going to resolve or declare entity
getting such error Name cannot begin with the '&' character, hexadecimal value 0x26
is there any other way without declaring the entity
OPees
30-Jan-18 9:27am
View
no, still trying
OPees
30-Jan-18 5:26am
View
thanks
OPees
30-Jan-18 1:21am
View
is there any way force to write in decimal only
OPees
30-Jan-18 1:08am
View
Understand the point thanks Kornfeld Eliyahu Peter
OPees
14-Sep-16 4:14am
View
please have look,
http://www.c-sharpcorner.com/uploadfile/francissvk/asp-net-how-to-send-sms-from-my-web-application/
OPees
5-Feb-15 4:49am
View
Thanks Tadit your Children idea works... :)
Thanks All of you..
OPees
4-Feb-15 3:49am
View
i m not able to get list inside Position1 ,position2 and Position2
like in 1st one name,title,quest and in 2nd one other, unknown, space
OPees
4-Feb-15 3:40am
View
updated... Please have look....
OPees
29-Mar-14 7:10am
View
Thank you :)
OPees
29-Mar-14 7:10am
View
Thank you :)
OPees
21-Mar-14 6:42am
View
5+ :)
OPees
12-Mar-14 8:34am
View
Question not clear can you put you code..!!
OPees
12-Mar-14 8:32am
View
then you compare date part and time part separate..
may be these two links can help you..
http://stackoverflow.com/questions/807909/how-can-i-compare-time-in-sql-server
http://stackoverflow.com/questions/7710449/how-to-get-time-from-datetime-format-in-sql
OPees
12-Mar-14 6:14am
View
try this
convert(date,cc.[creationDate],103) >= convert(date,@min,103) AND
convert(date,cc.[creationDate],103) <= convert(date,@max,103)
OPees
6-Mar-14 5:26am
View
first bind your ddl with datasource.
ddl.DataSource = ds;
ddl.DataTextField = "CityName";
ddl.DataValueField = "CityID";
ddl.DataBind();
ddl.Items.Insert(0, new ListItem("--Select City--", "0"));
then do this
DDL.ClearSelection();
DDL.Items.FindByValue("Cityid").Selected = true;
or
DDL.Items.FindByTExt("CityName").Selected = true;
OPees
6-Mar-14 5:11am
View
:) Welcome
OPees
6-Mar-14 5:03am
View
first bind the dropdown before selection.
then do this
DDL.ClearSelection();
DDL.Items.FindByValue("Cityid").Selected = true;
or
DDL.Items.FindByTExt("CityName").Selected = true;
OPees
6-Mar-14 0:39am
View
:) Welcome
OPees
6-Mar-14 0:16am
View
question not clear?
OPees
2-Mar-14 23:20pm
View
use placeholder.
OPees
19-Feb-14 22:59pm
View
:) Welcome..!!
OPees
18-Feb-14 23:55pm
View
means?
OPees
17-Feb-14 5:26am
View
Right SP :)
OPees
17-Feb-14 0:21am
View
what error?
OPees
14-Feb-14 6:50am
View
for generating serial no automatic in grid use this
Text='<%# (GridView1.PageSize * GridView1.PageIndex) + Container.DisplayIndex + 1 %>'>
OPees
14-Feb-14 6:41am
View
means What is going inside db? blank or some value? what about other columns ?
and How you r generating Serial no.?
OPees
14-Feb-14 5:31am
View
refer here
http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html
OPees
14-Feb-14 5:25am
View
sorry I m not getting you? is your SerialNo field is coming from DB?
if Yes have you tried '<%# Eval("SerialNo") %>'>?
OPees
14-Feb-14 4:14am
View
means which field you are not able to bind?
OPees
13-Feb-14 7:04am
View
:) Thanks
Happy Coding..!!
OPees
13-Feb-14 6:53am
View
+5 :)
Happy coding
OPees
13-Feb-14 6:47am
View
+5 :)
Happy coding
OPees
13-Feb-14 6:37am
View
Thank you Tadit :)
Keep smiling :)
OPees
13-Feb-14 3:35am
View
:(
OPees
13-Feb-14 2:13am
View
Thanks Tadit,
i have already tried the first link but no luck...
Even if we are following this then we can not ask each and every client to do so..!!
so Is there other way to do from our application only?
OPees
12-Feb-14 6:32am
View
use div tag with min height and width
OPees
12-Feb-14 4:28am
View
Welcome :)
OPees
11-Feb-14 7:00am
View
if you want to update on regular interval then use update panel with timer control
see this link: http://msdn.microsoft.com/en-us/library/cc295400.aspx
OPees
11-Feb-14 6:55am
View
have a look SignalR and Sql Dependency
http://techbrij.com/database-change-notifications-asp-net-signalr-sqldependency
OPees
11-Feb-14 3:22am
View
see the link
http://www.codeproject.com/Questions/448466/Input-string-was-not-in-a-correct-format-Convert-T
OPees
11-Feb-14 3:18am
View
use Double.TryParse
OPees
11-Feb-14 2:17am
View
:)
OPees
11-Feb-14 0:52am
View
:)
OPees
10-Feb-14 5:49am
View
yes just comment 1st insert statement
OPees
29-Jan-14 6:23am
View
Means?
OPees
4-Sep-13 5:21am
View
can you put your code here?
OPees
4-Sep-13 4:58am
View
can check @Email Data-Type in SP as well as in c# too.
what is error?
OPees
22-Aug-13 3:17am
View
try here May be this will help you:
http://social.msdn.microsoft.com/Forums/en-US/44430e5a-631b-4156-9e4c-b1fc1e4a260a/systemdatasqlclientsqlexception-timeout-expiredissue
OPees
12-Aug-13 7:58am
View
Thanks..!! let me try.. i think it will work for me...!!
OPees
12-Aug-13 7:44am
View
Yes, How can i achieve horizontally??
OPees
8-Aug-13 8:53am
View
Thanks Sumit, for your suggestion , I tried to approach with Gridview already but for each level i have to bind the child grid that is the main problem..
OPees
8-Aug-13 1:24am
View
Still i m not getting how to go about it.
trying with Creating dynamic controls but not succeed yet.
OPees
8-Aug-13 1:19am
View
Example : Suppose I have a activity A1 which is connected to various department.
May be A1 can Contain's more than one child like A1.1, A1.2...... A1.N,
all Activity have the Same field Either in child or parent.
OPees
7-Aug-13 5:37am
View
use .Contains Method of string...
OPees
25-Jul-13 23:48pm
View
OK, When session Expires then?
OPees
25-Jul-13 7:23am
View
have you read all the comments?
OPees
25-Jul-13 7:19am
View
What is datatype of bookin.checkindate and booking.checkoutdate in table?
if its not datetime use convert method like convert(datatime,bookin.checkindate,103)
then compare
// Here 103 datetime format like 25/07/2013
OPees
25-Jul-13 7:09am
View
When i login Session Get created... and works...!! on logout button i m using Session.Abandon() to clear all the values. i put my session timeout: 360.
but when my session is Expires that time its by default goes to login.aspx
i want when session expires for usertype A and B it should go on login.aspx.
for usertype C it should go to loginC.aspx....
OPees
25-Jul-13 6:31am
View
but my problem is how to detect user type when session is null.
OPees
18-Apr-13 2:18am
View
can you brief it more? what are in PSettingId?
OPees
19-Mar-13 7:39am
View
Hi Ryan,
i am using google Pie chart in my application like this
https://google-developers.appspot.com/chart/interactive/docs/gallery/piechart
initially i put a ready made chart using google api in the .html file in my application, on run time i change the data,
then append the html file code in the string builder and i tried send it as email but its not visible. same code i copy and paste save in the html file and see this in browser it was working but in the email body its not.
OPees
6-Mar-13 5:27am
View
please check your datasource! missing from you code!
OPees
5-Mar-13 5:49am
View
may be this will help you:
http://www.aspdotnet-suresh.com/2011/04/how-to-export-gridview-data-to-pdf.html
OPees
4-Mar-13 23:12pm
View
Yes, Try this.
dtUniqRecords(DataTable) is returned from the fuction GetDistinctRecords(Which return type is DataTable)
which is assign to dtDistinct(DataTable)
OPees
12-Feb-13 0:21am
View
Hi Jaison Joe,
No, you cant view the full staff details, if you are passing only id in the session.
i suggest you pass whole datatable/dataset in session which you bind for gridview as data source and id on query string, on the next page you can filter your datatable/dataset based on id(which is in query string)
OPees
11-Feb-13 3:21am
View
Hello Mahesh,
i got this Error
The remote certificate is invalid according to the validation procedure
OPees
3-Feb-13 23:05pm
View
Thanks Mahesh...!!
OPees
30-Jan-13 22:51pm
View
Thanks ryan,
I ask Network admin but he is saying some other site mail configuration are working with same setting.!!i change my codes still there is same problem..
OPees
18-Jan-13 0:28am
View
my Grid is like this
<asp:GridView ID="gvDepartment" runat="server" AutoGenerateColumns="False" BorderColor="Transparent"
Width="100%" BorderWidth="0px" BorderStyle="None" DataKeyNames="Dept_ID" OnRowDataBound="OnRowDataBound" Height="266px" onrowcommand="gvDepartment_RowCommand1" >
<columns>
<asp:TemplateField ControlStyle-BorderStyle="None" ControlStyle-Width="5%">
<itemtemplate>
<img id="imagepnlid-<%# Eval("Dept_ID") %>" alt="Click to show/hide Department" border="0"
src="../plus.png" />
<%--<controlstyle borderstyle="None">--%><controlstyle borderstyle="None"
="" width="5%">
<asp:BoundField ItemStyle-Width="" DataField="DepartmentName" HeaderText="Department"
ControlStyle-Width="95%">
<controlstyle width="95%">
<asp:TemplateField>
<itemtemplate>
<tr>
<td colspan="100%">
<div id="pnlid-<%# Eval("Dept_ID") %>" style="display: none; position: relative; left: 25px;">
<asp:GridView ID="gvRunning" runat="server" AutoGenerateColumns="false" CssClass="ChildGrid" OnRowDataBound="OnRowDataBound1" onrowcommand="gvDepartment_RowCommand" >
<columns>
<asp:TemplateField HeaderText="Task ID">
<itemtemplate>
<asp:LinkButton ID="requestID3" runat="server" CommandName="COUNT_REQUEST_ID" CommandArgument="gvRuning" OnClick="requestID3_Click"
Text='<%# Eval("Task_ID")%>'>
<asp1:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="requestID3"
CancelControlID="btnClose" BackgroundCssClass="modalBackground">
<asp:BoundField DataField="Task_Name" HeaderText="Task Name" SortExpression="Task_Name" />
<asp:BoundField DataField="Discription" HeaderText="Description" SortExpression="Discription" />
<asp:BoundField DataField="Star_Date" HeaderText="Start Date" SortExpression="Star_Date" />
<asp:BoundField DataField="End_Date" HeaderText="End Date" SortExpression="End_Date" />
<asp:BoundField DataField="Delay_Date" HeaderText="Delay Date" SortExpression="Delay_Date" />
</div>
</td>
</tr>
<controlstyle borderstyle="None" width="0%">
OPees
18-Jan-13 0:23am
View
Deleted
<asp:GridView ID="gvDepartment" runat="server" AutoGenerateColumns="False" BorderColor="Transparent"
Width="100%" BorderWidth="0px" BorderStyle="None" DataKeyNames="Dept_ID" OnRowDataBound="OnRowDataBound" Height="266px" onrowcommand="gvDepartment_RowCommand1" >
<columns>
<asp:TemplateField ControlStyle-BorderStyle="None" ControlStyle-Width="5%">
<itemtemplate>
<img id="imagepnlid-<%# Eval("Dept_ID") %>" alt="Click to show/hide Department" border="0"
src="../plus.png" />
<%--<controlstyle borderstyle="None">--%><controlstyle borderstyle="None"
="" width="5%">
<asp:BoundField ItemStyle-Width="" DataField="DepartmentName" HeaderText="Department"
ControlStyle-Width="95%">
<controlstyle width="95%">
<asp:TemplateField>
<itemtemplate>
<tr>
<td colspan="100%">
<div id="pnlid-<%# Eval("Dept_ID") %>" style="display: none; position: relative; left: 25px;">
<asp:GridView ID="gvRunning" runat="server" AutoGenerateColumns="false" CssClass="ChildGrid" OnRowDataBound="OnRowDataBound1" onrowcommand="gvDepartment_RowCommand" >
<columns>
<asp:TemplateField HeaderText="Task ID">
<itemtemplate>
<asp:LinkButton ID="requestID3" runat="server" CommandName="COUNT_REQUEST_ID" CommandArgument="gvRuning" OnClick="requestID3_Click"
Text='<%# Eval("Task_ID")%>'>
<asp1:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="requestID3"
CancelControlID="btnClose" BackgroundCssClass="modalBackground">
<asp:BoundField DataField="Task_Name" HeaderText="Task Name" SortExpression="Task_Name" />
<asp:BoundField DataField="Discription" HeaderText="Description" SortExpression="Discription" />
<asp:BoundField DataField="Star_Date" HeaderText="Start Date" SortExpression="Star_Date" />
<asp:BoundField DataField="End_Date" HeaderText="End Date" SortExpression="End_Date" />
<asp:BoundField DataField="Delay_Date" HeaderText="Delay Date" SortExpression="Delay_Date" />
</div>
</td>
</tr>
<controlstyle borderstyle="None" width="0%">
OPees
17-Jan-13 13:39pm
View
Thanks in advance..!!
OPees
5-May-11 2:07am
View
Ok..
Thanks Again....
OPees
4-May-11 7:17am
View
Hi BobJanova....
Thanks...
I am new in GIS Domain, Can you elloborate it More.....
OPees
28-Apr-11 2:24am
View
Hi Nagy Vilmos,
Thanks for quick reply, image conversion we can do like this but i want to retain spatial inforamation which is not possible through this.
Show More