creating dynamic textbox
-
hi guys i want to create dynamic textbox according to the excell column values... for example i have 2 columns in excell A & B i want to create textbox for getting values of A & B. Plz help me is there any idea from urs.
-
hi guys i want to create dynamic textbox according to the excell column values... for example i have 2 columns in excell A & B i want to create textbox for getting values of A & B. Plz help me is there any idea from urs.
If you are talking about dynamic it means on runtime. What you want to do is extract data from excel. What you have to do is this: 1. create an excel reader (search on articles in codeproject or make your own reader with 'Microsoft.Office.Interop.Excel' 2. create a textbox: TextBox tb = new TextBox(); and put the data in there: tb.Text = ExcelReader.getCellItem(1, "A");
-
If you are talking about dynamic it means on runtime. What you want to do is extract data from excel. What you have to do is this: 1. create an excel reader (search on articles in codeproject or make your own reader with 'Microsoft.Office.Interop.Excel' 2. create a textbox: TextBox tb = new TextBox(); and put the data in there: tb.Text = ExcelReader.getCellItem(1, "A");
hi i got the solution of getting dynamic textbox at runtime I did it with the help of javascript. I have created a server side textbox first and then i found the count of columns from the excell. according to the count i made it with the help of javascript for loop. Thanks for your response. regs muni
-
hi i got the solution of getting dynamic textbox at runtime I did it with the help of javascript. I have created a server side textbox first and then i found the count of columns from the excell. according to the count i made it with the help of javascript for loop. Thanks for your response. regs muni
Please eloberate the question properly.. Are you talking about windows or web application ???