I like to calculate the total to a field [trn_qty] from Dtb1 [Datatable]. For that any ideas...?
My Query is
Dim Numbers = Dtb1.AsEnumerable()
Dim SvQy = (From n In Numbers Select n.Field(Of Decimal)("trn_qty")).Sum()
But Iam not getting any O/P. Also I don't know whether its correct or...
dim DcDtb as new datatable
dim SlCm As New DataGridViewTextBoxColumn, MgpCm As New DataGridViewTextBoxColumn, ImCm As New DataGridViewComboBoxColumn
DataGridView1.DataSource = DCDtb
DataGridView1.Columns.Remove("sl_no")
DataGridView1.Columns.Remove("mgp_sln")...
Hi,
I like to know to split a string value from a mixed value
suppose
Dim MyStr As String = "Check121"
Dim Regex As String = Space(15)
For i1 As Integer = 0 To MyStr.Length - 1
If Not IsNumeric(MyStr.Substring(i1, 1)) Then
Regex = Trim(Regex) + MyStr.Substring(i1, 1)
End If
Next
Now the...
I want to add pictures to my office document, for Page Header & Page Footer, Is it possible?
Any sample codes?
Dim MSWord As New Word.Application
Dim WordDoc As New Word.Document
WordDoc = MSWord.Documents.Open("C:\Test\sample.Doc")
Thanks
Hi,
I want to paste Texts & Table from RichTextBox to Email Body.
Is it possible?
Dim mm As New System.Net.Mail.MailMessage(FrmMail, ToAddress)
blah...blah...blah...
richtextbox5.copy
mm.body=richtextbox5.paste ???????????
Suppose mm.body=richtextbox5.text is not displaying the table...
I have completed a small project, and created setup.exe-thru publish tab. now I want to give it to my remote users not connected with LAN & Domain.
I came to know this setup.exe can usefull for remote access of this application. But I don't know what are all the services required to run?
And...
I have created a crystal report with my project. With my Cr.Report, PageHeader Section and Details Band I have some labels and database field no problem.
But the problem is on Report Footer, once I keep any field there it's not showing its value..But the same field if I keep in Details or...
With my project I have created a small splash screen called splashscreen1.vb
Im my project form2-is startup form [MDI-Parent].
So where I have to mention this splash screen to load first?
And how many forms can be included with one project?
Thanks
I have build a small project in vb.net 2008 and after publishing, when I check from the users machine first it's showing the image for connectivity and showing the image "Launching Application" and then my program is running...So how to display off this first image?
Any ideas?
ThankYou
Just I find our RiverGuy's reply...
http://www.tek-tips.com/viewthread.cfm?qid=1513923&page=4
Really our River is good to the learners around the globe, who like to drink vb.net
I have a datatble with datagridview
dim my_table as new Datatable
my_table.columns.add("Srl_no",type.gettype("system.int32"))
my_table.columns.add("Employee Name",type.gettype("system.string"))
my_table.columns.add("Basic_salary",type.gettype("system.decimal"))...
I want to send emails from vb.net 2008. But the thing is some of my users are using outlook some are not using outlook. So which is the best way for sending mails?
Any Ideas For Me?
Thanks
I have a DatagridView with 10-columns and Allow user to add new row is True.
But the problem is when the user entering the data's in new row's from the last row, when they
entered the data in 4th cell, they like to save the data.
But it's not saving, the uncompleted last row.
Iam using the...
Hi,
I want to update the table like the following manner.
Field "Item_Description" is having the data's
ASMITEMS for department
BSDBILL -systems
RVF..........
ASM..........
TYP........
BSD..............
ASM..................
THANKS
But I want to update like the "itm_code" by following...
Hi,
With My datagridview
Allowuser ToAddrows=true
Allowuser ToDeleterows=true
dim dsf_52 As New DataSet, dtbf_52 As New DataTable,daf52 As SqlDataAdapter
Dim Comd_52 As String = "select sec_erb_id.emp_id,emp_master.fir_name,sec_erb_id.sec_id_no from sec_erb_id,emp_master where...
Hi,
With my datagridview I have column for datetime. I used the following for format.
Mydatagrid1.Columns(3).DefaultCellStyle.Format = "dd/MM/yyyy"
But the problem is it's getting input like MM/dd/yyyy and after pressing enter it's changing to dd/mm/yyyy style.
So is it possible to read input...
Hi,
With My Datagridview - I have a column for date. and it's defaut format is mm/dd/yyyy. But Iam looking to read the date by "dd/mm/yyyy" format. Also if the user feed wrong date format then it has to display my Error message. "INVALID DATE"
Any Ideas Will be appreciated.
THANKS
Hi,
With my form I have a datagridview, and from the datatable the data's are loading to datagridview.
But the problem is when it's getting focus, it's selecting the whole contents of the cell of column(0) & Row(0).
But I want to select like textbox
TextBox12.SelectionStart = 0...
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.