Click here to Skip to main content
15,896,154 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Progress of Linq.Table loading Pin
Eddy Vluggen30-Dec-11 11:00
professionalEddy Vluggen30-Dec-11 11:00 
GeneralRe: Progress of Linq.Table loading Pin
Sonhospa31-Dec-11 10:54
Sonhospa31-Dec-11 10:54 
AnswerRe: Progress of Linq.Table loading Pin
Eddy Vluggen31-Dec-11 11:28
professionalEddy Vluggen31-Dec-11 11:28 
Questionhow to find a winform by name in VS project? Pin
sanyexian26-Dec-11 14:25
sanyexian26-Dec-11 14:25 
AnswerRe: how to find a winform by name in VS project? Pin
Luc Pattyn26-Dec-11 14:37
sitebuilderLuc Pattyn26-Dec-11 14:37 
QuestionUpdate Child Nodes in Vb.net Pin
εїзεїзεїз25-Dec-11 19:28
εїзεїзεїз25-Dec-11 19:28 
AnswerRe: Update Child Nodes in Vb.net Pin
RobCroll27-Dec-11 15:44
RobCroll27-Dec-11 15:44 
QuestionError while convert C# to VB Pin
Member 829391525-Dec-11 5:30
Member 829391525-Dec-11 5:30 
what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
Imports System 
Imports System.Collections 
Imports System.Configuration 
Imports System.Data 
Imports System.Web 
Imports System.Web.Security 
Imports System.Web.UI 
Imports System.Web.UI.HtmlControls 
Imports System.Web.UI.WebControls 
Imports System.Web.UI.WebControls.WebParts 
Imports Tawammar.CustomControls 
Partial Class Filter 
Inherits System.Web.UI.Page 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) 
DataFilter2.DataSource = SqlDataSource2 
DataFilter2.DataColumns = GridView1.Columns 
DataFilter2.FilterSessionID = "Default.aspx" 
DataFilter2.OnFilterAdded += (DataFilter2.OnFilterAdded + New 
DataFilter.RefreshDataGridView(DataFilter2_OnFilterAdded)) 
End Sub 
Protected Overrides Sub OnLoadComplete(ByVal e As EventArgs) 
If Not Page.IsPostBack Then 
DataFilter2.BeginFilter() 
DataFilter2.AddNewFilter("Emp_ID", "Emp_Name", "Dav") 
End If 
End Sub 

Private Sub DataFilter2_OnFilterAdded() 
Try 
DataFilter2.FilterSessionID = "Default.aspx" 
DataFilter2.FilterDataSource() 
GridView1.DataBind() 
Catch e As Exception 

End Try 
End Sub


i know the erorr in
DataFilter2.OnFilterAdded += new DataFilter.RefreshDataGridView(DataFilter2_OnFilterAdded);

I have to use AddHandler statement but i dont know how i sepnt two days but Unfortunately I still new in VB programming
AnswerRe: Error while convert C# to VB Pin
Luc Pattyn25-Dec-11 12:24
sitebuilderLuc Pattyn25-Dec-11 12:24 
QuestionExample Api hook for ExitWindowsEx Pin
Edbanger196124-Dec-11 6:29
Edbanger196124-Dec-11 6:29 
AnswerRe: Example Api hook for ExitWindowsEx Pin
Luc Pattyn25-Dec-11 12:27
sitebuilderLuc Pattyn25-Dec-11 12:27 
GeneralRe: Example Api hook for ExitWindowsEx Pin
Edbanger196125-Dec-11 19:52
Edbanger196125-Dec-11 19:52 
QuestionLooking for developers to help in free and opensource project Pin
Constantinos Coudounaris23-Dec-11 8:39
Constantinos Coudounaris23-Dec-11 8:39 
AnswerRe: Looking for developers to help in free and opensource project Pin
Dalek Dave23-Dec-11 9:52
professionalDalek Dave23-Dec-11 9:52 
Answer[resolved] Update form from other thread Pin
Sonhospa22-Dec-11 22:34
Sonhospa22-Dec-11 22:34 
QuestionRe: Update form from other thread Pin
Richard MacCutchan22-Dec-11 22:50
mveRichard MacCutchan22-Dec-11 22:50 
AnswerRe: Update form from other thread Pin
Sonhospa23-Dec-11 0:16
Sonhospa23-Dec-11 0:16 
GeneralRe: Update form from other thread Pin
Richard MacCutchan23-Dec-11 0:42
mveRichard MacCutchan23-Dec-11 0:42 
GeneralRe: Update form from other thread Pin
Sonhospa23-Dec-11 1:02
Sonhospa23-Dec-11 1:02 
AnswerRe: Update form from other thread Pin
Shameel22-Dec-11 23:18
professionalShameel22-Dec-11 23:18 
GeneralRe: Update form from other thread Pin
Sonhospa23-Dec-11 0:05
Sonhospa23-Dec-11 0:05 
GeneralRe: Update form from other thread Pin
Shameel23-Dec-11 0:31
professionalShameel23-Dec-11 0:31 
GeneralRe: Update form from other thread Pin
Sonhospa23-Dec-11 0:36
Sonhospa23-Dec-11 0:36 
GeneralRe: Update form from other thread Pin
Shameel23-Dec-11 1:02
professionalShameel23-Dec-11 1:02 
GeneralRe: Update form from other thread Pin
Sonhospa23-Dec-11 1:03
Sonhospa23-Dec-11 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.