- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
لا إله إلا الله Ù…ØÙ…د رسول الله Hi i m Farhad Idrees, belong to Middle class family of Karachi Undergraduate student of BS(CS) from Bahria University Karachi, Pakistan. Interested in Programming, Web Designing development, Blogging…
62 Posted Topics
HI Guys, I have 3 Machine, Machine 1 -> SSAS Cube Machine 2 -> APP Server(On which i publish Cube of Machine 1 through HTTP,IIS) now i have url like http://123.456.789.012:8080/OLAP/msmdpump.dll Now i have machine 3 which is client machine i dont want to show above url to access cube, … | |
Hi guys.. i want to use arrow images in corner of my box...i m attaching pic as i want to do... http://postimg.org/image/fs7xp3a23/ currently i m not able to use image.. http://postimg.org/image/vfotqnucl/ my css is .tree li a{ border: 1px solid #ccc; padding: 5px 10px; text-decoration: none; color: #666; font-family: arial, … ![]() | |
Ho guys.. i have many pages in my application. i want to show fix footer bar like u can see in daniweb "Recently updated articles etc etc" how to create it? any hint aur suggestion? Regards.. Farhad Idrees | |
Hi i made fix footer bar....its working fine.. but problem is my form is hiding behind this bar.. i want to show my form above footer bar like you can see in daniweb when you scroll down so homw, about us and contact us will be above... i want to … | |
Hi i m checking my values from javascript functiions..i m comparing values... alert is showing that values are not euqal but but form is still submitting.....when i press submit.... java script code is <script type="text/javascript"> function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; var mini = parseInt(minimum); … | |
Hi i want to close my popup window.. how to do it? window.close() is not working.. i m showing my popup using jquery.. i want to close popup when close button is clicked.. Regards.. fahrad | |
Hi Friends.. i have one form where combobox is include... i want to use popup form with respect to selected combo box values using jquery function.... i have this code for combo box.. <label id="label">First Schedule </label> <select name="cmbFS" id="cbmFSId" style="width:205px;"> <option value="">---SELECT---</option> <option value="FSchedule" >Second Shedule</option> <option value="Reject">Reject</option> </select> … | |
HI i have many forms in my application.. when some one see any form so i want to show form as "Only readable form" means i want to use disable form.. when someone click edit button so my form should enable for editing.. how to do it? can anyone help … | |
HI Guys... I have jquery list menu box of sliding.. i want o use scroll bar..i have imported requrired files but when i import jqxpanel file so nothing show.. when i block jqxpanel file so lisemenubox shows but without scrollbar..i have also enable true scroll bar but its not showing.. … | |
here is one form element. <input value="-7" class="validate[required,custom[integer],min[5]] text-input" type="text" name="min" id="min" /> here is one more problem.. i wanto use my javascript varible value in above class "validate[required,custom[integer],min[5]]" here like use dynamic number where 5 is using how to do it? Regards.. | |
HI i have to compare three values but its not working.. alert box is not showing if i m putting less or greater values...i m calling this function on blur... function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; // alert(value); if( value < mimimum ) { alert('Value … | |
HI i have 4 gridview in one form...i have to check all text field if someone select main check box... my code is working only on one grid view..its not working on other grid view. what should i do? my code is <script type="text/javascript"> function checkAll(chkid) { var chk = … | |
Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = … | |
hi Guys...i have two jquery functions.first one is showing data in grid and we can also update data in grid.. 2nd one is filtering data like if we want to see data of 'farhad' so it will bring data according to 'farhad'; i want to merge both functions in one … | |
guys i have for buttons in html form...edit, back, submit, reset but the problem is how to go back to previous page....i m performing this using onlick event but not working... my code is.... <form method="post" action="" enctype="" name="Qform" onsubmit="return validateForm(this); "> <div class="centerform" > <div id="divbox"> <label id="label">Name : … | |
Hi.. i used Jquery in order to add date time picker calender in my site succesfully.. i just want to decrease size of calender because its showing big calender according to my form.. here is code and snapshop url http://tinypic.com/r/2ajzymx/6 <!--Calender Start--> <link rel="stylesheet" href="htp://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" /> t<script src="http://code.jquery.com/jquery-1.8.2.js"></script> <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script> … | |
HI i have many fields in form....i want to check if anyfield is null so i want to do alert mesege also want to change the colour of text field....i have written a code but no error but not working anything...my code is for java scritpt function validateForm(Qform){ var i=0,Q= … | |
HI friends... i m making website which has menu bar and several pages... i want to fix menu bar on all pages because menu bar is same for all the pages.. how to do it any suggetion? Regards.. ![]() | |
I am having problem during installation of 10g. "the value of envoirmental varible is more than 10243. The value cannot be set ". I found that i have to set variable in Computer –> right click –> properties –> Advanced –> Environment Variables but how to do it? i need … | |
Hi i have database whicho store images in binary.. now i want to show image in picture box when someone click on datagrid.. i have following code.. private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { try { pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; //retreive picture from database int iIndex = dataGridView1.CurrentCell.RowIndex; DataGridViewCell cell_index = … | |
Hi i want to clear change the picture in picture box when data submit succesfull.. but the problem is it throws an exception..the code is Image image = Image.FromFile(@"C:\Users\dell\Desktop\Database\Tazeen_Shop\Tazeen_Shop\Images\Blank_face-720571.jpg"); pictureBox1.BackgroundImage = image ; i just want to know is this ryt? why it throws an exception and picture dont change.... | |
Hi....I want to add plus one in Id...the problem is i have to show after getting id from database...code is mycommand = new SqlCommand(query_Id, myconnection); reader = mycommand.ExecuteReader(); reader.Read(); txtID.Text = reader[0].ToString(); reader.Close(); for example in this case i m getting ID 3 in my text box but i want … | |
Someone can tell me where i m doing mistake in order to show Autogenerate Id everytime with increasing of one. string conn = @"Data Source=FARHAD-PC\SQLEXPRESS;Initial Catalog=shop;Integrated Security=True"; myconnection = new SqlConnection(conn); myconnection.Open(); string query_Id = "select * from tblEmployee"; mydataadapter = new SqlDataAdapter(query_Id, myconnection); mydataset = new DataSet(); mydataadapter.Fill(mydataset); try … | |
I have this code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Access_Database { public partial class Form1 : Form { private OleDbConnection myconnection; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string strconn = … | |
i have this code...i m retreiveing did from selected name........ i want to assign this to varible because i want to use this variable to another place... i hope i will get help here.. [code] MyDataAdapter = new SqlDataAdapter("select D_Id from tblDepart where D_Name = '" + D_Name + "'", … | |
Hi Friends... i just want to make chat in php like "Online help chat" for different website... can anyone guide me where i can get material? Regards... Farhad | |
I have two Combo Boxes..1-Programme 2-Semester I want to bind Semester combo box with Programme combo box.. i m reading file from Xml.... after binding i have to show data on datagrid view... but i m not able to do it...... i hope someone will help me... Regards.. Farhad | |
Hi... i m making script which is checking that username aur password is true or not..... i want to show alert if username or password is incorrect.then i want to redirect my page to original login page.... my code is [CODE]$alert = "<script type=\"text/javascript\">alert('Invalid UserName or Password');</script>"; echo $alert; header("Location:../Admin.php"); … ![]() | |
hi i have written code but there is mistake in calculation.... i want to show price according to quantity in table.....but quantity is right but price is not rice.. code is [CODE] <?php $brush_price = 5; $counter = 10; echo " <table border=\"1\" align=\"center\">"; echo "<tr><td>Quantity</td><td>Price</td></tr>"; while($counter<=100) { echo "<tr><td>$counter</td><td>$brush_price</td></tr>"; … | |
hi i want to echo multidimansional array by using for each loop... i m doing it but i m not able to do... i hope some onwe will help me.. my code is [CODE] $Families = array ( "Farhad" =>array("Ali","Haider","Kashan"), "Sufyan" => array("Shahbaz","Ali2","Azaan")); foreach($Families as $key2=>$values3) { echo "$key2 $values3"; … | |
Hi....Friend i have to make this task...... create a time clock that display on the status bar and keep on changing every after 1 second. Kindly keep the format as given in the picture. i have created code but i dont know how to put on status bar... my code … | |
Hi guys i hm havig problem....My Code is [CODE] <?php $conn = mssql_connect("FARHAD-PC\SQLEXPRESS","",""); mssql_select_db("Testing",$conn); $query = "select * from User1"; echo $query; ?> [/CODE] The error iss Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\Testing\SqlConnection.php on line 4 Hope someone will help me.. Regards.. Farhad | |
Hi, I want to know that if i have form in html and i want to save data in MS Access or any other database so is it possible? if yes so how? i use php to connect mysql but i didn't use simple html connection... I hope someonw iwll … | |
Hi my problem is that logo is showing but behing the header..i want to show logo ofcourse in front of header... my css is [CODE] #Container { width:1024px; margin-left:10%; margin-right:10%; } #Header { } #Top_Menu { margin-top:-160px; } #Logo { float:left; margin-top:-120px; margin-left:5px; } [/CODE] my html code is [CODE] … | |
Hi my problem is that logo is showing but behing the header..i want to show logo ofcourse in front of header... my css is #Container { width:1024px; margin-left:10%; margin-right:10%; } #Header { } #Top_Menu { margin-top:-160px; } #Logo { float:left; margin-top:-120px; margin-left:5px; } my html code is <!DOCTYPE html PUBLIC … | |
Hi i just want to know that how to connect php with sql server..because i have database in my sql server.... regards.. Farhad | |
Hi i need to make logic..in ecommerce web.. When i add any item to cart so Items Session start... but the problem is if i add same any again to cart so when i will be implemented? i know i need to use multidimentional arrary...becuase of item id and price.... … | |
Hi i want to echo session but it gives error...code is [CODE] session_start(); if(isset($_GET['P_Price'])) { $_SESSION['Price'] = $_SESSION['Price']+ $_GET['P_Price']; $_SESSION['Items']++; " <div class=\"shopping_cart\"> <div class=\"cart_title\">Shopping cart</div> <div class=\"cart_details\">Items echo $_SESSION['Items']; <br /> /// this line has error <span class=\"border_cart\"></span> Total: <span class=\"price\">echo $_SESSION['Price']; </span> ////this line has error also </div> … | |
hi i have one page where i will get Categories of Products and i want to make session of those Categories..But when i referesh page session break...my code is.. [CODE] session_start(); $_Session['P_Category'] = $_GET['P_Category']; ////line 8 $P_Category =$_Session['P_Category']; $query = "select * from tblProducts_info where P_Category = '$P_Category'"; $result = … | |
kindly tell me is this statement is right? i want to use isset statemnt with or condition... if( isset($_GET['P_Price']) || isset($_GET['P_Category'])) ........... Regards.. Farhad | |
Hi i have 2 files one is Left.php which is is getting categories of product...code is [CODE] <?php require('Connection.php'); $query ="select distinct(P_Category) from tblProducts_info"; $result = mysql_query($query); if(!$result) { die('echo invalid query:,mysql_error()'); } else { if(mysql_num_rows($result)>0) { while($rows= mysql_fetch_array($result)) { $P_Category = $rows['P_Category']; $cat_List=""; $cat_List = "<li class=\"odd\"><a href=\"services.html\"?P_Category=$P_Category>$P_Category</a></li> "; … | |
Hi...I did some book exercices..i want to ask you are these code right or not? Question1---Write a programme to display a random choices from a set of 3 choices for breakfast.... i wrote this code... public class Exercice3_1 { public static void main(String[] args) { String breakFast = null; int … | |
I m having Problem i want to put green image on black image... my css code is.. [CODE] @charset "utf-8"; /* CSS Document */ #Container { background-image:url(../Layers/Container.jpg); width:1024px; height:768px; background-repeat:no-repeat; } #MiniContainer { background-image:url(../Layers/MiniContainer.jpg); background-repeat:no-repeat; /*margin:150px 10px 100px 150px;*/ margin-top:100; margin-left:50px; margin-bottom:100px; margin-right:50px; } [/CODE] and my html code is … | |
Hi i m having problem... i want to give each random number to each month.. but it gives erros [CODE] public class a { public static void main(String[] args) { float average = 0f; String[] Year = {"Jan","Feb","Mar","Apr","May","Apr"}; int[] values = new int[5]; for(int i=0; i<values.length; i++) { values[i] = … | |
Hi recenlty i bought N5010 laptop with 320 gb hd... i wanted to create more partition because there was only one which was Os.. i successfully made one partion of 70 gb with the disk management.. but when i created another partition so it just throw an error u cant … | |
Hi i m new in java.. i have to solve this.. write a programme to display random choice from a set of six choices,scrambled, eggs, waffles etc..... kindly help me....i m having huge problem... Regards.. Farhad | |
Hi i have 3 list view...1=Courses, 2=Semester, 3= Section.. when i select any course so in semesterlist view semester should come with respect to Corses...similary when i select semester so section should come with respect to semester...but i m not able to do it...... i have written this code... [CODE] … | |
I have combo box of programme and another is courses.. when i select any programme combo box so courses combobox add courses with respect to programme... the problem is when select another programme so previously programm's course also included in combobox.. i want to remove previously courses..in courses combobox. [CODE] … | |
i have to show data in datagrid using store procedure...but remember...i m using store procure in seprate class so i m facing difficulties.. how to do it.. thats my class coding... but how to pass it in main form? public Searching() { Myconnection = new SqlConnection("Data Source=.;Initial Catalog=Bahria_Managment;Integrated Security=True"); } … |
The End.