Click here to Skip to main content
15,909,466 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSilverlight - First Impression Pin
martin_hughes25-Jun-07 8:54
martin_hughes25-Jun-07 8:54 
AnswerRe: Silverlight - First Impression Pin
Urs Enzler26-Jun-07 4:01
Urs Enzler26-Jun-07 4:01 
QuestionStored procedure to a data table? Pin
boyindie25-Jun-07 8:38
boyindie25-Jun-07 8:38 
AnswerRe: Stored procedure to a data table? Pin
Not Active25-Jun-07 9:26
mentorNot Active25-Jun-07 9:26 
GeneralRe: Stored procedure to a data table? Pin
boyindie25-Jun-07 12:14
boyindie25-Jun-07 12:14 
GeneralRe: Stored procedure to a data table? Pin
Not Active25-Jun-07 13:33
mentorNot Active25-Jun-07 13:33 
GeneralRe: Stored procedure to a data table? Pin
boyindie25-Jun-07 13:35
boyindie25-Jun-07 13:35 
QuestionAssign data value in GridView Template Pin
Hampden Tech25-Jun-07 8:25
Hampden Tech25-Jun-07 8:25 
I'm trying to assign a data value in a gridview template during the databind operation. I've replaced the Bind("column_name") with a custom function. In that function, I want to take one of the values from the datatable's rowset (a vendor number) and lookup the name for that vendor returning that as a string. The following code is what I am trying to accomplish.

<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# GetVendName() %</asp:Label>
</ItemTemplate>

I want GetVendName() to obtain the vendor number from the datatable and do a lookup returning the name of the associated vendor.

How can I reference the current VendorNumber column from the datatable object of the GridView during the "DataBind()" process in GetVendName()??

Thanks
AnswerRe: Assign data value in GridView Template Pin
MartyExodus25-Jun-07 8:44
MartyExodus25-Jun-07 8:44 
GeneralRe: Assign data value in GridView Template Pin
Hampden Tech25-Jun-07 8:48
Hampden Tech25-Jun-07 8:48 
GeneralRe: Assign data value in GridView Template Pin
Not Active25-Jun-07 9:24
mentorNot Active25-Jun-07 9:24 
QuestionLost HttpContext Pin
Fausto Lopez25-Jun-07 7:29
Fausto Lopez25-Jun-07 7:29 
QuestionButton Field in Grid view Pin
seemamltn25-Jun-07 7:07
seemamltn25-Jun-07 7:07 
AnswerRe: Button Field in Grid view Pin
gauthee25-Jun-07 18:36
gauthee25-Jun-07 18:36 
AnswerRe: Button Field in Grid view Pin
PrakashBhaskar25-Jun-07 18:40
PrakashBhaskar25-Jun-07 18:40 
QuestionResize Image in TreeView Pin
MartyExodus25-Jun-07 5:56
MartyExodus25-Jun-07 5:56 
QuestionConnectivity Issue Pin
Nikhil Bandekar25-Jun-07 5:54
Nikhil Bandekar25-Jun-07 5:54 
AnswerRe: Connectivity Issue Pin
Venkatesh Mookkan25-Jun-07 18:54
Venkatesh Mookkan25-Jun-07 18:54 
Questionopening a file n reading it Pin
ahsan201125-Jun-07 5:34
ahsan201125-Jun-07 5:34 
GeneralRe: opening a file n reading it Pin
Guffa25-Jun-07 5:39
Guffa25-Jun-07 5:39 
GeneralRe: opening a file n reading it Pin
ahsan201125-Jun-07 7:01
ahsan201125-Jun-07 7:01 
GeneralRe: opening a file n reading it Pin
Guffa25-Jun-07 7:40
Guffa25-Jun-07 7:40 
GeneralRe: opening a file n reading it Pin
ahsan201125-Jun-07 17:55
ahsan201125-Jun-07 17:55 
GeneralRe: opening a file n reading it Pin
Vasudevan Deepak Kumar25-Jun-07 22:14
Vasudevan Deepak Kumar25-Jun-07 22:14 
QuestionDo post your Articles here Pin
MussaratAziz25-Jun-07 4:22
MussaratAziz25-Jun-07 4:22 

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.