15,896,153 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 Sajith Dilhan (Top 29 by date)
Sajith Dilhan
31-Aug-15 7:32am
View
atleast move your cursor and see the original link before putting such comments
Sajith Dilhan
20-Aug-15 0:51am
View
Deleted
seems you dont have any post method for MakePurchase. Change the form action in MakePurchase.cshtml as below and check
@using (Html.BeginForm("Sale","Sale"))
Sajith Dilhan
20-Aug-15 0:43am
View
are those images profile specific ? If it is the case no way to identify the user specific image without login. May be you can use cookies to store some information more specific to user but highly depends on your requirement.
Sajith Dilhan
6-Aug-15 2:46am
View
Here you can find how to pass parameters to SQL from C# code
http://stackoverflow.com/questions/7542517/call-a-stored-procedure-with-parameter-in-c-sharp
Sajith Dilhan
24-Jul-15 7:31am
View
Did you check the database connection ? If it is correct then the problem might be with the speed of the connection.
Sajith Dilhan
22-Jul-15 7:35am
View
If you want to stop the postback when click on the button, then set the button onclientclick="return false;" it will prevent postbacks. But the code you provided will check the page postback. If you prevent the button autopostback then the page will not be postedback and your code will be useless.
Sajith Dilhan
21-Jul-15 7:25am
View
call databind explicitly and check
crpview.Databind();
Sajith Dilhan
21-Jul-15 5:54am
View
I'm not sure this is possible since it's a web application
Sajith Dilhan
9-Apr-15 2:43am
View
did you check for any script errors in the page ?
Sajith Dilhan
2-Apr-15 5:32am
View
open the website in VS and find which page is set as home page
Sajith Dilhan
24-Mar-15 7:14am
View
You are not calling the javascript from your code. When the textbox is set to AutoPostBack = "True" it will always call the TextBox1_TextChanged event.
Try something like this
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged" OnClientClick="function1()">
and
<script>
function function1()
{
document.getElementById("TextBox1").innerText= 'Hi";
}
</script>
Sajith Dilhan
23-Mar-15 4:42am
View
Place the button inside an update panel. Then only the update panel area will refresh
Sajith Dilhan
23-Mar-15 4:34am
View
Do you have the crystal reports runtime installed?
Sajith Dilhan
23-Mar-15 1:32am
View
Please see below links
http://www.aspsnippets.com/Articles/Display-images-from-SQL-Server-Database-in-ASP.Net-GridView-control.aspx
http://www.dotnetfox.com/articles/store-images-to-database-and-bind-to-gridview-in-Asp-Net-1114.aspx
http://codedisplay.com/display-images-in-gridview-from-sql-server-database-table-using-asp-net-c-vb-net/
Sajith Dilhan
23-Mar-15 1:30am
View
Is that matters for this question ? I don't think so.
Sajith Dilhan
4-Mar-15 3:53am
View
Right click on the folder then properties. Under Security tab check the Network Service user is included. If not then add that user.
Sajith Dilhan
4-Mar-15 3:51am
View
then you have to bind the path in page load event dynamically.
get the path into a variable based on the user selection.
then bind to image
<img src="<%=yourpath%>/Images/imgxx.png" />
Sajith Dilhan
4-Mar-15 3:48am
View
did you check the access permissions for that folder ?
Sajith Dilhan
4-Mar-15 3:43am
View
put the path in web config
< configuration>
....
< appsettings>
< add key="ImagePath" value="C:\inetpub\wwwroot\websitename\Uploadimages">
....
< /configuration> ;
then read it from C# code
string path= WebConfigurationManager.AppSettings["ImagePath"]
Sajith Dilhan
4-Mar-15 3:22am
View
<img src="<%=yourpath%>/Images/imgxx.png" />
you can specify the path in web.config file.
Sajith Dilhan
16-Dec-14 4:26am
View
I'm not clear about your exact requirement but, If you are not going to use 3rd party tool, then you have to implement a database driven application for this. store each and every doctors appointments in the database and then you can check the availability of a particular doctor on a particular day.
Sajith Dilhan
16-Dec-14 4:25am
View
Deleted
I'm not clear about your exact requirement but, If you are not going to use 3rd party tool, then you have to implement a database driven application for this. store each and every doctors appointments in the database and then you can check the availability of a particular doctor on a particular day.
Sajith Dilhan
14-Aug-14 13:38pm
View
I think you deployed the aspx page without the dll file. find the 'App_Web_3lhaveiz' in bin folder and deploy that to the server
Sajith Dilhan
24-Sep-13 4:25am
View
Firefox 24
Sajith Dilhan
24-Sep-13 1:40am
View
what do you mean by disorganized? alignments issue or a grouping issue ?
Sajith Dilhan
26-Jul-13 9:01am
View
you can sync data with some tools like Redgate data compare
http://www.red-gate.com/products/sql-development/sql-data-compare/
Sajith Dilhan
4-Jun-13 5:30am
View
//try as below
if(Session["uid"] != null)
{
da = new SqlDataAdapter("select cartid from tbl_addtocart where uid=" + Convert.ToInt32(Session["uid"].ToString()) + " ", con);
ds = new DataSet();
da.Fill(ds, "tbl_tatc");
.................
}
Sajith Dilhan
23-Nov-11 0:47am
View
This is the simplest solution :)
Sajith Dilhan
23-Nov-11 0:42am
View
You can get a backup of your database and using restore database option you can install the database into the client machine
Show More