- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
- Interests
- web Developing
- PC Specs
- 80GB
37 Posted Topics
Dear Friends, I am facing a problem, I have two forms, Form1 Has one DataGrideview and Button redirect to Form2, which has Button(Browse Excel File) and combobox(Sheet No of excel file) and Button to load Excel file list in Datagrideview , **want to show excel file list in Datagrideview of … | |
Dear Friends, I developed Desktop application in C# .Net for client. client purchased software and installed it one than more system without my permission. How to restict him to not installed software on Multiple systems? | |
Hello Friends, I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but when i click on report it dosent work and generates error :System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. … | |
hye Friends, I installed my c# app. with crystal reports , all is fine but when i want to generate crystal report , rises DATABASE LOGON dialog box. and asks Log ID and password.. Please, help me.... | |
Dear Friends, i Developed a C# Project with SQL Server Database (Database is not LocalDB) and i want to create a setup file to install on client system havin windows xp 32bit. Please suggest me how to do it ? | |
Dear Friends, I facing problem to change color of DGV Row w.e.o Quantity of Remaining days. I tried it but i got error. PLease, check my code. public void RowsColor() { for (int i = 0; i < dataGridView1.Rows.Count; i++) { int val = Int32.Parse(dataGridView1.Rows[i].Cells[5].Value.ToString()); if (val < 14) { … | |
Dear Frien, I am working in C# .... I nedd Help/.] I created FROM1 which has DATAGRIDVIEW and fetched data from Database,and on the Form2 has Crystal Report Design , how can transfer data from Datagrideview of FORM1 to Crystal Report of FORM2.......... Code is bellow-: private void btn_CrtRep_Click(object sender, … | |
Dear Friends, please check my code , i want to uptade data with pressing A+ctrl ... but it dose nto work?cord is bellow... protected override void OnKeyDown(KeyEventArgs e) { base.OnKeyDown(e); if(e.KeyCode==Keys.A && e.Control) { try { scb = new SqlCommandBuilder(da); da.Update(dt); MessageBox.Show("Recode updated", "Update", MessageBoxButtons.OK, MessageBoxIcon.Information); Form2 f1 = new … | |
first I want to say thank you all , You have a stuning Job here. Secondly, I Want to Import Data from Excel File to My DataGrideview columns. I tried but data coms after My added columns.Please, Check my code bellow. private void button8_Click_1(object sender, EventArgs e) { string content … | |
Dear Friends, I want to compare two values of textboxs please, check my code Int32 val11 = Convert.ToInt32(textBox4.Text); Int32 val22 = Convert.ToInt32(textBox10.Text); if(val11 >> val22) { MessageBox.Show("Please, check Maximum Limit of Quantity.Quantity should be less tha fix Limit", "Limit", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Warning); textBox15.Focus(); textBox4.ForeColor = Color.Red; } else { textBox4.ForeColor = … | |
Dear Friends, I want to save Date from DataGridView to Database. my Date Datatype is DateTime in DB. please, check my code private void button4_Click(object sender, EventArgs e) { con.Open(); for (int i = 0; i < dataGridView1.Rows.Count - 1; i++) { SqlCommand cmd = new SqlCommand("INSERT INTO cat1_tab (myDate) … | |
Dear Friends i have problem with sum of the value of Datagridview. please chek code. private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { this.dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value = (e.RowIndex + 1).ToString(); //--------------------for SUM------------------- int sum = 0; for(int i = 0; i < dataGridView1.Rows.Count-1; ++i) { sum =sum+int.Parse(dataGridView1.Rows[i].Cells[12].Value.ToString()); } textBox23.Text = sum.ToString(); } when … | |
Hello Dear, i have problem to multiple two textboxs ,one is Decimal and second i didnt asign ..... Please check code.. private void textBox18_Leave(object sender, EventArgs e) { decimal first; decimal second; decimal re; var b1 = decimal.TryParse(textBox18.Text, out first); var b2 = decimal.TryParse(textBox13.Text, out second); if (b1 && b2) … | |
Hello Dear Friends, I need some help to check avilidity of the username on Leave event of a textbox in Database SQL Server, but i cann't get. it code is bellow private void textBox6_Leave(object sender, EventArgs e) { cmd = new SqlCommand("SELECT * FROM usertab WHERE username='"+textBox6.text+"'",con); SqlDataAdapter da = … | |
I tried this code But does not download File while ($row = $result->fetch_assoc()) { $filename=$row['name']; echo "<tr>"; echo "<td>".$i."</td>"; echo "<td>".$row ['cdetail']. "</td>"; echo "<td>".$row ['tenNo']. "</td>"; echo "<td>".$row ['tdetail']. "</td>"; echo "<td>".$row['ldate']."</td>"; echo "<td> <a href=adminfrm.php?file=".$filename."target='_blank'>Download</a></td>"; Please, guide me | |
dear friends, I have created Php form to store data in my mysql database. But i am facing problem in updating file data to store in database. Please check my code below $edate=$_POST['edate']; //$edate=date("d-m-y h:i:s a",time()); $ldate=$_POST['ldate']; //$ldate=date("d-m-y h:i:s a"); $cdetail=$_POST['cdetail']; $tenNo=$_POST['tenNo']; $tdetail=$_POST['tdetail']; $name = ($_FILES['uploaded_file']['name']); $mime = ($_FILES['uploaded_file']['type']); $data … ![]() | |
Dear Friends, I ctreate database in mysql database data transfer from PHP form. Problem: I can not save my Date formate(dd-mm-yy) in to database. My code is below please, if($epr=='save'){ // $cid=$_POST['id']; $edate=$_POST['edate']; //$edate=date("d-m-y h:i:s a",time()); $ldate=$_POST['ldate']; //$ldate=date("d-m-y h:i:s a"); $cdetail=$_POST['cdetail']; $tdetail=$_POST['tdetail']; $sql1="INSERT INTO tentb(edate,ldate,cdetail,tdetail) VALUES('$edate','$ldate','$cdetail','$tdetail')"; $result1=$conn1->query($sql1); if($result1){ echo "Data … | |
Dear Friends, I created Table in PHP. Columns are SrNo. ---- Tender Detail----- Last Date----- Remaining Days ---------- Status(Pending/Proceded) I have Database in mysql. I get "last date" from database and minus with Current date. But i tried there is any problem please, check. Code is below <?php function dateDifference($date_1 … | |
Dear Friends, I made login form in php ... when i login .... URL shows form Name in URL Bar.... that means i can open the from without username and password. for example. http://www.nig-bh.com/registration1/login.php this is login form when i enter username and password it opens http://www.nig-bh.com/registration1/enqrep.php ...after correct username … | |
Dear Friends, I am facing a problem wuth Dropdown list menu and slider. When i click manu dropdown list is opening behind the slider. Please, check my HTML code and css. <!DOCTYPE html> <html> <head> <title>Hello!</title> <link type="text/css" rel="stylesheet" href="styl.css" /> <?php include ("header.php"); ?> </head> <body> <div id="container"> <div … | |
hello my dear Friends, for a long time i was not here. I hope u all are geting well. again i have problem in login form anyone can guide me plz, code is below <?php include "conn.php"; if($_SERVER["REQUEST_METHOD"] == "POST"){ $username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_SPECIAL_CHARS); $password = filter_input(INPUT_POST, 'password', FILTER_SANITIZE_SPECIAL_CHARS); … | |
Re: thank you guys i got it. below is is correct code <?php include "conn.php"; //if($_SERVER["REQUEST_METHOD"]=="POST"){ if (isset($_POST['uname'])) { $username=filter_input(INPUT_POST,'uname',FILTER_SANITIZE_SPECIAL_CHARS); $sql = "SELECT * FROM regtab11 WHERE user_name='$username'"; $result = $conn->query($sql); if ($result->num_rows > 0) { echo "user already exists" ; } else{ $sql1="INSERT INTO regtab11(user_name) VALUES('$username')"; $result1=$conn->query($sql1); echo "data has … | |
Hello Dears Friends, I want to make aRegistration form for users, and save data of user in my database.I tried my best best but cannt Please, check my Code. <?php include "conn.php"; //database connection file if($_SERVER["REQUEST_METHOD"]=="POST"){ $username=filter_input(INPUT_POST,'uname',FILTER_SANITIZE_SPECIAL_CHARS); $sql = "SELECT username FROM usersystem WHERE username = '$username'"; $result=$conn->query($sql); if (!$result) … | |
Dear friends, I developin a webside in php where clients can send their enquiry of material.I have text boxs which clients will fill when click add button this enquiry will goto down table on a same page.. Please give me idea.?? | |
Dear Friend, I create a dropdown list and want to retrieve data(company name list) from MYSQL to this dropdown list ,please, help me.no error but data does not show. code is bellow Company Name: <?php include "conn.php"; $sql="SELECT * FROM login1 "; $result=$conn->query($sql); echo "<select name=cn value=''>Company Name</option>"; // list … | |
![]() | |
Dear friends, I want to transfer data from one page to other via SESSION variables my code of session1.php page is below <!DOCTYPE html> <html> <head> <title>Hello!</title> </head> <body> <form action="session2.php" method="post"> <input type="text" name="text" /> <input type="submit" name="submit" /> </form> <?php session_start(); $text=$_POST['text']; $_SESSION['stext']=$text; echo("session is set"); ?> </body> … | |
Dear friends I am developing a php online registration form.I created login form which is without database becz admin user in only one to check enquiries.But some thing is wrrong here ..my login.php page code is below. <!DOCTYPE html> <html> <head> <title>Login page</title> </head> <center><h1>Admin Login</h1></center> <center> <fieldset style="width: 30%; … | |
dear friends, I am developing Online registration form... I want to display data record vice not row vice...my code is below <?php include "conn1.php"; $sql = "SELECT * FROM reg"; $result = $conn->query($sql); if ($result->num_rows > 0) { echo "<table style='border: solid 1px black;'>"; echo "<tr><th>Id</th><th>Firstname</th><th>Lastname</th><th>Email</th><th>Reg date</th></tr>"; // output data … | |
Dear friend, i have 2 tab 1) atab 2) qtab.. when i put question and options answers .. i use three forms qset.php, Ans.php and result.php here are code what i want that email of user updated after click button submit code is below ans.php <?PHP include "conn.php"; //session_start(); ?> … | |
Dear firnds, I want to upload my php Forms and database...I am using godaddy.com i have my login and pwd.... I uploaded Survey project Php files and database.please,check my conn.php file code is below <?php $username="mydbphp@182.50.131.34"; $password=""; $server="166.62.8.51"; $db="mydbphp"; $conn=new mysqli($server,$username,$password,$db); if(!$conn){ echo "Connection not established"; } ?> please, suggest … | |
Re: dear friend, why this code does not exicute and shows error... <?php include "conn1.php"; if(isset($_GET['submit']) && isset($_GET['q'])){ $answer=$_GET['q']; $hid=$_GET['hid']; $useremail=$_GET['useremail']; //if($row=($sql->num_rows()>1)){ $sqlu="UPDATE atab SET email=$useremail, $answer=$answer+1 WHERE Qid=$hid"; $result=$conn->query($sqlu); if ($result){ echo("user has voted");} else { echo("Error") ; } } ?> does not transfer data to database . | |
Dear friends, Please guide me I want to display data in PHP form from mysql database. my code is below <?PHP //connect to database $username = "root"; $password = ""; $database = "mydatabase"; $server = "127.0.0.1"; $conn= mysqli_connect($server,$username,$password,$database); // checkintin connection if($conn->connect_error){ die("".$conn->connect_error); } // select data $sql = "SELECT … | |
Dear friends, I have an other problem in login form...my code is below.. //********************************connect to database and check**************************************************** $username = "root"; $password = ""; $database = "mydatabase"; $server = "127.0.0.1"; $conn= new mysqli($server,$username,$password,$database); // checkintin connection if($conn->connect_error){ die("connection failed:".$conn->connect_error); } //****************fetch the information from database for match username and password … | |
[B]Hello and Asslam o alekom![/B] This thread is for who wants to learn VB6, post your suggation and advises to us. | |
Re: i have to build a Payment Slip from datareport in vb7? Please help me ,i will send u detail |
The End.