Code:
<td>
<span>Sex: </span>
</td>
<td>
<span id="Sex_PDLabel" runat="server"></span>
</td>
<td>
<span>Sex: </span>
</td>
<td>
<span id="Sex_PDLabel" runat="server"></span>
</td>
Dim c As DataGridViewComboBoxColumn
Dim cmd2 As New SqlCommand("select desigID,DName from Designation_tbl where deleted=0", con.connect)
cmd2.CommandType = CommandType.Text
Dim objdataadapter As New SqlDataAdapter(cmd2)
Dim results As New DataSet
Dim dtimage As Image
{
using (MemoryStream ms = new MemoryStream(rv.Row.Field<byte[]>("empimage"))) {
dtimage = new Bitmap(ms);
}
}
adapter.UpdateCommand == new SqlCommand("update DepartmentMaster_tbl set dtName = @dtName,dtPhone = @dtPhone,dtEmail
Dim cd As SqlCommandBuilder = New SqlCommandBuilder(adapter)
adapter = New SqlDataAdapter("select c.cid,c.CompanyName,d.dtId,d.dtName as Department,d.dtPhone as Phone,d.dtEmail as Email,d.empimage from CompanyMaster_tbl c join DepartmentMaster_tbl d on c.Cid=d.cId order by cid", con.connect)
If e.ColumnIndex = 4 Then
Dim OFDLogo As New OpenFileDialog()
OFDLogo.Filter = "JPEG(*.jpg)|*.jpg|BMP(*.bmp)|*.bmp"
If OFDLogo.ShowDialog() = DialogResult.OK Then
gv.Rows(e.RowIndex).Cells(4).Value = Image.FromFile(OFDLogo.FileName)
End If
Dim cid As Integer
Dim dtid As Integer
Dim cmpname As String
Dim dtname As String
Dim dtPhone As String
Dim dtEmail As String
Dim dtimage As Image
For i As Integer = 0 To gv.RowCount - 2
ALTER procedure [dbo].[carcallvalidation]
@carid nvarchar(100)=null
as
begin
select t.TBarcode, t.Paid,t.Status,t.DelDate from Transaction_tbl t where TBarcode=@carid
declare @transid integer=null
select @transid= t1.transactID from Transaction_tbl t1 where TBarcode=@carid
select count(k.transactid) transid from KHanger_tbl k where