Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

Sankar Komma

@Sankar Komma
About
Posts
43
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Session physically storing path in server
    S Sankar Komma

    Thank you phil, I agree with you, session can't exist physically could you plz justify more clear session mode inporc - then it will store in web server etc.

    smile :-)

    ASP.NET sysadmin security

  • Session physically storing path in server
    S Sankar Komma

    If session mode is inproc then session values stored in server. I need to see the physical path of the session stored in server for some security resons.

    smile :-)

    ASP.NET sysadmin security

  • How to adjust the height of the dropdownlist in asp.net 1.1 dynamically
    S Sankar Komma

    If we need to increase the height of the dropdown list first set the font size. ex: say 'ddlTest' is the id of the control then ddlTest.Font.size = 20; ddlTest.Height = 600;

    smile :-)

    ASP.NET csharp asp-net tutorial

  • how to prevent the user from closing browser in asp.net
    S Sankar Komma

    follow the steps step1 - In HTML body tag add event onbeforeunload = "CloseX();" step2 - In HTML header tag add the following Script function. function CloseX() { if(event.clientY < 0 && event.clientX > 100) { event.returnValue = "Are you sure to close window?"; } } If you use master page add these two steps to master page only.

    smile :-)

    ASP.NET question csharp asp-net sales tutorial

  • increment of value of a char variable????
    S Sankar Komma

    Try this following function, function GetAscii(c) { var car = c; for(i=0;i<256;i++) { if(String.fromCharCode(i) == car) { if(i == 97) { alert(String.fromCharCode(i+1)); } else { alert(String.fromCharCode(i-1)+','+String.fromCharCode(i+1)); } } } } This fucntion used to get pre and post characters of passing char.

    smile :-)

    ASP.NET question help tutorial

  • AutoRefresh an aspx-page
    S Sankar Komma

    In html header add the following tag then that page will refresh in every 30 seconds.

    smile :-)

    ASP.NET question

  • How to catch page not found error when redirecting
    S Sankar Komma

    Try this if(File.Exitst(Server.MapPath("~/files/test.xls"))) { Redirect to the path; } else { Redirect to Unauthorized page. } Server.MapPath append the specified path to root path. ex: http://server1 say root path then in if contion check for the path 'http://server1/files/text.xls'

    smile :-)

    ASP.NET csharp asp-net sysadmin help tutorial

  • Error : You Should Authenticate first
    S Sankar Komma

    Try with the same code.. System.Net.Mail.MailMessage objEmail = new System.Net.Mail.MailMessage(From, To); objEmail.Subject = "Subject"; objEmail.Body = "Body"; objEmail.IsBodyHtml = true; System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(); client.Host = "smtp.orgname.com"; client.UseDefaultCredentials = false; System.Net.NetworkCredential auth = new System.Net.NetworkCredential(From, "P@ssw0rd"); client.Credentials = auth; client.Send(objEmail); In the above code client.Host = "smtp.example.com" where example is abcd@example.com.

    smile :-)

    ASP.NET tutorial csharp asp-net com help

  • Javascript Error
    S Sankar Komma

    check what name we are geting in 'tbl'. and also check table,tr and td tags properly closed or not. I found that there are no td tags on your table.

    smile :-)

    ASP.NET question javascript html sysadmin help

  • How to access a table in sql2005 database from stored procedure in another database
    S Sankar Komma

    Get the data from one database table to anothter databse select * from databasename.dbo.tablename

    smile :-)

    Database database help tutorial

  • Losing Session in IIS
    S Sankar Komma

    can you provide at what level(i.e line) the error is getting and what error. In c# it is compilation error if we don't cast session dataset.

    smile :-)

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    S Sankar Komma

    I hope casting required when assin session dataset to local object dataset. I just modified your code as follows the second moment, this code is called in detail method, when select a item in listbox1 **************************************** ds = DirectCast(Session("ds"), Dataset) Dim dr() As DataRow = ds.Tables(0).Select("ID = " & listbox1.SelectedValue) txtName.Text = dr(0)("Name") txtDescript.Text = dr(0)("Descript") lblNameSystem.Text = dr(0)("NameSystem") ****************************************

    smile :-)

    ASP.NET help csharp asp-net windows-admin debugging

  • Javascript Problem in ASP.Net
    S Sankar Komma

    Make sure any syntax errors on your javascript function and double check the control client Id's in view source.

    smile :-)

    ASP.NET help csharp javascript asp-net sysadmin

  • current date query
    S Sankar Komma

    If Dat is date time format in your table then use following query SELECT Dat FROM dbo.tblkmreading WHERE convert(varchar,Dat,103) = convert(varchar,GETDATE(),103) If Dat is varchar in your table then use following query SELECT Dat FROM dbo.tblkmreading WHERE convert(varchar,convert(datetime,Dat),103) = convert(varchar,GETDATE(),103)

    smile :-)

    Database database

  • how to add 7 days to my date filter
    S Sankar Komma

    try with following Query select employee_Id from attendance where [date]= dateadd(day,7,'2005-01-10')

    smile :-)

    Database tutorial

  • Createing xml file dynamically
    S Sankar Komma

    Hi I am new to .net :laugh:. In my application I need to create xml file dynamically with 2 nodes. Thanks some

    smile :-)

    ASP.NET csharp xml

  • How do we insert excel file data into database sqlserver 2000
    S Sankar Komma

    Hi All, My problem is when inserting data into database(Perfomance issue) line by line. Is their any tecnic like in a single hit to database can insert all the data atatime and update in database. Thanks, Priya. :)

    Priya

    ASP.NET help database announcement

  • Column name Invisible
    S Sankar Komma

    hi just write gridviewname.columns[index].Visible = false; ex: dvPOSelection.Columns[4].Visible = false;

    k.ravi sankar

    ASP.NET css

  • Database Help [modified]
    S Sankar Komma

    hi, Database is correct use userid for relation more than email id. it is preferable in database.

    k.ravi sankar

    Database help database design question discussion

  • 2 DataBases? Yes, 2 DataBases
    S Sankar Komma

    hi It is possible, just call the tablename like databasename.dbo.tablename

    k.ravi sankar

    Database database question sysadmin announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups