T
trint
i have a gridview that I want to fill with a combination of sql and
strings:
foreach (XmlNode rate in rates)
{
the first column needs to be "/images/ups.gif" every time.
the second column, I'll get from sql server with a select. the result
will be like "Next Day Air", "2nd Day Air" or something like that.
the third column will be the total charges that i have in a string
totalCharges.
string firstColumn = "/images/ups.gif";
string secondColumn = "2nd Day Air";
string thirdColumn = "75.44";
}
I know how to get each of these in this foreach loop, but I don't know
how to create a datasource for the gridview to bind to.
Any help is appreciated.
Thanks,
Trint
strings:
foreach (XmlNode rate in rates)
{
the first column needs to be "/images/ups.gif" every time.
the second column, I'll get from sql server with a select. the result
will be like "Next Day Air", "2nd Day Air" or something like that.
the third column will be the total charges that i have in a string
totalCharges.
string firstColumn = "/images/ups.gif";
string secondColumn = "2nd Day Air";
string thirdColumn = "75.44";
}
I know how to get each of these in this foreach loop, but I don't know
how to create a datasource for the gridview to bind to.
Any help is appreciated.
Thanks,
Trint