|
hello
i need to bind data in textbox control.
is it possible?
Pathan
|
|
|
|
|
check the DataBindings property of the text box
Best Regards
3ala2
|
|
|
|
|
i want to bind textbox control with code using vbscript.
Pathan
|
|
|
|
|
textbox has no databinding property.
is it possible or not?
Pathan
|
|
|
|
|
My Dear
<textbox id="txt1" runat="server" text="<%#Container.DataItem("gateway")" %="">/>
Where "gateway" is the name of the field in database.
-- modified at 8:29 Tuesday 7th November, 2006
|
|
|
|
|
hello
i have usercontrol with some dropdown and textbox.
acually its a row in which i have added a textbox and usercontrol.
now what i want when i click on linkbutton then this usercontrol should be add again and again in below of each other on every click.
plz suggets me how can i do it.
thanx.
Dotnet
|
|
|
|
|
where is the link is in the user control or on the aspx page
|
|
|
|
|
|
|
Hi,
I'm not sure whether this is an ASP.net question or an SQL one.
I have a table which holds a field for time estimate for each stage of a project to complete. The time estimate is in days, ie. 5 days for Stage 1, 15 days for Stage 2, 20 days for Stage 3.
In the project table, I need to have a field which will tell me the % of completion of the project according to number of stages completed. For instance, if Stage 1 & 2 are complete, the field should display 50%.
Any hint, suggestion, nudge in the right direction or down right code solution would be very much appreciated!
Thank you.
|
|
|
|
|
u can do that in the code behind
loop through the datatable or reader u have
and make the calculation on each row and check if the stage is completed u add its % to a total variable the make ur calculation
hope this would help
Best Regards
3ala2
|
|
|
|
|
I will come back to this in due time. Thanks for the reply mate. =D
|
|
|
|
|
I am uploading the excel file in my current project.
The field with only alphabets and
the field with only numbers are beeing uploaded proprly
but the fields with alpha-numerics gives blank value while
uploading.
If anyone have any idia about this then
pls let me know
Regards
Chintan
Regards
Chintan
|
|
|
|
|
when i select a node the page is post back. i want to avoid page post back. there is no autopost back property for tree view.. then how can i avoid page post back each time when i select the nodes... also for server button i want to avoid auto post back false.
|
|
|
|
|
hai to everyone
1 issue
iam passing a intger value to stored procdeure(sqlserver 2000) depending on value passed to backend a table has to be created dynamically with cloumns(i.e the columns should be the the value which we are passing from asp.net,c#)
hope u understand my issue
with regards
ravi kiran reddy .d
|
|
|
|
|
I'm not sure if i got u right, but i think the answer should be like this:
- add a literal control to ur aspx page
- now in the code behind u should have a way to know which table schema has returned to build html tables (old asp style) using and in for loops this way u can customize it exactly as u want it
hope this would help if not please give me an example of what u want
Best Regards
3ala2
|
|
|
|
|
Any solution that requires dynamically creating database tables is the wrong solution. There is almost no exception to this rule.
Try explaining what you are trying to achieve and I guarantee you there is a more straightforward way to do it.
|
|
|
|
|
u can't say that something "is the wrong solution"
u can say that there r better solutions because u donno the scenario
and i'm with u, in this case there r many better solutions
Best Regards
3ala2
|
|
|
|
|
hai there
i need to upload feed back form to the database
1) feed back varies for each course
client conduct's training programmes on various topics
each programmes wuld be havibg n number of sessions
for example
a course would be having 6 sess,7 sess,8 sess,9 sess....
while we are submitting feedback we need to rate each session
once i clik on submit button a these feed back has to be submitted dependinbg on sessions
|
|
|
|
|
Try replying in english rather than txtspk!!
Dynamically creating tables IS the wrong solution - there are VERY few scenarios where it is even workable, let alone worthwhile!
|
|
|
|
|
hai there
i need to upload feed back form to the database
1) feed back varies for each course
client conduct's training programmes on various topics
each programmes wuld be havibg n number of sessions
for example
a course would be having 6 sess,7 sess,8 sess,9 sess....
while we are submitting feedback we need to rate each session
once i clik on submit button a these feed back has to be submitted dependinbg on sessions
|
|
|
|
|
Definately 100% do not create tables on the fly for this.
All feedback should go into an appropriately named table with a foreign key linking them back to whatever information you want to store about each session.
|
|
|
|
|
can u plz provide ur solution compleately
with regards
ravi
|
|
|
|
|
Hai there,.....
Actually, i did coding for dropdownlist boxes loading (i.e : -) Three dropdown boxes i have[ country, state , Project]. If user select any country means, according to the user's selection, the State and Project should be loaded in the corresponding boxes. Without using page reloading, i finished successsfully by Javascript and AJAx....
But if i use JAvascript means, the selected value cannot be get at server side.. Only HTML dropdownlist i used.
If i use AJAX means, i can't able to convert that codebehind aspx.cs file into inline coding. Why i'm going to inline means , in remote server .cs file cannot be able to uploaded and that's y i trying in inline..... And also what pagedirectives i've to use at aspx file if i converted that aspx.cs file into dll file.............
Please help me sir....
Regards n Advance Thks
Sam.M
|
|
|
|
|
I am uploading the excel file in my current project.
The field with only alphabets and
the field with only numbers are beeing uploaded proprly
but the fields with alpha-numerics gives blank value while
uploading.
If anyone have any idia about this then
pls let me know
Regards
Chintan
|
|
|
|