|
thanks ..... i didnt think this simple logic
A.Rajapandian
|
|
|
|
|
Hello frnds,
i'm using a Datagrid in my page, i have a Text box in item template..we have two colums in datagrid one for label name which is a bind column. and another for text box.
when i bind the grid then lable names are coming correctly..
now i want to get the text box value.... according to the label.
any suggestion plz..
thanx
Dotnet
|
|
|
|
|
dim TB as textbox
For i = 0 To iGetDs.Tables(0).Rows.Count - 1
TB = CType(Me.GVCartView.Rows(i).Cells(1).FindControl("TB1"), TextBox)
TB.Text =//get value here for textbox
next
pathan
|
|
|
|
|
(TextBox)Gridview1.Rows[index].Cells[0].FindControl("txtTravelDate")).Text
index = Gridview row index
Cells[0] = Column Number
Know Yourself Then Grow Yourself.
|
|
|
|
|
i hv a grid where one field is "Date" there i hv usd one htmlinputtexbx and a js calendar and what i want tht when a user will click on edit button the date lable (in items) should be cnvrted into the calendr now my problem is that ---- i am able to display the calendar button bt when a user clicks on the calendar button he doesnt get the calendar plz help me
|
|
|
|
|
Hi Dear All,
I need a so very urgent.
I want a put DropDownListBox in GridView at runtime.
When i click on button, new row will be display in gridview with DropDownListBox at runtime and i also binding database in DropDownListBox with MS-Access.
please reply asap.
I hope you all understood my question.
Thanks
Vipul
|
|
|
|
|
|
i have an array storing Employee ID like 1,2,3,4,5,6..
how do i check whether the array have same employee Id or not?
i means, if the array store 4,2,4,1,5...
then return false
if the arrat store no repeat employee id, like 1,5,2,6,..
then return true
how i check this array?
Best regards,
Chee ken
|
|
|
|
|
If you first sort the array, you can easily loop through it to look for duplicates, as they are then next to each other.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
how to sort the array?
Best regards,
Chee ken
|
|
|
|
|
Use the Array.Sort method.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
my problem solved already ,thank you very much !
Best regards,
Chee ken
|
|
|
|
|
Hi,
i had to run the code in local server after copying it from a shared folder from another system.i am not able to open it at all, the error message i am getting is "web access failed as the default web access is shared mode".Other error message is "required components are not loaded in the local server".Please help because i am unable to continue with my work
|
|
|
|
|
madhumallidi wrote: Try to o the application folder properties n from there go to the sharing option , n click on shared by everyone
Try to select the application folder properties n from there go to the sharing option , n click on shared by everyone
priya
|
|
|
|
|
Still i am getting the same error even after sharing....
|
|
|
|
|
Hi,
i had to run the code in local server after copying it from a shared folder.i am not able to access it at all the error message i am getting is web access failed as the default web access is shared mode.How to change the mode.or other error message is required components are not loaded in the local server.Please help bcoz seriously i am not able to continue with my work
Sowmya
|
|
|
|
|
HI
Try to open with .sln file
OR
try with creating a Virtual Dir. for u r copyed folder
Keerthi
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Hi,
i tried by creating a virtual directory but i got the same error
sowmya
|
|
|
|
|
HI
Ok
try this just create a new solution and Add Existing Items(Copy folder
Files)
But it shd work open with .sln or Virtual dir
Keerthi
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Hey I thought it was possible to place an asp textbox inside a table but i cannot seem to get it to work.
Is it possible and if so can any one point me in the direction?
Thanks
Dan
|
|
|
|
|
Yes, it's possible to place a textbox inside a table, you simply add a html table[^] (not the server table[^] control) to the web page, add the tr, td stuff to the table and finally add the textbox. You basically use the server table control to add dynamic controls in code-behind.
|
|
|
|
|
eg.
I think therefore I am
--~--~---------~--~----~------------~-------~--~----~
My Blog and Website:
http://www.cnblogs.com/pinzui/
http://www.pinzui.cn
http://jnlinux.org
--~--~---------~--~----~------------~-------~--~----~
|
|
|
|
|
Hi,
In my code I would like to update my gridview with a client callback to the server (update, insert and delete).
Client callback just returns a string, how would I use that to say insert a new row, update a row? Can I use data source control from javascript?
Thanks
Ben
|
|
|
|
|
Hi there. Have you tried using the GridView control with the Microsoft Ajax[^]?
|
|
|
|
|
sorry I'm using asp.net 2.0
|
|
|
|