pr.nimbalkar
Members-
Posts
54 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by pr.nimbalkar
-
Hi, Can anybody explain me with practical example when to go for “Abstract” class and when for “Interface”?
-
We r doing this through CR 11 IDE.
-
Hi Firends, I hv to show the images(i.e pictures) in crystal report 11. But problem is that it show in different dimension.How to set this images to fixed sized, so it looks good.Regards,Prashant...
-
HI FRIENDS, HOW TO RESIZE IMAGE IN ASP.NET?REGARDS,PRASHANT...................
-
Hi Friends, I hv to download the images using VB6. May u help me, plz?Regards,Prashant.........
-
Thanks , it works.
-
Hi Friends, I am working on login page with MSSQL in back end. I have to maintain case sensitivity in both User Name & password.How do i that with MSSQL? May u help me.Regards,Prashant.......
-
Dear Friends, I write this code to set cookie. it works fine in IE , but not works in Mozilla. May u help me?This is my code.Imports System.DataImports System.Security.CryptographyImports System.Web.SecurityImports System.Data.SqlClientImports System.Web.SessionStatePartial Class _Default Inherits System.Web.UI.Page Dim myCookie As New HttpCookie("TestCookie") Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Request.Cookies("TestCookie") Is Nothing Then txtLogin.Text = Request.Cookies("TestCookie")("LoginName") End If End Sub Private Function Encrypt(ByVal val) Return FormsAuthentication.HashPasswordForStoringInConfigFile(val, "MD5") End Function Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click If Me.checkLogin(txtLogin.Text, Encrypt(txtPass.Text)) > 0 Then Response.Cookies.Clear() myCookie.Values.Add("LoginName", txtLogin.Text) myCookie.Expires = Now.Date.AddDays(1) Response.Cookies.Add(myCookie) End If End Sub Private Function checkLogin(ByVal login, ByVal password) As Integer Dim sqlParam As New SqlParameter Dim count As Integer With sqlParam .DbType = Data.DbType.Int32 .Direction = Data.ParameterDirection.Output .ParameterName = "@Count" End With SqlHelper.ExecuteScalar(Tools.GetConnectString, CommandType.StoredProcedure, "up_CheckLogin", New SqlParameter("@Login", login), New SqlParameter("@Pass", password), sqlParam) count = Convert.ToInt32(sqlParam.Value) Return count End FunctionEnd Class
-
Hi , this is my codeIf (objResources.CheckProjectResourcesExists() > 0) Then Response.Write("<script>alert('This record is already exist.'); "</script>") Else objResources.Save() End If
-
Hi Friends, I face one problem. I am alerting a message(Javascript Alert) while there is duplicate entry. But when i click on 'ok' of javascript alert , my title's font-size changes , it becomes more than previous one. Why do this happen? May u help me.Regards,Prashant
-
Hi friends, i hv to apply different colors to the character witin the same textbox. Like if i put '123456' in the textbox , '12' should be in 'Green','34' should be in 'red','56' should be in 'yellow'. Can this sholud be happened? If yes, please suggest.Awaiting....Regards.Prashant
-
Dear Friends, if i use '#' in QueryString , why does it terminate parameter of QueryString after '#'?Like add.aspx?user=xyz&password=1254#12&mob=98541523. Then it terminate value & parameter after '#'.Why does it happen?MAy u help me?Regards,Prashant N
-
Hi friends, i hv 2 textboxes of login & password & submit button. when i put password in textbox & press 'enter' key , the form is not submitted in the mozilla. How do i fix this bug? I used this script :onkeyup event of password textboxfunction setFoc(obj){ var keyValue = obj.keyCode; if(keyValue == 13){ document.getElementById("butLogin").focus(); //document.getElementById("butLogin").click(); // document.form1.submit(); return true; }}
-
Hi friends, function changeVal(obj,val){ var i = val.indexOf("."); var l = val.substring(i,val.length); if(l.length > 2) { alert("There should be only one numeric value after the decimal point"); setTimeout('obj.focus();',1); return false; } }This script gives an error 'obj' not defined.How to fix this bug?
-
Why does 'focus' function of javascript cann't work in Mozilla firefox?
-
For uploading u have to set the proper path.
-
You may use javascript for navigation like:window.location = "example.php"; or self.location = "example.php";got?
-
I am trying to bulid the API for creating new email account in Plesk(Windows 7.6.1). I write this script :<packet version="1.4.1.1"> <mail> <create> <filter> <domain_id>35</domain_id> <mailname> <name>prashant</name> <password>password</password> </mailname> </filter> </create> </mail></packet>But it gives an error :<?xml version="1.0" ?> - <packet version="1.4.1.1">- <mail>- <create>- <result> <status>error</status> <errcode>1017</errcode> <errtext>operator mail is not supported</errtext> </result> </create> </mail> </packet>Can any one help me for fixing this error?
-
hi , i am web developer using php. i want to build web services using SOAP in php.how shd i proceed? Can any one help me?Awaiting.....Prash..
-
You hv to use 'AJAX' for that , read abt AJAX , it will solve ur problem . I hv used AJAX for Drop down
-
Hi , I am Prashant, hv u ever use AJAX?If yes , may u help me how to integrate AJAX in .net?Awaiting..Prashant..
-
Can any one help me , how to checked & unchecked single radio button?Awaiting..... Prashant...
-
Hello , you are not executed the Sql command , that's why u are not getting value in Combo.Regards,Prashant...
-
Hello Siddhesh, Plz see the 'cause validation' property of the 'Search' button. I think , it may false.If yes, make it true ; ur validation will fire.Cheers..Prashant..
-
What is difference between User control & Custom control? If any one knows, kindly tell me.