Click here to Skip to main content
15,900,378 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: visual basic .net Pin
Dave Kreskowiak1-Sep-06 6:34
mveDave Kreskowiak1-Sep-06 6:34 
Questionprogramming newbie Pin
themusicman91-Sep-06 5:15
themusicman91-Sep-06 5:15 
AnswerRe: programming newbie Pin
Dave Kreskowiak1-Sep-06 6:33
mveDave Kreskowiak1-Sep-06 6:33 
AnswerRe: programming newbie Pin
The ANZAC3-Sep-06 2:02
The ANZAC3-Sep-06 2:02 
GeneralRe: programming newbie Pin
EvoFreak4-Sep-06 11:01
EvoFreak4-Sep-06 11:01 
Questionmodifing parameters in select command Pin
dptalt1-Sep-06 3:53
dptalt1-Sep-06 3:53 
AnswerRe: modifing parameters in select command Pin
Colin Angus Mackay1-Sep-06 4:30
Colin Angus Mackay1-Sep-06 4:30 
GeneralRe: modifing parameters in select command Pin
dptalt1-Sep-06 6:56
dptalt1-Sep-06 6:56 
Well, VB generated the code. Here is what I did:

- Created a data source in the Data Source window.
- Opened up the data source in the Solution Explorer.
- Highlited the Table Adapter on the data source object.
- Modified the Command Text propery by setting a field filter equal to '=?'
- VB automatically generates a Parameter for the field filter.

To populate the data table I do this:

MyTableAdapter.fill(MyDataSet.MyDataTable, companyvalue)

It fills the table with records that match the value of companyvalue.

My questions how can I modify the Commant Text and Parameter in code. After the code modifies this I can change the parameter to something else. For example

MyTableAdapter.fill(MyDataSet.MyDataTable, cityvalue)


GeneralRe: modifing parameters in select command Pin
Colin Angus Mackay1-Sep-06 10:55
Colin Angus Mackay1-Sep-06 10:55 
QuestionHow we will check wherther a folder is present in treeview or not Pin
Sanjaya kumar dhar1-Sep-06 2:58
Sanjaya kumar dhar1-Sep-06 2:58 
AnswerRe: How we will check wherther a folder is present in treeview or not Pin
Coding C#1-Sep-06 4:43
Coding C#1-Sep-06 4:43 
QuestionOpen word Pin
eyalso1-Sep-06 2:49
eyalso1-Sep-06 2:49 
AnswerRe: Open word Pin
KreativeKai7-Sep-06 9:15
professionalKreativeKai7-Sep-06 9:15 
Questionconverting numeric currency into corresponding words format Pin
Pradip Kishore1-Sep-06 2:17
Pradip Kishore1-Sep-06 2:17 
AnswerRe: converting numeric currency into corresponding words format Pin
Dave Kreskowiak1-Sep-06 2:54
mveDave Kreskowiak1-Sep-06 2:54 
QuestionWrite in command window Pin
nitin_ion1-Sep-06 1:18
nitin_ion1-Sep-06 1:18 
AnswerRe: Write in command window Pin
Davelister3-Sep-06 7:17
Davelister3-Sep-06 7:17 
GeneralRe: Write in command window Pin
nitin_ion3-Sep-06 7:36
nitin_ion3-Sep-06 7:36 
QuestionHelp with Errors in Vb.NET Pin
Tokorie31-Aug-06 23:32
Tokorie31-Aug-06 23:32 
QuestionDAO Access 2003 Connectivity Problem Pin
manish2431-Aug-06 22:15
manish2431-Aug-06 22:15 
AnswerRe: DAO Access 2003 Connectivity Problem Pin
hannesHTG31-Aug-06 22:52
hannesHTG31-Aug-06 22:52 
AnswerRe: DAO Access 2003 Connectivity Problem Pin
Dave Kreskowiak1-Sep-06 2:49
mveDave Kreskowiak1-Sep-06 2:49 
GeneralRe: DAO Access 2003 Connectivity Problem Pin
manish241-Sep-06 3:33
manish241-Sep-06 3:33 
QuestionOpen Calculator Pin
ghost18131-Aug-06 20:42
ghost18131-Aug-06 20:42 
AnswerRe: Open Calculator Pin
CWIZO31-Aug-06 22:54
CWIZO31-Aug-06 22:54 

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.