Click here to Skip to main content
Page 1 of 5
Page Size: 10 · 25 · 50


Author filtered by: S. M. Ahasan Habib [x]
Re: My vote of 5 by S. M. Ahasan Habib
Forum Message 13 Apr 2013  
Thanks for your wonderful comments. I will try my best.
My vote of 5 by S. M. Ahasan Habib
My vote of 5 by S. M. Ahasan Habib
Forum Message 1 Apr 2013  
Nice!
Answer 31 Mar 2013   license: CPOL
You can create a powershell script as your requirement and execute it. It will store your sqlserver data to your local or any share location. Just you take a basic idea about powershell if you have not. Then go the following...
Answer 31 Mar 2013   license: CPOL
asp.net grid view render html table. So when you use javascript then you should travase html table. The following code spinet will help you to understand the process.
Answer 30 Mar 2013   license: CPOL
Your insert sql code and data binding code is completely alright. What your problem is Your Event handler code. When you change your State you should handle ddlState (state drop down) selected index change event. You should make sure when State is changed then in the same time your above city...
C#
Answer 29 Mar 2013   license: CPOL
Crystal Report is different application, Your database(sql express) is different application. Crystal report depends on SqlServer for data. When it need data then it goes to sqlserver. Then sqlserver ask authentication that you currently face. Now i hope you understand crystal report actually...
Answer 29 Mar 2013   license: CPOL
For security reason you cannot access client file system from your web application(from browser). Only Internet Explorer can do it with its ActiveX component. Besides that You can access it with Silgerlight/Adobe flash based application which run in a sandbox with browser plugin. What you can do...
Answer 29 Mar 2013   license: CPOL
System.Diagnostics.Process.Sta...
C#
Answer 28 Mar 2013   license: CPOL
I think many ways you can do that.1.You can use 2 Backgroundworker instance for execute 2 different procedure.2. You can use 1 Backgroundworker which will update your progressbar another you can create a thread and run that thread as background thread. That will execute your another...
how to call the code behind function by S. M. Ahasan Habib
Answer 28 Mar 2013   license: CPOL
First you need to take reference of ScriptManager control from your page.If it is already there to your masterpage then no need. Then from your mobilevalidate method you can call server side method CheckDateTime like as...
Connecting to 2 different servers by S. M. Ahasan Habib
Answer 28 Mar 2013   license: CPOL
There are many ways you can communicate 2 web servers.1. You can create webservice from one web application and consume it from others.2. You can create wcf service from one web application and consume it from others.3. You can create asp.net web api from one web application and call and...
Re: My vote of 5 by S. M. Ahasan Habib
How to test an incoming xml file by S. M. Ahasan Habib
Answer 25 Mar 2013   license: CPOL
You can validate your xml data format(schema) by xsd file. If you go through the following article then you an easily understand the way.Simple code to validate an XML file against a schema file (XSD)[^]
Answer 25 Mar 2013   license: CPOL
Accessing UI element from different thread is not possible. Most possibly your code is running under different thread. If so then you can change your code and run it under main (ui) thread. If you need to access it from different thread then simply read the value as you normally do. Only to...
Re: excellent! by S. M. Ahasan Habib
Forum Message 25 Mar 2013  
Thanks for your comment. You comment inspire me :)
Forum Message 25 Mar 2013  
A general statement that is "Nothing can be achieved without cost". The statement can also be applied with IOC container case. IOC container may be decrease some performance and code readability, debu
what are the best books for asp.net? by S. M. Ahasan Habib
Answer 24 Mar 2013   license: CPOL
You can buy and read the following books:1. ASP.NET 4 Unleashed -By Stephen Walther2. Programming Microsoft ASP.NET 3.5 -By Dino Esposito3. Programming ASP.NET 3.5 -By Jesse Liberty
Article 23 Mar 2013   license: CPOL
In this article I demonastrate a very simple and straightforward way to inject controller dependency to ASP.NET MVC framework with constructor.
Answer 19 Mar 2013   license: CPOL
Please read the link. It will solve your problem.http://social.msdn.microsoft.com/Forums/en-US/silverlightweb/thread/85b4b91e-7aa6-4f7b-82ed-8ecf30e9bfef/[^]
Answer 19 Mar 2013   license: CPOL
You can write a windows service or Console Application which will do it for you. The application periodically(you will set the interval) update that table based on your logic. In console application you can run it with the help of Windows Task Scheduler. I prefer Console app(running with...
Answer 19 Mar 2013   license: CPOL
If you need to check a particular aspx file is exists or not in your project/web site then first you have to get the root directory physical file. After that you can check it with Directory object that the file is exists or not. The code example likeprotected void Page_Load(object sender,...
Re: My vote of 4 by S. M. Ahasan Habib
Forum Message 19 Mar 2013  
Thanks for your comments. Yes I will.
Re: My vote of 3 by S. M. Ahasan Habib
Forum Message 19 Mar 2013  
Thanks for your valuable comments. Yes you are correct. English is my second language. But i will try my best to improve my english language skill in future.
@ProductID which was not supplied by S. M. Ahasan Habib
Answer 16 Mar 2013   license: CPOL
you can send storedprocedure parameters various ways. One example likeobjCmd.Parameters.Add(new SqlParameter("@ProductID", 1001));
C#
MVC razor view content refreshing by S. M. Ahasan Habib
Answer 16 Mar 2013   license: CPOL
If requirement is "Portion of the Page refresh" then my suggestion is you can use ajax. Means if you click then you to to server for any operation with asynchronous way and get result from your ajax callback and refresh your page portion with javascript. You can take jquery's help for all ajax...
Impersonation not working in ASP.net by S. M. Ahasan Habib
Answer 16 Mar 2013   license: CPOL
Your impersonated user(register either web.config or other way) has not proper permission in that directory in your production server. You just assign appropriate permissions to that directory to the impersonate user.
Answer 16 Mar 2013   license: CPOL
you can remove empty array. Your code should look like byte[] MainArray = new byte[4096]; byte[] String = Encoding.ASCII.GetBytes("hello world"); Array.Copy(String, 0, MainArray, 0, String.Length); MainArray = MainArray.Where(v => v >...
C#
execute programm in background in c# by S. M. Ahasan Habib
Answer 15 Mar 2013   license: CPOL
Various ways you can do it. 1. You can create a thread and set its property background. Start the thread when you need from your application.2. You can use System.ComponentModel.BackgroundWorker class from your web application. It will take care all your background program running job.3....
Answer 15 Mar 2013   license: CPOL
Yes you did little mistake. Inside your loop for (irows = 0; irows
C#
Please Help Case Between Syntax by S. M. Ahasan Habib
Answer 15 Mar 2013   license: CPOL
From your code i got 3 when child 26(as you expected). Just removed first breakete() from your tsql query insidedeclare @level numeric(18)declare @Child numeric(18)=26set @level=( CASE WHEN @Child
My vote of 5 by S. M. Ahasan Habib
Forum Message 14 Mar 2013  
Nice article!
My vote of 5 by S. M. Ahasan Habib
Answer 14 Mar 2013   license: CPOL
You can connect any sqlserver database from your application and execute that query with ado.net.SELECT name as DatabaseName FROM sys.DatabasesYou will got all database name from that sqlserver.
Re: IOC Container? by S. M. Ahasan Habib
Forum Message 14 Mar 2013  
Thanks for your comment. Yes, you are correct. By the way i go for Windsor as IOC container.
Re: My vote of 5 by S. M. Ahasan Habib
how run 'PageMethods' in asp.net by S. M. Ahasan Habib
Answer 13 Mar 2013   license: CPOL
You just make your webmethod as static.System.Web.Services.WebMethod]public static void Test(){ HttpContext.Current.Session.Abandon();}If not maked it static then PageMethods is undefind error raised from javascript. Except that static, all remaining part is ok.
My vote of 5 by S. M. Ahasan Habib
Forum Message 12 Mar 2013  
Nice one!
Answer 7 Mar 2013   license: CPOL
you handle form submit event from your master page and check your textbox value. If it is empty then return false else return true. Return false means your form will not submit to the server. True means it can process further.$('#yourFormId').submit(function() { return...
Answer 7 Mar 2013   license: CPOL
you need use ajax for that. You can use jquery library for ajax communication. example likefunction getData(){$.ajax({ type: "POST", url: "test.aspx",//you can use any web method as well data: { name: "John", location: "Boston" }//parameters if you want to send...
write/read file in resuorce in DLL by S. M. Ahasan Habib
Answer 7 Mar 2013   license: CPOL
You can read/write resource assembly(dll) on runtime. You can read the thread. Hope it will solve your problem.

Page 1 of 5
1 2 3 4 5


Advertise | Privacy | Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid