|
You pass in two parameters but you don't use them in the SQL statement. You then use a parameter (@333 ) that does not exist.
Maybe somthing like this would work:
SELECT BName from Borrower WHERE TaxID = @TaxID You can drop the parameter @BName as it is not being used. To get the BName back into your application you can use ExecuteScalar() .
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
I am using multiple dynamically created text box controls placed inside a panel control. I use the panels scrollbar to scroll down and view the data in the textbox's within the panel. It is also feasable that a textbox's size could be larger than the panel is in its height.
Problem is that when a users first clicks on the textbox's data to make an edit for example the panel then auto centers the textbox controls position within the panel. This unwanted control movement moves the text's position and causes undisirable highlighting of a portion of the text as it scrolls past the clicked cursor. Is there anyway to disable this auto control positioning action of the panel control when a control first recieves focus while still preserving the panels scrollbar functionality???
Any help is appreciated,
SBD
|
|
|
|
|
Hi,
I am newbie here.I hope you all can give me some help for the above.
I need to know :
1. Will WebCam store video images captured into a Folder?
2. How to set up a Folder for the WebCam's images captured?
ie : http://domainname/foldername ? is this correct?
If I write a code to retrieve images from the folder, I would only capture the latest image?
Is there any code out there I can use it as reference?
Thanks
|
|
|
|
|
I want source code to Remoting
Server - Client
Ahmed
|
|
|
|
|
You are going to have to be clearer about what you are wanting.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
hellow to all ..
i am building a crystal report that have a Boleen fields ..
now i wanna count them , but i wanna only count the true fields ..
it is not working for me how i do it ?
thxx
|
|
|
|
|
Dim id As Integer = dgCustomer.DataKeys(e.Item.ItemIndex)
it gives error
Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index
why??????
|
|
|
|
|
aavesh wrote: why??????
What is the value of e.Item.ItemIndex ?
How big is dgCustomer.DataKeys ?
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
how can i pass enter from Vb.net to other programs, so that i need to copy one line after that i want to pass enter after the line not the ascii code for enter just enter cklick without pressing manually on enter
amarni
|
|
|
|
|
You can use
AppActivate("Title Of other Application")<br />
SendKeys.Send("{ENTER}")
Regards,
Chatura Dilan
If at first you don't succeed, try; try again, so that you know
what not to do the next time. The answer is out there.
|
|
|
|
|
i want invoice and bill monthly for per customer indiviually using datareports and database msaccess.plz reply.
rais
|
|
|
|
|
Hi Rias,
By executing SQL queries u can get the records for each customer individyally.
Thanx & Regards.
Success is not a Destination,
... But a Journey !!
|
|
|
|
|
My Repeter control in not displaying the images from databse when i use the following statement.
<asp:image id="Image1" imageurl="<%" container.dataitem%=""> Runat=server>
actuall i want to display all the images from data base along with the price of image.
what should i do?
i'm not getting a point when i give any image path instead of
ImageURL= <% Container.DataItem%> replace ImageURL= "pic.gif"
then it shows no of times this image that i have no record in my database
suggest me.
thanx
|
|
|
|
|
Use the "Ignore HTML" option when you post the message so that your code will be visible.
---
b { font-weight: normal; }
|
|
|
|
|
actually what i want to do i have a table category
in this a user can upload the images for the category.
now i want to display the all the category information with the image on the home page of the site in a 4 * 4 matrix.
what should i do?
thanx
|
|
|
|
|
Read my previous post again. Repeat until it sinks in. There is noone that can help you with your code if they can't see it.
---
b { font-weight: normal; }
|
|
|
|
|
in vb.net
i have an epson printer
and i have added a custom paper
how do i use it in my code?
tried the code below but it says that the kind should be custom, how do i set it as custom i tried but it cant be set.
With oPrintDoc.PrinterSettings
.PrinterName = oDlgPrint.PrinterSettings.PrinterName
.DefaultPageSettings.PaperSize.Kind = _
Printing.PaperKind.Custom
.DefaultPageSettings.PaperSize.PaperName = "TFSC DR Form"
End With
tnx in advance
|
|
|
|
|
I'm trying to serialize and save a remoting object and keep getting this error
runtime error: "Remoting cannot find field __identity on type
System.MarshalByRefObject."
I simply open a filestream
then serialize with binaryformater
and try to save to a file
any suggestion?
|
|
|
|
|
Hi Guys!! I have minimised a window into the Sys Tray. When i hover over it, a Balloon Tip Pops up. But when i Right Click on it, the Context Menu shows up but the Balloon Tip doesnt go away. How do i get to remove the Balloon Tip once i click the Right mouse Button on it?
The Code for getting the Balloon Tip is:
NotifyIcon.ShowBalloonTip([interval in millisec], [Title], [Text], [Icon])
Plz if someone could help me, i would be much Obliged. Thanx. Cya Bye!!
Devraj Raut!!!
|
|
|
|
|
Hi Guys!! I have a window in my Project which i minimize, which then goes in the System Tray. But when i restore the Window, the State of the Window is always the same. I want to know what i can do to save the WindowState before minimising, so that when i restore the window, it must restore in the earlier state.
For Eg. If the Window is Maximised first, and then i send it to the System Tray. Later when i restore the Window, it must be in Maximised State only. If the Window was not in Maximised state, then later when i restore the window, it must not be in the Maximised State.
If anybody understood what i just tried to explain, could someone tell me how it can be done. Thanx!! Bye!!
Devraj Raut!!!
|
|
|
|
|
Unfortunately, Forms don't have a Minimized event.
You'll need to catch the Form's SizeChanged event instead. This event will be raised on Minimize, Maximize, Restore, window size change, and on form load. You can detect whether or not the form is being minimized by checking the Form.WindowState property.
Private Sub myForm_SizeChanged(ByVal sender As Object, _
ByVal e As System.EventArgs)_
Handles MyBase.SizeChanged
If (Me.WindowState = FormWindowState.Minimized) Then
' Form has been minimized. Store settings here.
End If
End Sub
Recognize that this event will be raised when the user stretches the form too, so you'll need to handle that case.
|
|
|
|
|
Thanks man!! Your suggestion worked!! Thanx a Lot!! Code Project Rulez!!
Devraj Raut!!!
|
|
|
|
|
I'm glad I could help.
And welcome to CodeProject.
|
|
|
|
|
Hi Guys!! Its me again. Does anybody know how to add a Progress Bar to a ListView's ListViewItem. I want to display the Download Percentage of each Task in a ListViewItem in a Progress bar. Does anybody have any suggestions or Links i can use which can help me. Plz reply back if you Guys knowanything. Thanx a Lot. Im much Obliged.
Guys, Im having much more doubts, but i just dont want to stuff all Questions, in One Query, coz they are different from each other. PLz help me if u can. Thanx!! I have 4 to 5 Questions in all. Plz check them out if u wanna help. Thanx!!
Devraj Raut!!!
|
|
|
|
|