Hi I am using MSCaptcha with my asp.net project using C#. I want to use Captcha control with CacheCategory = Session but it s unable to render image. Please advise FYI: It s working fine with CacheCateogry ="HttpRuntime" . Much Appreciated Yousuf
myousufq
Posts
-
Captcha (CacheCategory = Session) -
Convert SQL to LinqHi All, I have resolved it myself from p in ProjectCategories join b in ProjectCategoryDetails on p.ProjectCategoryID equals b.ProjectCategoryID join c in ProjectContentInfoSamples on b.ProjectID equals c.ProjectID where c.ProjectID == "Pr-09" select new { p.ProjectCategoryName } Many thanks
-
Convert SQL to LinqHi, Can any body convert below sql query into LINQ for me please SELECT ProjectCategory.ProjectCategoryName FROM ProjectCategoryDetails INNER JOIN ProjectCategory ON ProjectCategoryDetails.ProjectCategoryID = ProjectCategory.ProjectCategoryID INNER JOIN ProjectContentInfoSample ON ProjectCategoryDetails.ProjectID = ProjectContentInfoSample.ProjectID WHERE (ProjectCategoryDetails.ProjectID = 'Pr-11') Many Thanks
-
InternetDial please urgentHello there, I need to connect internet via C# using dialup. I can dialup existing dialup connection using wininet API but I wonder some body tell me how can we pass userid,password n dialup number at runtime. It would be appreicated please... Best Regards, Yousuf
-
InternetDial!!!Hello there, I need to connect internet via C# using dialup. I can dialup existing dialup connection using wininet API but I wonder some body tell me how can we pass userid,password n dialup number at runtime. It would be appreicated please... Best Regards, Yousuf
-
recordcount propertyThanks Guffa i got solution
Function RecCount(rsdef) if rsdef.eof then RecCount = 0 else intRows = rsdef.GetRows rsdef.MoveFirst RecCount = UBound(intRows,2) + 1 end if End Function
bye for now -
recordcount propertyHello Guffa thanks for your reply. Yes You are right. I m using MYSQL at live server. so wat a solution for this.. I mean how can i get recordcount when i use MYSQL.. thanks once again
-
recordcount propertyHi there code below is working fine at my local server (PC) but when i m uploading this code to live server then recordcount property return -1... any solutions????
dim rsRandom,sqlRandom set rsRandom = Server.CreateObject("ADODB.Recordset") sqlRandom = "Some query" rsRandom.open sqlRandom,conn,3,3 response.write(rsRandom.recordCount)
thanks in advance -
Crystal Report ErrorI am using PUSH method to view data by crystal report. but i trying to export data in any format (i.e PDF) then i m getting error .. Logon fail i dont know why this is happening .. any suggestion please thanks in advance
-
Crystal Report ErrorI am using PUSH method to view data by crystal report. but i trying to export data in any format (i.e PDF) then i m getting error ..
**Logon fail**
i dont know why this is happening .. any suggestion please thanks in advance -
classic ASPHello Tushar many thanks for your help regards Yousuf
-
classic ASPHi there i write a simple query in MS ACCESS .. query is working fine in Access Query Pane.. but when i m trying to access data from classic ASP code then recordset is return -1 .. i m surprized why?... query is below SELECT question, faqid FROM ALLQUestions WHERE question Like '*hello*' if i use same query without "like" then it s working. i dont know why? thanks in advance
-
web serivce at runtimeI m writing a websevice that will b consume by winforms (C#). evey thing is working fine but i m afraid when I ll give webservice n application to my client that time i can face prb in connectivity with webservice. is ne one tell me how to make it dynamic. like in webforms we can use web.config for dynamic connectivity but in win forms????? many thanks in advance
-
Method hiding!!Hi All! I wrote a abstract class in VB.net and just define 4 methods than I inherit this class to derived class B and also with CLass C. In Class B I Implemented all 4 methods but in Class C I want to use just 2 methods. I know this is possible that just give complete defination of 2 methods that i want to use and leave empty rest of them. When I make an object of Class C and try to access it s methods then it shows all 4 methods, I wana hide it s 2 method, which are not complety define in Class C. any idea??? Thanks
-
3-tier architectureMain reason is to make application Browser independant.
-
3-tier architectureGood day everyone, I am working on a application which will based on the 3-tier architecture. The system concerned to a health insurance marketing purposes. I chose .NET for developing its framework. This framework contains collection of the business objects. Application interface will be developed in the Flash 7.0. The transformation of data through its framework to the interface will do through the web services which will be used as a communication layer between Business Layer (Framework/Buiness Objects) to Presentation Layer (Developed in Flash 7.0). The Backend will be in SQL Server 2000. My questions are: a. I like to hear some comments on the above decided architecture. b. How to make webservices effective in performance? As interface will use them for communication with the Framework (Business Objects) which will do all the retrieving and storing tasks. c. I prefer to use VB.NET language to write code. Please, give an example of writing a business object which should be prior in performance rather than security. Pick User object as an example. d. I did some work on the business objects. I have two classes one is doing all the db work and other holds the business rules. When you initiate its object, the business class, it inform the db class to load the required data in a DataSet object and use it to CUD (create, update and delete) tasks. Is this a acceptable approach to do? I have to be sure before continue with this approach. So, please guide through your help. Thanks for your help, Have a good day.:)
-
Array as parameter in webservice!Hi! could any one tell me. How to take an array as a input parameter in method by web service? I have tried to many time but I got the error about primitive data type. Thanks in advance.:rose:
-
Access Denied or Sql Server doesnt exist.Thanks for ur reply. connection string are workin fine with both windows application and web application, but dont know wats wrong with webservices. Error is occured with web service. thanks
-
Access Denied or Sql Server doesnt exist.Thanks for ur reply. Dear sir. the connection string I m using for makin connection are below. Connection to Remote Server (Server Name=Umar): string strDSN= "Password=umar; Persist Security Info=True;User ID=sa;Initial Catalog=Northwind;Data Source=umar"; Connection String that I made by SERVER ExPLORER is (but it also nt working) string strDSN = "workstation id=YOUSUF;packet size=4096;user id=sa; Password=umar; data source=umar;persist security info=False;initial catalog=Northwind"; please remember all this connection string are working in all applications like C# windows application or C# WEb application but not in Web services, when I try to connect remote database. error occured "Access Denied or SQL Server doesnot exist." THanks
-
Access Denied or Sql Server doesnt exist.Hello there. I build a webservice which get the data from SQLSERVER 2000. When I retrive the data from Local system. it s workin but when I m trying to get data from remote server. it is nt workin and error occured like "Access denied or Sql Server doesnot exist". but when I used same connectionstring or code in windows application it s working for bhot local and remote server,but not workin in webservice when I try to connect a remote server. thanks