Click here to Skip to main content
15,909,051 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Datagrid selection sync with fields. Pin
klaydze17-Apr-07 23:31
klaydze17-Apr-07 23:31 
QuestionWeb Browser- Local Pin
WLugo16-Apr-07 5:15
WLugo16-Apr-07 5:15 
AnswerRe: Web Browser- Local Pin
Dave Kreskowiak17-Apr-07 1:52
mveDave Kreskowiak17-Apr-07 1:52 
QuestionDatagrid Pin
Dayekh16-Apr-07 4:21
Dayekh16-Apr-07 4:21 
AnswerRe: Datagrid Pin
Dave Kreskowiak17-Apr-07 1:51
mveDave Kreskowiak17-Apr-07 1:51 
GeneralRe: Datagrid Pin
Dayekh17-Apr-07 2:06
Dayekh17-Apr-07 2:06 
GeneralRe: Datagrid Pin
Dave Kreskowiak17-Apr-07 3:44
mveDave Kreskowiak17-Apr-07 3:44 
GeneralRe: Datagrid Pin
Dayekh17-Apr-07 3:59
Dayekh17-Apr-07 3:59 
lol .. sorry for the confusion.

You are correct. Here are the steps that are involved with the creation of this datagrid:

1 - User Selects the column names from the webpage
2 - User clicks on "Run"
3 - The Application runs a SELECT query involing ONLY the selected Columns.
4 - User Enters a name into a Textbox and clicks on save.
5 - The application runs a "Create View" query to the database. This "Create View" query will have ONLY the columns selected.
6 - You return to the main report page. There is a dropdown list which is populated by data in a table which stores records about 'Saved' Reports(which the user has stored just now)
7 - The user then selects the report name which he just saved from the dropdown.
8 - The name from the dropdown refers to the view which was created.

A - All the views are dynamically created.
B - The same DataGrid is being used to display any of those views.
C - There is ONE column that a User may or may not select.
D - If he selects it, I want the contents of that column to be manipulated; Else forget about it.

Normally for a static set of data being retrieved, I use "e.item.cells().Text = something" for manipulation, but that syntax refers to a column which is in a fixed position and which is always there no matter what. BUT I am looking for some syntax which will target that particular column which may or may not be returned depending on whether the user has selected it.

I am very sorry for the confusion. If this does not make sense to you, don't worry about it any more. It may be too confusing to solve by communicating online.

Thanks a lot for your replies.
GeneralRe: Datagrid Pin
Dave Kreskowiak17-Apr-07 7:22
mveDave Kreskowiak17-Apr-07 7:22 
GeneralRe: Datagrid Pin
Dayekh17-Apr-07 11:12
Dayekh17-Apr-07 11:12 
QuestionHow to show video from DVR Card? Pin
somchoto16-Apr-07 4:05
somchoto16-Apr-07 4:05 
AnswerRe: How to show video from DVR Card? Pin
Dave Kreskowiak16-Apr-07 4:36
mveDave Kreskowiak16-Apr-07 4:36 
Questionvb dot net doubt Pin
shalinikannan16-Apr-07 2:12
shalinikannan16-Apr-07 2:12 
AnswerRe: vb dot net doubt Pin
kubben16-Apr-07 2:18
kubben16-Apr-07 2:18 
AnswerRe: vb dot net doubt Pin
Dave Kreskowiak16-Apr-07 3:31
mveDave Kreskowiak16-Apr-07 3:31 
QuestionConnection Error Pin
reykentj16-Apr-07 1:57
reykentj16-Apr-07 1:57 
AnswerRe: Connection Error Pin
kubben16-Apr-07 2:21
kubben16-Apr-07 2:21 
GeneralRe: Connection Error Pin
reykentj16-Apr-07 3:26
reykentj16-Apr-07 3:26 
AnswerRe: Connection Error Pin
Dave Kreskowiak16-Apr-07 3:29
mveDave Kreskowiak16-Apr-07 3:29 
GeneralRe: Connection Error Pin
reykentj16-Apr-07 4:13
reykentj16-Apr-07 4:13 
GeneralRe: Connection Error Pin
Dave Kreskowiak16-Apr-07 4:35
mveDave Kreskowiak16-Apr-07 4:35 
GeneralRe: Connection Error Pin
reykentj16-Apr-07 7:30
reykentj16-Apr-07 7:30 
QuestionImport Excel Data Pin
suveenmohan16-Apr-07 0:45
suveenmohan16-Apr-07 0:45 
AnswerRe: Import Excel Data Pin
Dave Kreskowiak16-Apr-07 3:25
mveDave Kreskowiak16-Apr-07 3:25 
QuestionDatagrid as Entry form Pin
nitin_ion16-Apr-07 0:33
nitin_ion16-Apr-07 0:33 

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.