narasiman rao

narasiman rao

  • NA
  • 519
  • 768.5k

how to display first and last word into textbox

Aug 22 2015 7:11 AM
 
 
  Company table as follows

Compid         Compname
1                       Mask

I have one textbox as follows
Company_username           textbox1

I have gridview as follows
In gridview i show record from company table and display into gridview

            Compid             Compname
select       1                          Mask

I want when i click the select in gridview i want to show companame first letter M and last letter K to be displayed in the textbox1.

In the textbox1 i want output as follows

Company_username Mk(textbox1)

from that how can i do in asp.net using c# 

Answers (1)