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
B

Billah

@Billah
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Open Notepad from Web Browser in ASP.NET [C#]
    B Billah

    How can I open (popup... not on browser) notepad from browser. Now it is open in Browser. JUST LIKE: Windows Platform where we use System.Diagnostics.Process.Start(@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt");OR System.Diagnostics.Process.Start("notepad.exe",@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt"); If I start a process from ASP.NET using System.Diagonistics.Process.Start method. It start in the background (we can see it in task manager), but I can't see it on the browser. private void Page_Load(object sender, System.EventArgs e) { System.Diagnostics.Process.Start("Notepad.exe"); } IIS Admin Service runs as a local system So, how can I see the notepad which runs at background? OR How can I open Popup Notepad from Browser which can be editable? Thank you BILLAH

    ASP.NET csharp question css asp-net windows-admin

  • Open Notepad from Web Browser in ASP.NET
    B Billah

    Dear Colin Angus Mackay, Thank you for your reply. I want a popup notepad which will retrieve data from database. Now it will display in IE. If possible, please Send me a project which display a popup notepad with data or without data where user can edit text and save it in Hard Drive. Thankyou BILLAH

    C# question csharp css asp-net database

  • how to get password textbox in asp.net
    B Billah

    I think this is the code, what will help u. Thank you BILLAH

    C# csharp asp-net help tutorial

  • insert image to Sql Data base
    B Billah

    i think following code will help u: 1st Step: Take pic. box 2nd Step: Take a Button and Text box to take the image, which u want to save into Database

    buff = new byte [ f.Length ] ; f.Read ( buff, 0, ( int ) f.Length ) ; MemoryStream ms= new MemoryStream(buff,0,buff.Length); Image i = Image.FromStream ( ms ) ; img.Image = i ; f.Close(); } catch(Exception ee) { MessageBox.Show("An error has occured.\n" + ee.Message); } } }
    3rd Step: Create table where take one field which will image type CREATE TABLE [dbo].[tableName] ([img_name] [image] NULL ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] GO
    buff = new byte [ st.Length ] ; st.Read ( buff, 0, ( int ) st.Length ) ; try { using(SqlConnection conn = new SqlConnection()) { conn.ConnectionString = dbcon; conn.Open(); SqlCommand cmd = new SqlCommand(); cmd.Connection = conn; cmd.CommandText = "insert into tableName(imageName) values(@pict)"; cmd.Connection = conn; cmd.CommandType = CommandType.Text; cmd.Parameters.Add("@pict",buff); cmd.ExecuteNonQuery(); } } catch(SqlException sqle) { Console.WriteLine(sqle.Message); } st.Close(); } private void linklblShowPicture_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) { try { using(SqlConnection conn = new SqlConnection()) { conn.ConnectionString = dbcon; conn.Open(); SqlCommand cmd = new SqlCommand(); cmd.Connection = conn; cmd.CommandText = "select imageName from tableName where .... "; \\here u can use track id in datatabel to select, update or delete image cmd.Connection = conn; cmd.CommandType = CommandType.Text; SqlDataReader r = cmd.ExecuteReader(); if(r.R

    C# database help

  • Open Notepad from Web Browser in ASP.NET
    B Billah

    How can I open (popup... not in browser) notepad from browser. For example: I have some .txt file in my database. I want to open it from browser, where user can edit the .txt file and at this time database will be update internally. OR I have some file which I want to open in notepad from browser, it will be display on popup. JUST LIKE: Windows Platform where we use System.Diagnostics.Process.Start(@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt");OR System.Diagnostics.Process.Start("notepad.exe",@"C:\Documents and Settings\Billah\My Documents\Data Grid.txt"); :confused: If I start a process from ASP.NET using System.Diagonistics.Process.Start method. It start in the background (we can see it in task manager), but I can't see it on the browser. private void Page_Load(object sender, System.EventArgs e) { System.Diagnostics.Process.Start("Notepad.exe"); } IIS Admin Service runs as a local system So, how can I see the notepad which runs at background? Thank you BILLAH -- modified at 4:49 Sunday 28th May, 2006

    C# question csharp css asp-net database
  • Login

  • Don't have an account? Register

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