are you trying to use VB or C#? what exactly are you trying to retrieve from the database?
On May 16, 2010, at 7:24 AM, Cerebrus wrote: > Is what possible ? Compiling the below code ? I'd say no, because it > contains mostly pseudocode. > > On May 16, 1:32 pm, Awais <[email protected]> wrote: >> Is it possible or how can i achive this? or tell me plz alternative >> solution. Thanks in advance. >> >> protected void btsignup_Click(object sender, EventArgs e) >> { >> >> if (Page.IsValid) >> { >> database open >> >> //some DataBase stuff (here i want to use *Insert >> Query*) >> >> databe close >> >> *my_function_call*( some_var); >> >> public void *my_function_call*(string some_var) >> { >> database open >> >> //some DataBase stuff (here i want to use *Select >> Query*) >> >> databe close >> >> } >> } >> >> >> >> }- Hide quoted text - >> >> - Show quoted text -
