Click here to Skip to main content
15,909,737 members
Home / Discussions / C#
   

C#

 
QuestionXML attribute Pin
ytubis25-Aug-07 5:30
ytubis25-Aug-07 5:30 
QuestionTime elapsed since user logged in Pin
Lutosław25-Aug-07 5:25
Lutosław25-Aug-07 5:25 
AnswerRe: Time elapsed since user logged in Pin
Hessam Jalali25-Aug-07 12:16
Hessam Jalali25-Aug-07 12:16 
GeneralRe: Time elapsed since user logged in Pin
Lutosław25-Aug-07 23:21
Lutosław25-Aug-07 23:21 
GeneralRe: Time elapsed since user logged in Pin
Hessam Jalali26-Aug-07 0:26
Hessam Jalali26-Aug-07 0:26 
GeneralRe: Time elapsed since user logged in Pin
Lutosław26-Aug-07 0:51
Lutosław26-Aug-07 0:51 
GeneralRe: Time elapsed since user logged in Pin
Hessam Jalali28-Aug-07 10:39
Hessam Jalali28-Aug-07 10:39 
QuestionProblem to Loading Data via Another Form. Pin
hdv21225-Aug-07 4:49
hdv21225-Aug-07 4:49 
hi i have a Main_form and Detail_form.
in my Main_form, i have a public method as 'LoadData' to load data and show it in gridView, here is my method code :
public void LoadData()<br />
        {<br />
            this.gridControl1.DataSource = null;<br />
            DataAccess.Command.CommandText = "SELECT * FROM v_fish_grid";<br />
            DataAccess.Command.CommandType = System.Data.CommandType.Text;            <br />
            if (DataAccess.Connection.State == ConnectionState.Closed)<br />
                DataAccess.Connection.Open();<br />
            DataAccess.Reader = DataAccess.Command.ExecuteReader();<br />
            this.dt.Load(DataAccess.Reader);<br />
            DataAccess.Reader.Close();<br />
            if (DataAccess.Connection.State == ConnectionState.Open)<br />
                DataAccess.Connection.Close();<br />
            this.gridControl1.DataSource = this.dt.DefaultView;<br />
        }

in Detail_form, i want when user insert,update or delete data,call the LoadData method in Main_form from Detail_form, i do this but my gridView's records was not update(i trace my LoadData method in runTime and dt object get recoreds but i don't know why my data does not load in gridView)
How to solve My problem ? thanks
QuestionTag name Pin
ytubis24-Aug-07 23:44
ytubis24-Aug-07 23:44 
AnswerRe: Tag name Pin
Christian Graus25-Aug-07 0:49
protectorChristian Graus25-Aug-07 0:49 
AnswerRe: Tag name 2 Pin
Luc Pattyn24-Aug-07 23:35
sitebuilderLuc Pattyn24-Aug-07 23:35 
GeneralRe: Tag name 2 Pin
hdv21225-Aug-07 7:56
hdv21225-Aug-07 7:56 
GeneralRe: Tag name 2 Pin
Luc Pattyn25-Aug-07 8:21
sitebuilderLuc Pattyn25-Aug-07 8:21 
GeneralRe: Tag name 2 Pin
Paul Conrad25-Aug-07 9:26
professionalPaul Conrad25-Aug-07 9:26 
AnswerRe: Tag name Pin
Luc Pattyn24-Aug-07 23:33
sitebuilderLuc Pattyn24-Aug-07 23:33 
GeneralRe: Tag name Pin
ytubis24-Aug-07 23:45
ytubis24-Aug-07 23:45 
Questionwebhosting Pin
kalyan_241624-Aug-07 22:53
kalyan_241624-Aug-07 22:53 
Answerummk Pin
invalidsyntax101025-Aug-07 7:28
invalidsyntax101025-Aug-07 7:28 
QuestionHow to catch Url from internet explorer in my Downloader? Pin
Pinkesh Gandhi24-Aug-07 22:50
Pinkesh Gandhi24-Aug-07 22:50 
QuestionReusing a socket Pin
Chals24-Aug-07 22:30
Chals24-Aug-07 22:30 
Question)c# Pin
lankaudaranga24-Aug-07 22:20
lankaudaranga24-Aug-07 22:20 
AnswerRe: )c# Pin
Christian Graus25-Aug-07 0:50
protectorChristian Graus25-Aug-07 0:50 
GeneralRe: )c# Pin
Paul Conrad25-Aug-07 9:28
professionalPaul Conrad25-Aug-07 9:28 
Questionc# Pin
lankaudaranga24-Aug-07 22:10
lankaudaranga24-Aug-07 22:10 
AnswerRe: c# Pin
Rami Said Abd Alhalim25-Aug-07 2:57
Rami Said Abd Alhalim25-Aug-07 2:57 

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.