No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
private void button4_Click(object sender, EventArgs e) { { SqlConnection conn = new SqlConnection("Data Source=user-PC;Initial Catalog=URBAN-AUTO-CLINIC;Integrated Security=True;User Instance=False"); SqlDataAdapter adaptor = new SqlDataAdapter(); DataTable table = new DataTable(); DataSet ds = new DataSet(); adaptor.SelectCommand = new SqlCommand("SELECT FirstName,LastName FROM ClientNCar WHERE FirstName ='" +txtFName.Text +"'AND LastName='"+txtLName.Text+"'",conn); adaptor.Fill(ds); ClientSearchDisplay.DataSource = ds.Tables[0]; } … |
|
The upload html page i'm using <html> <head> <title> </title></head> <body> <form enctype="multipart/form-data" name="upload" action="upload.php" method="post"> <input name="file4upload" type="file"> </input> <br> <input name="submit" type="button" value="Upload File" > </form> </body> </html> php file code is given below (upload.php) <?php $target_path="upload/"; $target_path=$target_path.basename($_FILES['file4upload']['name']); if(move_uploaded_file($_FILES['file4upload']['tmp_name'],$target_path)) { echo " File ".basename($_FILES['file4upload']['name'])."has been uploaded"; } else … |
|
I want to connect to sql server database from php code. OS: Win xp SP3 PHP ver 5.1.0 Database : SQL server 2005 IIS ver 5.1 What are the drivers needed for the connection to happen? I downloaded the php_sqlsrv_52_ts.dll and tried with it. It doesn't work.I think its for … |
|
I am newbie in sql server i'm using sql server 2005 and the northwind database i wanted to join order and order details tables and calculate the total purchase made by each customer by using group by clause. When i used select orders.orderid,orders.customerid,orders.orderdate,orders.shipcity,orders.shipcountry, orderdetails.unitprice,orderdetails.quantity,(orderdetails.unitprice*orderdetails.quantity )as total from orders inner join … |
|
Hi I have domain setup and 22 machines are on the domain. (a) i'm running win 2003 server. It's a SAN server basically IP address of server is 192.165.0.11 One machine whose IP is 192.165.0.200 is not able reach other PCs on the domain except for server with IP..11.Could see … |
|
hi all i have developed a small website in ASP.net(Visual studio 2005) and SQL server 2005. IIS 5.1 is installed in my machine. How do i deploy it in IIS. i tried to copy the website to default website and set the default document as one in my website. My … |
|
Hi guys i'm using ASP.net ans SQL server 2005 with stored procedure to do simple search from a table in database.Plz help me out The error i get Function or procedure expects @searchKey which was not supplied. protected void btnSearch_Click(object sender, EventArgs e) { string constring = ConfigurationManager.AppSettings.Get("con").ToString(); SqlConnection conn … |
|
hi all i'm using visual web developer 2008 i have included ajax toolkit bar into my project when i drag and drop one of the tools for example autocomplete extender it does not come the pointer becomes circle with diagonal line i was using .net framework 3.5 i downloaded framework … |
|
HI GUYS i want to get the entries in afield as you type for example in Gmail when u type alphabet 'a' in the send to field ,you get the contacts starting with 'a'and second alphabet 'b' you get contacts starting with ab and so on i would like to … |
|
Hi guys I have a single machine with windows XP professional i would like to use them for browsing my company intranet and internet i dont want to use two NICs. Will there be a security breach Will anyone be able to get into intranet when switch to internet i … |
|
Re:
can anybuddy help to sort out my problem in .net actually i m beginner at this platform facing a very crucial error i think so i m making a web page connectivity to sql database for inserting the data......... my error name: Inserting is not supported by data source 'SqlDataSource1' … |
|
I,m a novice in ASP.net programming. I wonder how to use functions and events associated with each control. I have seen few books and couldn't get it. Can anyone help me out.?? |
|
I'm a beginner in .net programming environment.I am using c#. i have a text box(txtSearchKey) for user to enter the text key. i have a combo box(cmbSearchBy) to specify in which field of employee table ,search key should be used to retrieve data. when i use the above code i … |