Click here to Skip to main content
15,914,111 members

Smokeywade - Professional Profile



Summary

    Blog RSS
10
Authority
18
Debator
10
Enquirer
24
Organiser
652
Participant
0
Author
0
Editor
National Marker Company

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
QuestionHow to call an event in datagrid Pin
Smokeywade9-Nov-07 3:07
Smokeywade9-Nov-07 3:07 
QuestionHow to scroll to found item in a treeview or a listview? Pin
Smokeywade23-Oct-07 4:47
Smokeywade23-Oct-07 4:47 
AnswerRe: How to scroll to found item in a treeview or a listview? Pin
Koltz26-Oct-07 6:45
Koltz26-Oct-07 6:45 
GeneralRe: How to scroll to found item in a treeview or a listview? Pin
Smokeywade26-Oct-07 6:58
Smokeywade26-Oct-07 6:58 
QuestionHelp with Treelist View Pin
Smokeywade12-Oct-07 8:36
Smokeywade12-Oct-07 8:36 
GeneralVB.NeT error Specified Argument Was out of Range Pin
Smokeywade10-Sep-07 11:40
Smokeywade10-Sep-07 11:40 
I get this error below
Specified Argument was out of range of valid values Prameter Name: column Index

I got a nested table using datarelations -
I get the error above on click when I'm viewing the child table - what my table does on click is get a value of a column of the master table in the grid and place it in a text box. how will I get it so that on click will be disabled when looking at the nested child table? here is my code

'On load I'm connecting and viewing tables
Dim command1 As New SqlCommand("Select * FROM LateOrders_Header_view", cnn1)<br />
        Dim command2 As New SqlCommand("Select * from LateOrders_Line_view", cnn1)<br />
        'Dim SqlReader As SqlDataReader<br />
        Try<br />
            cnn1.Open()<br />
<br />
            'Debug.WriteLine(cnn1.ConnectionString)<br />
            Dim dt As New DataTable("LateOrders_Header_view")<br />
            'dgOrderReport.DataSource = dt<br />
            Dim DirAdapter As New SqlDataAdapter(command1)<br />
            Dim DirAdapter2 As New SqlDataAdapter(command2)<br />
            Dim dc1 As DataColumn<br />
            Dim dc3 As DataColumn<br />
<br />
            MyDataSet = New DataSet<br />
            DirAdapter.TableMappings.Add("table1", "LateOrders_Header_view")<br />
            DirAdapter.TableMappings.Add("table2", "LateOrders_line_view")<br />
<br />
            DirAdapter.Fill(MyDataSet, "LateOrders_Header_view")<br />
            DirAdapter2.Fill(MyDataSet, "LateOrders_Line_view")<br />
<br />
            dc1 = MyDataSet.Tables("LateOrders_Header_view").Columns("order_no")<br />
            dc3 = MyDataSet.Tables("LateOrders_Line_view").Columns("order_no")<br />
<br />
            Dim datarelation As DataRelation<br />
            datarelation = New DataRelation("Line View", dc1, dc3, False)<br />
            'datarelation.Nested = True<br />
            dc3.ReadOnly = True<br />
            MyDataSet.Relations.Add(datarelation)<br />
<br />
<br />
            dgOrderReport.DataSource = MyDataSet.DefaultViewManager '.CreateDataView.Tables("LateOrders_Header_view").DefaultView<br />
            dgOrderReport.DataMember = "LateOrders_header_view"


'On Click view contents of selected column in grid and place into textbox
    Private Sub dgOrderReport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgOrderReport.Click<br />
        Try<br />
            txtReason.Text = dgOrderReport.Item(dgOrderReport.CurrentRowIndex, 4) & ""<br />
            txtReason.Enabled = False<br />
            chkReason.Checked = False<br />
<br />
        Catch ex As Exception<br />
            MessageBox.Show(ex.Message)<br />
        End Try<br />
<br />
    End Sub


How will I let it know that onclick is not for second table? Thanks

Thank You

AnswerRe: VB.NeT error Specified Argument Was out of Range Pin
Smokeywade12-Sep-07 2:56
Smokeywade12-Sep-07 2:56 

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.