Code

Discussion in 'ASP .Net Datagrid Control' started by anonymous, Jan 11, 2005.

  1. anonymous

    anonymous Guest

    The code below is workin OK.but I wanted to look
    better.Please help me.
    Dim ds As DataSet = GetData()
    If Not ds Is Nothing Then
    .DataSource = GetData()
    Else
    .DataSource = GetData2()
    End If
    .DataBind()
    anonymous, Jan 11, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ron
    Replies:
    1
    Views:
    2,694
    Showjumper
    Jun 24, 2003
  2. Ian
    Replies:
    0
    Views:
    1,378
  3. Ben Miller [msft]

    Re: Code Behind vs. no code behind: error

    Ben Miller [msft], Jun 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    566
    Alphonse Giambrone
    Jun 28, 2003
  4. =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=

    Fire Code behind code AND Javascript code associated to a Button Click Event

    =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=, Feb 10, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    21,177
    =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=
    Feb 11, 2004
  5. keithb
    Replies:
    1
    Views:
    888
    Bruce Barker
    Mar 29, 2006
Loading...

Share This Page