i have this problem in declaring parameter in stored proc.
btw i'm using mssql 2000
the usual thing to do is
@name varchar(50)
insert into sampletable values(@name)
but what i want is to declare a parameter inside a condition or declaring a parameter that are not global
@ident int
if...
this what i have so far.
Dim t As New DataGridTextBoxColumn()
t.MappingName = "price"
t.Format = "c"
but i want to remove the $ sign.
how can i figure that out?
hi good day to everyone
I just want to know what is the behavior of crosstab in crystal reports.
I have this problem and i dont know if this a bug or what. I have a data then i use cross-tab in displaying them. My problem goes in printing it only prints the first page and cross-tab only see 1...
hi to everyone..
how to disable the headerbutton of the datagrid? Disallow sorting of the datagrid, i have this code but it wont work..
visual basic code:
datagrid1.allowsorting = false
any sugg's are greatly appreciated:
thanks in advance.
halu to everyone. i have this problem on how to subtract the amount from the listview.
i have a form and a listview w/ 2 columns(amount and types of payment) and a textbox name:txttotalamount.
i have a function on how to remove a selected item in the listview w/ the use of context menu...
i have this code from c# and i dont know how to do this in the vb.net
DataColumn cCustID = new DataColumn("CustID", typeof(int));
thanks in advance mate...:cool:
instantiation(solve)
why it cannot instantiate the form?
what's wrong w/ it?
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click
Dim f As Form1
checkinstantiation(f)
End Sub
Function checkinstantiation(ByVal...
hi to everyone,
I have this problem. how can i search to the datagrid w/ the use of textbox value?
f.e. when the user input name in the textbox and press the enterkey i want to get focus to the datagrid of what value that are in textbox.
thanks in advance...
hi to everyone,
i have a forms w/ corresponding tabpages in tabcontrol.
what i want is when the user click the tabpage using rightbutton of the mouse the tabpage will get focus.
i cant figure it out..
thanks in advance and more power..:)
hi to everyone,
i would like to ask this stupid question that given me an headache an hour ago..
how to get a string where the cursor is located..
i.e..if i type "wherever will go" and the cursor is in "i" of will...i want to get the string will....
hope i explain it will
thanks...
hi,
i have a form and two richtextbox
what i want is when scrolling in the richtextbox1 the richtextbox2 will follow..
hope it explains will...
thanks in advance and more power..
picturebox [solved]
hi to everyone..good day
i have a form w/ corresponding pictureboxes: picturebox1 and picturebox2
in picturebox1 there is an image
what i want is the user can drag the image to picturebox2 and drop...vice versa
thanks and more power...:cool:
im...
halu...i've would like to hide and show the start button in the taskbar
i've search it in google but still it doesnt work.
any help would be greatly appreciated.
tanx and more power.:)
halu. im a newbie
i used datagrid to place multiple tables w/ corresponding data from the database
i could update the first table and it saves into the database what i've change but when i'm going to update the second table it gives me an error: missing the datacolumn "code" in the Datatable...
halu i'll make a stop watch
here's the code
dim startime as datetime
Private Sub timertick_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles timertick.Tick
Dim span As TimeSpan = Date.Now.Subtract(startime)
Label1.Text = span.Hours.ToString & " : " &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.