- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
20 Posted Topics
[QUOTE=vuyiswamb;663623]hi bankerrajendra First you have to Create a Storedprocure that counts the Records that match the username and password, [CODE]Create Procedure prclogin_check ( @User_name varchar(20), @U_Password varchar(23), @Results int Output ) Set @Results = (Select count(*) from User_Table where User_name =@User_name and U_Password = @U_Password)[/CODE] And after you are done …
I don't understand why my pc get slower this pass few days. please help!!!:sad:
Hi, try this code. [B]Using a SqlConnection in C#[/B] [code] using System; using System.Data; using System.Data.SqlClient; /// <summary> /// /// </summary> class SqlConnectionDemo { static void Main() { // Instantiate the connection SqlConnection conn = new SqlConnection( "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI"); SqlDataReader rdr = null; //use try catch so it …
Hey, try this one, I just learn if from [url]http://www.codeproject.com/KB/cs/upload_Images_to_DataBase.aspx[/url] [code]Stream streamImage=file1.PostedFile.InputStream; int imageLenght=file1.PostedFile.ContentLength; string strType=file1.PostedFile.ContentType; string strType1=file1.Type; string strName=txtName.Text; Byte[] imgData = new byte[imageLenght]; int n = streamImage.Read(imgData,0,imageLenght); int result = saveImage(strName,imgData,strType); private int saveImage(string strName,byte[] imgData,string strType) { int return1=0; try { SqlCommand cmd= new SqlCommand("INSERT INTO image1(id,imageLenght,imgtype,bytles) …
[QUOTE=Hannahlv;663279]Thanks for the reply now the problem is that i dont know where to add this code String)patientspastillnessComboBox.Items[INDEX_NUM]; // INDEX_NUM: 0 ~ n(existed item number)[/QUOTE] Change the code of all combobox. from: patientspastdiagnosisComboBox.Items.Add to: patientspastdiagnosisComboBox.SelectedItem.ToString()
Hi! I don't have access to office on the server. Does anyone know an open source way to generate an xls file for download? Or is there any way of generating a file that upon download will auto open into excel? Thanks ramil
Hi, Please help me with this virus, my computer files and folder turned into executable file. How can I remove this virus. I can't open my task manager, whenever I click some links on my browser my computer shut off suddenly. Thanks, ramil
Here are the following scenarios and how to cure it: 1. Video Card -External Video Card:: Try to remove your video card and clean the Video card and the bank. 2. Memory -If you have 2 Memory stick, just remove either one of your memory then just use one of …
Hi rem0404, I have tried the overloaded function of istream& getline and it works. At line 143. You have this code 143 getline(cin, message); and what I did is just used the overload getline which has the delim parameter. The code is something like this. 143 getline(cin, message,'.'); But the …
Hi everyone! What is the code if I want to connect to MS ACCESS or SQL SERVER using C++? Is there a special compiler for c++ for that database code? Thanks
try this,,, :) [CODE]Private Sub Command1_Click() Dim hoursbox As Integer Dim deductbox As Integer Dim rate As Integer Dim grosalary As String Dim netsalary As String If op1.Value = False _ And op2.Value = False _ And op3.Value = False Then grosalary = "invalid" netsalary = "invalid" End If If …
[B]The same thing happened and is happening to me, Tim. Yesterday, I removed my HD and tried installing XP Home with SP1 on it using my friend's PC and the [/B][INDENT][B][URL="http://javascript%3Cb%3E%3C/b%3E:void%280%29"]installation[/URL][/B][B] works great. Maybe you should try that?[/B][B]However, when I tried putting it back into my PC, I got a …
hi everyone! I have a problem with my pc, when i plug the power chords to the outlet, the power supply of my computer will work at first then i will shut off automatically... What's a matter with my power supply, please help me with it God bless!
why when i want to install the Windows XP on compaq computer... i have this error message. "Out of range" Please help me...
[B] Hi, i have a problem in configuring my IIS, i get this error message when i try to browse the virtual directory i configure, please help! :-| [/B][B][COLOR=#FF3300]Server Application Unavailable [/COLOR][/B] The web application you are attempting to access on this web server is currently unavailable. Please hit the …
[QUOTE=Ajar]Long story made short! Just received a second hand PC, was working fine until I loaded some new programs and setup broadband. Thereafter when it starts it goes into Windows error checking mode, saying that a file is missing, and continues to reboot itself without entering windows. Then after entering …
hello, can you give more details. :)
hi! me too have the save trouble, please help us, God bless!
if you have two memory plate, try to use only one plate, maybe on of your memory does'nt work
my computer can't read all the memory, my memory is 256mb DDRAM, but when i look at mycomputer properties, it only shows 96mb, please help me :) God bless!!!
The End.
ramiljoaquin