Click here to Skip to main content
15,921,531 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Event handler for "linked" controls Pin
dybs26-Apr-09 9:35
dybs26-Apr-09 9:35 
Questionread data from RS232 in C# windows Pin
narina24-Apr-09 22:51
narina24-Apr-09 22:51 
AnswerRe: read data from RS232 in C# windows Pin
Luc Pattyn25-Apr-09 0:10
sitebuilderLuc Pattyn25-Apr-09 0:10 
GeneralRe: read data from RS232 in C# windows Pin
narina25-Apr-09 0:46
narina25-Apr-09 0:46 
AnswerRe: read data from RS232 in C# windows Pin
dybs25-Apr-09 6:46
dybs25-Apr-09 6:46 
Questionhow to create a seperate form for searching data? Pin
riddhi8424-Apr-09 20:58
riddhi8424-Apr-09 20:58 
AnswerRe: how to create a seperate form for searching data? Pin
Ahamed Azeem25-Apr-09 21:34
Ahamed Azeem25-Apr-09 21:34 
GeneralRe: how to create a seperate form for searching data? Pin
riddhi8426-Apr-09 19:38
riddhi8426-Apr-09 19:38 
see, if i work on a single page then the searched records get loaded on to the same dataset and i can easily navigate b/w them. to ghat i code on this button, doeso bak to the original dataset, i hav to press a VIEW ALL button.
but the problem is dat wen im using a seperate page to search records and even if i code on the FIND button, then the query that i code on this button, does not get returned to the "form1.vb" page.
This is wat i hav already tried:

1. i declare a string on SEARCH.vb page :

Line1:- Public srch_query As String

2. then i phrase the query according to the parameters defined by the user:

Line2:- srch_query="select * from emp where ......."

3. now to check whether a criteria has been searched, i do the following:

Line3:- Dim Query As String = Search.srch_query
Line4:- cmd=new sqlcommand(query,cn)

followed by rest of the code.
But the problem is that whenever Search.srch_query is called in Line3, it only checks the value from Line1 ie declaration part, and does not even go to the Line2, and so throughout the session, the value of query = " ".

what i mean to ask dat wat should i do so that the value of the query is returned and not the initial declaration where srch_query = " ".

after this, the query string is treated as a blank and the records do not get searched. Frown | :(
GeneralRe: how to create a seperate form for searching data? Pin
Ahamed Azeem26-Apr-09 20:48
Ahamed Azeem26-Apr-09 20:48 
QuestionWindows service Crashing once a day Pin
bsandesh1124-Apr-09 4:59
bsandesh1124-Apr-09 4:59 
AnswerRe: Windows service Crashing once a day Pin
bsandesh1124-Apr-09 5:29
bsandesh1124-Apr-09 5:29 
AnswerRe: Windows service Crashing once a day Pin
Luc Pattyn24-Apr-09 6:38
sitebuilderLuc Pattyn24-Apr-09 6:38 
QuestionHTML to database Pin
digitaldxb23-Apr-09 22:38
digitaldxb23-Apr-09 22:38 
AnswerRe: HTML to database Pin
digitaldxb23-Apr-09 23:42
digitaldxb23-Apr-09 23:42 
QuestionHow to calculate the size of a MDI parent based on its MDI child form Pin
Deling Ren23-Apr-09 15:59
Deling Ren23-Apr-09 15:59 
QuestionHow to create Form which will be taked into account by other desctop appication like Microsoft Shared View Pin
Koltz22-Apr-09 22:48
Koltz22-Apr-09 22:48 
AnswerRe: How to create Form which will be taked into account by other desctop appication like Microsoft Shared View Pin
Koltz22-Apr-09 23:41
Koltz22-Apr-09 23:41 
QuestionMade changes to the reports after made exe Pin
pavankumar makena21-Apr-09 23:16
pavankumar makena21-Apr-09 23:16 
QuestionCode to Display Time on A Windows Form Pin
txmxax2519-Apr-09 12:07
txmxax2519-Apr-09 12:07 
AnswerRe: Ignore!!! - Cross Post Pin
Henry Minute19-Apr-09 13:21
Henry Minute19-Apr-09 13:21 
GeneralRe: Ignore!!! - Cross Post Pin
Luc Pattyn19-Apr-09 13:48
sitebuilderLuc Pattyn19-Apr-09 13:48 
GeneralRe: Ignore!!! - Cross Post Pin
txmxax2519-Apr-09 14:33
txmxax2519-Apr-09 14:33 
GeneralRe: Ignore!!! - Cross Post Pin
Luc Pattyn19-Apr-09 15:08
sitebuilderLuc Pattyn19-Apr-09 15:08 
GeneralRe: Ignore!!! - Cross Post Pin
Yusuf19-Apr-09 15:45
Yusuf19-Apr-09 15:45 
GeneralRe: Ignore!!! - Cross Post Pin
Christian Graus19-Apr-09 15:26
protectorChristian Graus19-Apr-09 15:26 

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.