Yes This Is Possible. I think its a basic thing of .net developement. This is what is known as parameterized value passing.
On Sun, May 16, 2010 at 11:31 PM, Guilherme Utrabo <[email protected]> wrote: > Yes. You just need to fill the gaps. > > On 17 May 2010 05:10, Jamie Fraser <[email protected]> wrote: >> >> Is it possible? Of course it is. Will we write the code for you? No, we >> won't. >> >> >> On Sun, May 16, 2010 at 9:32 AM, 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 >> > } >> > } >> > } >> > > >
