Click the rowheader in data grid view then press delete button in keyboard
U select currect row as below from data table
Dim Dr As DataRow
Dr = DtSalesReport.R ows.Item(dgvSal esReport.Curren tRow.Index)
Dr.Delete()
DtSalesReport.A cceptChanges()...
User Profile
Collapse
-
Hi
Thanks I got some ideas from your code. I will try this code. Surely it will be help to me. I reply after i test this code with my code
Once again thanks...Leave a comment:
-
I tried all possible ways. But i couldnt get anything. Let me give any example it will help to me....Leave a comment:
-
-
Object accessed from another Class
In vb.net i create two classes. In First class i define a property to return a single value and in second class define one function it get values from property and return a single value. I call the function when i click the button.
I create a object for property and use this object to call the property when i press enter in form after entering the number in text box. Values can be insert properly using first class(property) and... -
Yes i read that link what u post at last. Then i change the integer data type to long data type.
Thanks for your reply...Leave a comment:
-
I try in key up event no improvements, If i use
new string(textbox1 .text)
it shows exception "converison from string to integer type is not valid ".
[code=vbnet]
For i As Integer = 0 To FirstMatrixArra y.GetUpperBound (0)
For j As Integer = 0 To FirstMatrixArra y.GetUpperBound (0)
'value = CInt(txtFirstIn put.Text)
...Leave a comment:
-
Can u try this also
window(x,y). Window(40,80) but you include windows.h
Hope it helps.Leave a comment:
-
VB.NET App: store a value in vb.net at run time
Is Possible to store a value to declared Variable from Text Box at run time. I want to store a value from Text Box in 2 dimension array. First Value can be sotred in variable(0,0). If i press enter text box will be cleared and get another number and it stored in variable(0,1) and so on
I try like this, but not working any problem in this code
[code=vbnet]
For i As Integer = 0 To 1
For... -
Using Try Catch Block to rectify this problem
But in Catch you wont catch and display the exception message. In Catch you throw the exception. I too got this warning i think its not error, am i right. In Function we return some values thats why we wont catch the exception.
wrtie this code
try
your code
catch
Throw ex // important
end tryLeave a comment:
-
Using Try Catch Block
But in Catch you wont catch and display the exception message. In Catch u throw the exception. I too got this warning i think its not error, am i right. In Function we return some values thats why we wont catch the exception.
wrtie this code
try
your code
catch
Throw ex // important
end try...Leave a comment:
-
Ya, i tried using ampersand symbol before the character in Text Property of the Button Control. Actually i need this in Child Form Button. When i click Alt Key it focus to the Parent form, any need to change the Focus between these two forms.
Any suggesstion about this...!
Hope your replyLeave a comment:
-
-
Hi
Create a ToolTip Text while you mouse over your button control. You write this code in Button_MouseHov er Event. Try this code as below
[CODE=vbnet]Dim tooltip As New ToolTip
tooltip.IsBallo on = True
tooltip.UseAnim ation = True
tooltip.ToolTip Title = "Title"
tooltip.SetTool Tip(Button1, "Tool Tip Message ")[/CODE]
...Leave a comment:
-
Shortcut Keys for Button in vb.net
Hi
How can i create shortcut keys for Button Controls in vb.net. I am using MDI form and Child Form. I want to create shortcut key for button in ChildForm. Actually i created but when i press Alt it focus to MDI form Only. Whether its right or wrong
Hoper your reply -
Hi Sorry little bit i confused. Then sit back and think My output is correct
Thanks for your reply...Leave a comment:
-
Hi CONIO.H stands for Console Input Output header file. It contains
printf , scanf , getch(), clrscr(), window() etc etc
It contains processing input output related library functions....Leave a comment:
-
No error in your program. Its runs safely. What compiler u r using. I copy your code and run in VC++ compiler.
What error u get
regards,
karthickbabu...Leave a comment:
-
karthickbabu replied to how to validating a textbox using regular expression validator inside update panelin .NETLet me know what u check in that. Can u tell few more details about this....Leave a comment:
-
Convert integer to decimal in vb.net
Hi
In my application i want to convert integer to decimal. I get a input and using convert function to convert into decimal. But it shows as it self. My code like as below, Is any wrong in my code
dim input as long // I declare as long
dim decimaloutput as decimal
decimaloutput = Convert.ToDecim al(input)
label1.text = decimaloutput.T oString()
Sample output...
No activity results to display
Show More
Leave a comment: