15,891,248 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 Mathew Soji (Top 79 by date)
Mathew Soji
23-Sep-16 5:42am
View
Have a look at the below code samples .
http://csharp.net-informations.com/excel/csharp-excel-oledb-insert.htm
Mathew Soji
23-Sep-16 5:37am
View
1) Make sure the file exist in the path given (D:\\Anwesh\\New Microsoft Excel Worksheet.xls) .
2) Open the file and see whether there exist a tab named "New Microsoft Excel Worksheet" , since you are inserting into this tab .
Mathew Soji
20-Sep-16 9:49am
View
Adding reference to the respective namespace will resolve these errors .
https://msdn.microsoft.com/en-us/library/microsoft.aspnet.signalr.client.hubs.hubconnection(v=vs.111).aspx
Mathew Soji
19-Sep-16 11:38am
View
Thank You , that's right . I just wanted to show a sample code .
Should have used split , anyways its suggested in solution 2 .
Mathew Soji
10-Jul-15 7:11am
View
http://www.nullskull.com/q/10187009/copyclone-of-gridview.aspx
Mathew Soji
10-Jul-15 7:02am
View
Have a look at the below links .
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/eea10286-bdb0-4997-9a13-6162a675e6d7/how-to-create-mvc-6-project-from-visual-studio-2015?forum=visualstudiogeneral
http://www.systenics.com/blog/understanding-visual-studio-2015-aspnet-web-project-changes/?tag=MVC
Mathew Soji
9-Jul-15 12:12pm
View
SessionStateBehavior only tells ASP.NET what locks to put on the Session.
Have a look @
http://stackoverflow.com/questions/12263086/controller-sessionstatebehavior-is-readonly-and-i-can-update-session-variable
Mathew Soji
28-Jun-15 7:35am
View
Have a look on the below links . Might be useful.
http://www.codeproject.com/Articles/53075/How-to-deploy-ASP-NET-Web-Application-on-server
http://forums.asp.net/t/1887824.aspx
Mathew Soji
26-Jun-15 5:58am
View
Did you Google for sample . Anyways please check below one.
http://www.codeproject.com/Articles/20245/WPF-Interactive-Image-Cropping-Control
Mathew Soji
24-Jun-15 12:18pm
View
pls check
http://stackoverflow.com/questions/19491860/could-not-load-file-or-assembly-system-web-http-4-0-0-after-update-from-2012-to
Mathew Soji
22-Jun-15 4:57am
View
Have you tried on some code ? If not please refer below one for sample implementation .
http://www.codeproject.com/Articles/14528/Generate-SQL-INSERT-commands-programmatically
Mathew Soji
22-Jun-15 3:58am
View
Please try downloading the source code from http://www.codeproject.com/Articles/20731/Gantt-Chart in vb6 .
http://www.codeproject.com/KB/miscctrl/Gantt_Chart/Gantt_Chart_0.55.zip
Mathew Soji
22-Jun-15 1:29am
View
Why not create a View model that returns two or more objects and return this View Model back to the controller.Refer below solution .
http://stackoverflow.com/questions/20828237/how-to-return-multiple-model-object-from-one-index-controller-method-in-mvc
Mathew Soji
16-Jun-15 22:03pm
View
Thank you.
Mathew Soji
16-Jun-15 10:27am
View
What is the compilation error you are getting?
Mathew Soji
16-Jun-15 9:43am
View
Google is your friend ....
https://www.google.co.in/#q=asp.net+the+file+has+not+been+pre-compiled+and+cannot+be+requested
Mathew Soji
16-Jun-15 7:58am
View
Deleted
Please refer solution 2 for fix.
Mathew Soji
11-Jun-15 10:10am
View
Your question needs more clarity . Anyways please refer below link which has similar question answered.
http://www.codeproject.com/Questions/700431/json-data-send-and-retrieve-from-using-sql-server
Mathew Soji
9-Jun-15 8:30am
View
Please refer similar thread below.
http://www.codeproject.com/Questions/392263/how-to-calculate-client-browser-window-width
Mathew Soji
9-Jun-15 5:04am
View
Please refer below link which has similar thread.
http://stackoverflow.com/questions/20871938/render-html-file-in-asp-net-mvc-view
Mathew Soji
27-May-15 6:28am
View
Have you tried any code? Seems like you are looking for code sample for which Google is the best try.
https://www.google.co.in/#q=how+to+implement+fifo+in+sql+server
Mathew Soji
27-May-15 6:23am
View
Please edit the question ( use Improve question link) and mention what is the problem you are facing with some code snippet.
For a sample drag and drop implementation please refer below .
http://www.w3schools.com/html/html5_draganddrop.asp
Mathew Soji
27-May-15 2:38am
View
Thank you
Mathew Soji
3-Feb-15 5:50am
View
welcome.
Mathew Soji
28-Jan-15 3:43am
View
Try using SqlBulkCopy Class .
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopy.aspx
Mathew Soji
15-Dec-14 6:58am
View
Please refer below which has a similar Q&A.
http://www.codeproject.com/Questions/619250/how-to-add-textbox-contents-to-datagrid-in-wpf-usi
Mathew Soji
1-Dec-14 21:44pm
View
The above question is incomplete or not clear.
Appreciate if you could take some time in framing questions.
Mathew Soji
1-Dec-14 4:19am
View
Seems Duplicate
http://www.codeproject.com/Questions/844889/Getting-error-during-exporting-webservice-to-mine
Mathew Soji
1-Dec-14 4:07am
View
Check
http://www.codeproject.com/Articles/14122/Passing-Data-Between-Forms
Mathew Soji
1-Dec-14 3:43am
View
Please don't add question/ comments like the above as Solution.
You can use the Improve Question link.
Mathew Soji
28-Nov-14 10:59am
View
Deleted
see solution 1 .
Mathew Soji
28-Nov-14 10:10am
View
Did you check on whether SQL Server Service account has the required permission to write to E drive.
Mathew Soji
27-Nov-14 10:24am
View
Please give more details, not working means what ?
What is the issue you are facing ?
Mathew Soji
27-Nov-14 5:39am
View
try
alert(parseInt($('#txtBox1').val() +
parseInt($('#txtBox2').val() )
Mathew Soji
27-Nov-14 5:16am
View
Please check the below ones.
http://aspsolutionkirit.blogspot.in/2014/01/how-to-get-textboxes-values-created-by.html
http://forums.asp.net/t/1691039.aspx?how+to+set+and+get+value+from+mvc+textbox
http://www.c-sharpcorner.com/Blogs/3716/how-to-set-textbox-value-using-jquery.aspx
Mathew Soji
24-Nov-14 3:14am
View
Hello , You should not add thanks as a solution .
The best place is you can add a comment to the solution 1 itself and accept the solution if satisfied.
Mathew Soji
24-Nov-14 1:48am
View
Thank You Bill.
Mathew Soji
21-Nov-14 5:00am
View
Thank You Bill.
Mathew Soji
21-Nov-14 4:55am
View
Please don't use
BOLD
formatting for entire content when asking questions . It does not sound good here.
Mathew Soji
21-Nov-14 4:54am
View
Deleted
Please don't use
BOLD
format when asking questions . It does not sound good here.
Mathew Soji
21-Nov-14 1:49am
View
Hello, post your code here for better results . People can't assume your code .
Mathew Soji
20-Nov-14 10:29am
View
Thank you Bill.
Mathew Soji
20-Nov-14 7:20am
View
This means column "total_likes" you have specified with the data bound control is not present in the data returned from database . Please debug for details .
Mathew Soji
20-Nov-14 6:26am
View
Deleted
This means column "total_likes" you have specified with the data bound control is not present in the data returned from database . Try joining Count(al.email) as total_likes to the first SQL.
Mathew Soji
17-Nov-14 6:10am
View
You have not assigned connection for the command object.
con.Open();
cmd.Connection = con; //add this line once connection is opened.
SqlDataReader dr = cmd.ExecuteReader();
while( dr.Read())
{
Label1.Text = dr["userid"].ToString();
Label2.Text = dr["FIRSTNAME"].ToString();
}
Mathew Soji
17-Nov-14 5:34am
View
I added a delay and it works in firefox and IE.
function alertevent() {
var value = $("#<%=txtMemoName.ClientID %>").val();
if (value == "") {
$("#<%=txtMemoName.ClientID %>").css('border', '1px solid red');
setTimeout(function () { $("#<%=txtMemoName.ClientID %>").focus(); }, 10);
return false;
}
else {
$("#<%=txtMemoName.ClientID %>").css('border', '1px solid green');
return true;
}
}
Mathew Soji
17-Nov-14 4:55am
View
Deleted
Have you Googled on this issue ?
Please check the below links .
https://www.google.co.in/?gws_rd=ssl#q=JavaScript+critical+error+in+%28unknown+source+location%29\n\nSCRIPT1007:+Expected+%27]%27
Mathew Soji
17-Nov-14 4:51am
View
Hi,
Check the below code , it works .I tested it in IE.When no data is entered in
Collapse | Copy Code
txtMemoName
it holds the focus and border turns red.
Note : This is same as solution 1 and I am just posting code which I tried.
Collapse | Copy Code
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.10.2.js"></script>
<script type="text/javascript">
function alertevent() {
var value = $("#<%=txtMemoName.ClientID %>").val();
if (value == "") {
$("#<%=txtMemoName.ClientID %>").css('border', '1px solid red');
$("#<%=txtMemoName.ClientID %>").focus();
return false;
}
else {
$("#<%=txtMemoName.ClientID %>").css('border', '1px solid green');
return true;
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="txtMemoName" runat="server" Width="200px" onblur="return alertevent();">
<%--test code for focus tracking--%>
<asp:TextBox ID="TextBox1" runat="server" Width="200px">
</div>
</form>
</body>
</html>
Mathew Soji
17-Nov-14 4:50am
View
My +5
Mathew Soji
16-Nov-14 5:22am
View
Thank You.
Mathew Soji
14-Nov-14 5:53am
View
Is there an error that you are getting or nothing?
Did you write code in text box change event where auto post back is set to true ?
Mathew Soji
14-Nov-14 0:18am
View
You can use Visual Studio Express 2013 or the latest Visual Studio Community 2013 for non commercial use.
Please refer below .
http://www.visualstudio.com/news/vs2013-community-vs
http://msdn.microsoft.com/en-us/visual-studio-community-vs.aspx
http://www.hanselman.com/blog/AnnouncingNET2015NETasOpenSourceNETonMacandLinuxandVisualStudioCommunity.aspx
http://weblogs.asp.net/scottgu/announcing-open-source-of-net-core-framework-net-core-distribution-for-linux-osx-and-free-visual-studio-community-edition
Mathew Soji
13-Nov-14 5:25am
View
Then debug your service. Check whether the service is up and running ?
Mathew Soji
13-Nov-14 5:09am
View
Deleted
Please accept and close the question so rthat it no longer appear in the unanswered list. Thanks
Mathew Soji
12-Nov-14 10:41am
View
No ETL is just a tool , you need to do the necessary coding work for an ETL tool to work as per our expectation.
To convert a legacy system/database , first you need to design you new database and define the data . Then you need to map the fields in your old database to the newly defined system. Once this mapping decided you can use any tool to load the data and transform it to the new database fields requirements.
An alternate will be , convert your old data to csv files and use stored procedures to load to the new database . In store procedure itself you need to do the cleaning work to suit the new database design.Finally insert to the newly designed tables.
Mathew Soji
12-Nov-14 10:14am
View
you are welcome.
Mathew Soji
12-Nov-14 10:13am
View
If there is feasibility , may be a SSIS package ( any ETL tool) for exporting to excel and triggering the package from ASP.net export code will help.
Mathew Soji
12-Nov-14 9:57am
View
try
strName =Microsoft.VisualBasic.InputBox("Enter your name:", "Input Test")
Mathew Soji
12-Nov-14 9:34am
View
Just curious , have you googled and did not find any relevant help?
Mathew Soji
12-Nov-14 8:02am
View
ya, good to know if he tried and has any issues.
Mathew Soji
11-Nov-14 4:44am
View
If it helps your purpose , you can give a try.
But not recommended unless there is a justifiable need.
Mathew Soji
11-Nov-14 3:26am
View
Yup , Got it.
Mathew Soji
11-Nov-14 2:00am
View
Did you debug the code ? Check whether the code flow reaches the click event handler?
If code flow reaches click handler ,check what is the value returned by _service.GetAllEmployee();
Mathew Soji
10-Nov-14 7:37am
View
you are welcome
Mathew Soji
10-Nov-14 5:28am
View
To save to database you need to write code . Please refer below link for sample code that writes to a database.
http://www.dotnettutorials.com/tutorials/database/upload-files-sql-database-cs/
http://www.aspdotnet-suresh.com/2013/01/aspnet-download-and-upload-files-to.html
Mathew Soji
31-Oct-14 3:10am
View
Please see similar Q&A below..
http://www.codeproject.com/Questions/724006/How-to-choose-file-location-using-Csharp
Mathew Soji
30-Oct-14 11:04am
View
What I mean by moving is create a separate routine ,something like below .
Then call this routine at the end of save button click.
protected void PopulateTextBoxes()
{
if (TextBoxINST_ID.Text.Trim().Length > 0)
{
SqlConnection con44 = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["HotConnectionString"].ConnectionString);
con44.Open();
SqlCommand scmd44 = new SqlCommand("Select FT_UNDERGR, FT_GRAD, FTE_UNDERG, FTE_GRAD, NON_CREDIT, TOTAL_FTE, FCFTUHC, FCFTPBHC, FCPTUHC, FCPTPBHC, NCHC, UnderG12, Postb9, Total123b4b, THCAS, FTE40, HC50, FTE4050 from Table55 where User_ID = '" + TextBoxUser_ID.Text + "'", con44);
SqlDataReader dr44 = scmd44.ExecuteReader();
if (dr44.Read())
{
TextBox1.Text = dr44["FT_UNDERGR"].ToString();
TextBox2.Text = dr44["FT_GRAD"].ToString();
TextBox3.Text = dr44["FTE_UNDERG"].ToString();
TextBox4.Text = dr44["FTE_GRAD"].ToString();
TextBox4.Text = dr44["NON_CREDIT"].ToString();
TextBox5.Text = dr44["TOTAL_FTE"].ToString();
TextBox6.Text = dr44["FCFTUHC"].ToString();
}
con44.Close();
dr44.Close();
}
}
Mathew Soji
29-Oct-14 6:31am
View
What about disabling the submit button and enable the button only if terms and condition checked.
Mathew Soji
29-Oct-14 6:19am
View
Please see
http://stackoverflow.com/questions/14415177/package-manager-console-not-found
https://github.com/paypal/sdk-core-dotnet/wiki/Using-Nuget-in-Visual-Studio-2010-&-2012
Mathew Soji
29-Oct-14 5:35am
View
You are welcome.
Mathew Soji
29-Oct-14 4:38am
View
Debug and check what is the value passed @ line SqlCmd9.Parameters["@Name"].Value = valami[1].Trim();//Session["username"];
Mathew Soji
28-Oct-14 10:10am
View
Deleted
Please accept and close the question.
Mathew Soji
22-Oct-14 4:21am
View
Create a custom type based on the requirement inheriting text box .
Mathew Soji
21-Oct-14 5:32am
View
Not clear with what you mean by retrieve corresponding 'name' of id in text-box . Please be more clear.
Mathew Soji
17-Oct-14 5:20am
View
Deleted
Please be more specific with the requirement. Here its not clear what your requirement is when you say
" you want to enter less than values only type on textboxB".
Mathew Soji
17-Oct-14 2:27am
View
Hi ,
With the information provided its difficult to suggest something or debug .
Appreciate if you could post code and mentioned exactly where you get the error.
Thanks
Mathew Soji
14-Oct-14 9:55am
View
Please try the above code , It works .
Don't know your system environment , I am using VS2013 targeting .Net 4.5.
Mathew Soji
9-Oct-14 7:52am
View
Please be more specific with the requirement .
Mathew Soji
25-Sep-14 7:53am
View
If you want to disable right click in windows forms application please manipulate the mouse events . In case of web application use java script . For examples please google and I am sure you will get plenty.
Show More