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
M

Muhammad Waqas Butt

@Muhammad Waqas Butt
About
Posts
141
Topics
76
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • QUESTION Related PHP + OSCOMMERCE
    M Muhammad Waqas Butt

    Hi, Please help me, i want to display stock status on the main page (New Product section) with price condition. I have two conditions 1- if QTY is ==0 than display [b]"Out of Stock"[/b] and if QTY>0 than display [b]"In Stock"[/b] 2- if Price is ==0 than display [b] "Call 4 Price" and if price is >0 than display [b]"Product Price"[/b]. Now I have writing a code, which is not working properly can anybody help out. here is my code: if($new_products['products_quantity'] == 0)// or $product_info['products_quantity'] = 0) { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '[' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '](' . tep_href_link\(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']\) . ') [' . $new_products['products_name'] . '](' . tep_href_link\(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']\) . ') **'.TEXT_PRODCUT_OUT_OF_STOCK.'('. $new_products['products_quantity'].')** ' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))); } else if($new_products['products_price'] == 0)// or $product_info['products_quantity'] = 0) { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '[' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '](' . tep_href_link\(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']\) . ') [' . $new_products['products_name'] . '](' . tep_href_link\(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']\) . ') **'. TEXT_PRODUCT_IN_STOCK.'('.$new_products['products_quantity'].')** '.TEXT_CALL_FOR_PRICE);//TEXT_PRODCUT_OUT_OF_STOCK } else { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '[' . tep_im](' . tep_href_link\(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']\) . ')****

    Web Development php data-structures help question

  • Newsletter
    M Muhammad Waqas Butt

    Hi, Can anybody tell me how i send html base newsletter to my customer? Can anybody tell any good software (Which embed images in email). Now I have a problem, when i send newsletter to my customer in yahoo its display three times and sometime it layout disordered. any solution.

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    Web Development html com sales help question

  • Authentication ?
    M Muhammad Waqas Butt

    what is the need for Code and database table structure? Could you please be more specific? Thanks for your help. I wanted to know where and how i should define roles in db or code or both?

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET database csharp asp-net sql-server com

  • Authentication ?
    M Muhammad Waqas Butt

    Hi J O N, Thanks for your help i did the same think but when i login through admin user name it give ReturnUrl=Admin Directory path in addressbar, other users account working properly. now can you tell me what code should be there and database table structure. Please help me

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET database csharp asp-net sql-server com

  • Authentication ?
    M Muhammad Waqas Butt

    Hi, I'm developing a testing web and want to run it on my local intranet. I've used asp.net 1.1 and sql server database 2000, now problem is that i have a directory named as "Admin" in which i've all the admin pages. I want that no other user can access this directory pages except Admin. Can anybody tell how and should i do in asp.net and sql server?

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET database csharp asp-net sql-server com

  • Dropdown SelectedIndex
    M Muhammad Waqas Butt

    Hi, first of all, sorry for confusion. I have find the solution. Thx. Now can you tell me how i hide/show Submit(asp control not html control) button through javascript. I have tried this code but it gave me a error: document.Form1.btnsubmit.style.visibility = 'hidden'; Error: document.Form1.btnsubmit.style. is null or not a object. But i have tried the same code of textbox(asp control) it working. Any help?

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET com question

  • Dropdown SelectedIndex
    M Muhammad Waqas Butt

    Hi, I have a dropdown which shows products name(DataText) and product code(Datavalue). Now i wanted to select first value and its value in textbox on page load?

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET com question

  • bind dates in datagrid in mm/dd/yyyy format..........,
    M Muhammad Waqas Butt

    How to change Datagrid Header Text through programming in C#.net. and how to set colunm width and height. How to format date in datagrid column. I'm using MS Access 2003 and i database date save in this format(7/11/2007) and I want to highlight row where cell fee value = 0;

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET wpf wcf tutorial

  • adjusting the row height in datagrid asp.net 2003...
    M Muhammad Waqas Butt

    How to change Datagrid Header Text through programming in C#.net. and how to set colunm width and height. How to format date in datagrid column. and I want to highlight row where cell fee value = 0;

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET help csharp asp-net tutorial question

  • Datagrid Colunm Header
    M Muhammad Waqas Butt

    How to change Datagrid Header Text through programming in C#.net. and how to set colunm width and height. How to format date in datagrid column. and I want to highlight row where cell fee value = 0;

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET csharp com tutorial

  • ASP.Net?
    M Muhammad Waqas Butt

    Well, thanks and sorry. Actually I didn't understand what happend to me. I want to load data in comobox from Database and than get the selecteditem id. example ===================================== Department Header //display member : Student fee Department Id // value member Id: 4 ==================================== and on selectedindex_change function i want to get department id, while page refresh. I have successfulyy fill the comobox but when i change value in comobox first time it give the department id while page reload, but after that page got an error (Invaild syntax) and page stop working, comobox stop working. Please help in this. Thanks and my best regards,

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    Web Development help csharp javascript asp-net com

  • ASP.Net?
    M Muhammad Waqas Butt

    I've a comobbox and i'm fill this comobbox like this: =========================================================================================== oleDbDataAdapter1.Fill(dataSet31); dpdhead.DataSource = dataSet31.Tables[0].DefaultView; dpdhead.DataTextField = dataSet31.tbacdes.ac_headColumn.ToString();//Display Heads dpdhead.DataValueField = dataSet31.tbacdes.ac_idColumn.ToString();// Heads Ids dpdhead.DataBind(); =========================================================================================== and than i want to get Comobbox select item head id. But when i select the comobbox value page refresh, first time it return head id but when i again select a value i got an javascript error like this: ==================================== Error: Invaild Syntax Code: 0 ==================================== And comobox stop working. and page doesn't work. Please help me out in this matter (Urgent)

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    Web Development help csharp javascript asp-net com

  • ASP.Net?
    M Muhammad Waqas Butt

    I've a comobbox and i'm fill this comobbox like this: =========================================================================================== oleDbDataAdapter1.Fill(dataSet31); dpdhead.DataSource = dataSet31.Tables[0].DefaultView; dpdhead.DataTextField = dataSet31.tbacdes.ac_headColumn.ToString();//Display Heads dpdhead.DataValueField = dataSet31.tbacdes.ac_idColumn.ToString();// Heads Ids dpdhead.DataBind(); =========================================================================================== and than i want to get Comobbox select item head id. But when i select the comobbox value page refresh, first time it return head id but when i again select a value i got an javascript error like this: ==================================== Error: Invaild Syntax Code: 0 ==================================== And comobox stop working. and page doesn't work. Please help me out in this matter (Urgent)

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET help csharp javascript asp-net com

  • C#.Net ASP (Urgent)
    M Muhammad Waqas Butt

    Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    C# csharp asp-net com help tutorial

  • C#.Net ASP (Urgent)
    M Muhammad Waqas Butt

    Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET csharp asp-net com help tutorial

  • Access and ASP.Net
    M Muhammad Waqas Butt

    Here is a code: try { string cmdstr="SELECT * FROM tablename where dp_head='"+ dpdhead.SelectedValue +"'"; con=new OleDbConnection(cons); cmd=new OleDbCommand(cmdstr,con); con.Open(); OleDbDataReader dr = cmd.ExecuteReader(); bool chkrec = dr.Read(); if(chkrec == true) { string dasv = dr.GetInt32(0).ToString(); txtacno.Text = dasv; } // Output '/LM/w3svc/1/root/expdemo-5-128280938191702288': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\expdemo\280c9982\bd477ac7\gottf48d.dll', Symbols loaded. // Now

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET help csharp javascript asp-net database

  • Access and ASP.Net
    M Muhammad Waqas Butt

    Hi, I'm using MS Access 2003 database with c#.net 2003. Now I've a comobo, in which department name are shown and onchangeindex i use to get department code, show i textbox. Now the problem is this when i add department no 11 in the database, my comobox stop working and i got javascript error: Error:Invaild Syntax in statusbar. Kindly help where i made a mistake ( In web code or database) I use normal database settings. Thanks

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET help csharp javascript asp-net database

  • Kill Session [Urgent]
    M Muhammad Waqas Butt

    Hi Imran, Thanks for your help. I'm using session for username, now the problem is that when i click logoff i use this code to kill session: Session.remove("username"); Session.Abandon(); Response.Redirect("xxxx.aspx"); but this code didn't work and when i type userhome.aspx in brower(I did not close current brower). It allow user to get in this page and user name display on the page. Any solution... and i do understand [GOD HELP THOSE WHO HELP THEMSELVES] but GOD also like those who help their brothers. Thanks

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET com help

  • Kill Session [Urgent]
    M Muhammad Waqas Butt

    Hi, I'm using session for user name, now the problem is that when i click logoff i use this code to kill session: Session["username"]=null; Session.Abandon(); Response.Redirect("xxxx.aspx"); but this code didn't work and when i type userhome.aspx in brower. It allow user to get in this page and user name display on the page. Any solution... Thanks

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    ASP.NET com help

  • Digital Persona
    M Muhammad Waqas Butt

    Hello, Does anybody have SDK of Digital Persona Finger Reader 4000B? or any help material regarding this. Thank and best regards, waqasb4all@yahoo.com

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    C# com help 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