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
N

Naik A2Ze

@Naik A2Ze
About
Posts
19
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How To scheduling by using threads in asp.net 2.0
    N Naik A2Ze

    Hi, I am retriving metadata from database . user can schedule the datetime and status(daily ,weekly,monthly,yearly). based on this information scheduling will be started and retriving the metadata by using threads. please help me and send me the code as soon as possible. regards, vijay

    Vijay

    ASP.NET csharp asp-net database help tutorial

  • Urgent
    N Naik A2Ze

    I have developed an asp.net application and i used 'smo' objects to retrive metadata of a database in my application.....it's working fine when i run application... but after preparing setup file and deploying on local server its not retriving metadata...... Please help me to resolve this issue..... Thanks in advance...

    Vijay

    ASP.NET help csharp asp-net database sysadmin

  • how can i upload the file in the server
    N Naik A2Ze

    hi frd...this is code for upload image.....:rose: string sPath; sPath="../Images/Logo.jpg"; if(BuildersLogoFile.PostedFile!=null) { HttpPostedFile photoFile=BuildersLogoFile.PostedFile; int photoLength=photoFile.ContentLength; string fileName=Path.GetFileName(photoFile.FileName); if(photoLength==0) { Label1.Text="There was not any file uploaded"; return; } if(File.Exists(Server.MapPath(sPath+fileName))) { Label1.Text="File already exists"; return; } if(Path.GetExtension(photoFile.FileName).ToLower()!=".jpg") { Label1.Text="The file must have extension of JPG"; return; } byte[] myData=new byte[photoLength]; photoFile.InputStream.Read(myData,0,photoLength); int file_append=0; while (System.IO.File.Exists(Server.MapPath(sPath + fileName))) { file_append++; fileName = System.IO.Path.GetFileNameWithoutExtension(photoFile.FileName) + file_append.ToString() + ".jpg"; } FileStream newFile=new FileStream(Server.MapPath(sPath+fileName),FileMode.Create); newFile.Write(myData,0,myData.Length); newFile.Close(); buildersClass.BuildersLogo=sPath+fileName; }

    Vijay

    ASP.NET sysadmin question

  • .NET
    N Naik A2Ze

    Its..possible...but u can generate code dynamically in asp page...

    Vijay

    ASP.NET csharp java asp-net

  • .NET
    N Naik A2Ze

    Hi Frd:rose: Use This Code... window.onload = function; or

    Naik M

    ASP.NET csharp java asp-net

  • How to Decrypt the Password From SqlServer2005
    N Naik A2Ze

    Hi ..Frd....once try this code...this is decryption..:rose: private string Decrypt(string strText, string sDecrKey) { byte[] byKey; byte[] IV = {18, 52, 86, 120, 144, 171, 205, 239}; byte[] inputByteArray; // inputByteArray.Length = strText.Length; try { byKey = System.Text.Encoding.UTF8.GetBytes(sDecrKey.Substring(0, 8)); DESCryptoServiceProvider des = new DESCryptoServiceProvider(); inputByteArray = Convert.FromBase64String(strText); MemoryStream ms = new MemoryStream(); CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(byKey, IV), CryptoStreamMode.Write); cs.Write(inputByteArray, 0, inputByteArray.Length); cs.FlushFinalBlock(); System.Text.Encoding encoding = System.Text.Encoding.UTF8; return encoding.GetString(ms.ToArray()); } catch (Exception ex) { return ex.Message; } }

    Naik M

    ASP.NET database security tutorial question

  • IIS log File
    N Naik A2Ze

    Its currect.. Go to Controle panel->AdminstratorTools->IIS

    Naik M

    ASP.NET sysadmin windows-admin question

  • onclick event in data grid
    N Naik A2Ze

    hello.... this code 4 dispalying.. SqlConnection sqlConnection = new SqlConnection("server=....;User Id=sa; Password=...;Initial Catalog=....."); SqlDataAdapter sqlDataAdapter = new SqlDataAdapter("select * from emp", sqlConnection); DataSet dataSet = new DataSet(); sqlDataAdapter.Fill(dataSet); GridView1.DataSource = dataSet; GridView1.DataBind(); and u can dispaly in the text box 4 perticular nuber...details... u can wrote with in clivk event......... int id = Convert.ToInt32(GridView1.DataKeys[e.RowIndex].Value); GridViewRow r = GridView1.Rows[e.RowIndex]; TextBox t1, t2; t1 = (TextBox)r.FindControl("TextBox1"); t2 = (TextBox)r.FindControl("TextBox2"); SqlConnection sqlConnection = new SqlConnection("server=....;User Id=sa; Password=...;Initial Catalog=....."); sqlConnection.Open(); cmd.ExecuteNonQuery(); sqlConnection.Close(); GridView1.EditIndex = -1; Bind();

    Naik M

    ASP.NET csharp css asp-net learning

  • What VbCr means in asp.net
    N Naik A2Ze

    Hi In a Word doc, a paragraph mark is vbCR. If however you open a text file (*.txt) into Word the lines are often terminated with vbCRLF and sometimes with vbLF - this is the main use I've found for using one of these instead of vbCR. There is also vbNewLine which is platform-specific. and Should use vbCr, vbNewLine or Chr$(13) instead of Chr(13) as Chr(13) returns a variant.

    Naik M

    ASP.NET csharp asp-net question

  • What VbCr means in asp.net
    N Naik A2Ze

    Hi In a Word doc, a paragraph mark is vbCR. If however you open a text file (*.txt) into Word the lines are often terminated with vbCRLF and sometimes with vbLF - this is the main use I've found for using one of these instead of vbCR. There is also vbNewLine which is platform-specific.

    Naik M

    ASP.NET csharp asp-net question

  • setting cookie value from windows froms
    N Naik A2Ze

    hello frd use the scrpit ..........:rose: <!-- function setCookie(name, value) { document.cookie = name+"="+value; } //--> if (_root.cookieName.length>=1 && _root.cookieValue.length>=1) getURL("javascript:setCookie('"+_root.cookieName+"','"+_root.cookieValue+"')");

    Naik M

    ASP.NET javascript winforms question

  • GridView Paging Problem
    N Naik A2Ze

    protected void cmdSearchAll_Click(object sender, EventArgs e) { gv.PageIndex=e.NewPageIndex; gv.DataBind(); } apply this code...

    Naik M

    ASP.NET business help question

  • Connection to SQL database
    N Naik A2Ze

    Hi, Create Connection Object,And Connect To SQl DataBase. SqlConnection Con=New SQlConnection ("SERVER=SERVERNAME;User Id=sa; Password=...; DataBse=...DBName");

    Naik M

    ASP.NET database sql-server sysadmin help question

  • system idle
    N Naik A2Ze

    BOOL GetLastInputInfo( PLASTINPUTINFO plii ); just go through it. http://msdn2.microsoft.com/en-us/library/ms646302.aspx

    Naik M

    ASP.NET question

  • how to set Maximum Length In Multiline Mode of TextBox
    N Naik A2Ze

    Hi, Check The Text Box Properties . And Set The Property of Text Box .

    Naik M

    ASP.NET sysadmin help tutorial

  • system idle
    N Naik A2Ze

    Hi, First check the timeout property of session, if it exceeds 5mins then call Session.Abondon();

    Naik M

    ASP.NET question

  • system idle
    N Naik A2Ze

    Session.Abondon(); this is used for kiling Session.

    Naik M

    ASP.NET question

  • online shopping
    N Naik A2Ze

    in online shopping.. better one is datagrid. and u can also use datalist

    Naik M

    ASP.NET csharp asp-net help

  • Difference
    N Naik A2Ze

    what is difference between remoting and webservices

    Naik M

    ASP.NET question
  • Login

  • Don't have an account? Register

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