|
I know, but I wish to make my own control
-----Have A Nice Day-----
|
|
|
|
|
Hi,
i am using asp.net 2.0 , C# , VS2005.
In a web page i have six dropdownlist control and couple of checkbox list .
On add button click i have to display it to gridview control(as this row can be editable) . further i have to insert whole data to database
please suggest me ways of doing the same. or give some important link.
Thank you.
regards
imran khan
|
|
|
|
|
I m not getting what this second line says
On add button click i have to display it to gridview control(as this row can be editable).
As i understand from that,
On page load ur grid is empty Then u Click add Button at that time u want to show all ur controls appear in grid and then add data to ur database.
And this thing u want done with the controls placed in grid?
Believe Yourself™ :->™
|
|
|
|
|
is it port number 1433?
thanks
|
|
|
|
|
Yes, SQL talks over TCP 1433 unless you use the Netowrk Configuration tool to change that port.
|
|
|
|
|
Hi,
I want to create Questions on the form.
Form contains 1 question at a time.
I have arraylist with number of questions.
From that arraylist I want to get the question and depending upon the next and prev button I want to circulate the question.
How Can I Do this?
Thanks
|
|
|
|
|
sjs4u wrote: I want to create Questions on the form.
Form contains 1 question at a time.
I have arraylist with number of questions.
From that arraylist I want to get the question and depending upon the next and prev button I want to circulate the question.
How Can I Do this?
if(!ispostback)<br />
{<br />
viewstate["index"]="0";<br />
}
On Next Button event
if (viewstate["index"].ToString()=="0")<br />
{<br />
int.parse(viewstate["0"]) +=1;<br />
}<br />
else<br />
{<br />
<br />
string quest=arrlist[int.parse(viewstate["index"])]<br />
<br />
if(int.parse(viewstate["index"])==arrlist.count){<br />
}
On Previous Button event
if (viewstate["index"].ToString()=="0")<br />
{<br />
int.parse(viewstate["0"]) +=1;<br />
}<br />
else<br />
{<br />
<br />
string quest=arrlist[int.parse(viewstate["index"])]<br />
int.parse(viewstate["0"]) -=1; <br />
}
please don't forget to vote on the post that helped you.
|
|
|
|
|
...or he could do his homework himself
|
|
|
|
|
Hi All,
Here i m stucked with a problem and devoted my best half the day to solve the same but cant get any sucess.
my problem is, i want to trace the browser close button event and perform some operation on the same.
I have tried all the things like window.close(), onunload event but cant able to find the correct sollution.
i dont want my function to call at page refresh, i wants to call the same only when user clicks to X button of browser.
Please help
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
You can Icallback and execute your code in code behind side before closing window.check return argument and you can close window.
The other way is create one method in code behind side and call this method using javascript and close window
for example
In html source page
<a href="javascript:CloseWIN();" >Close</a>
In code behind side
function void CallMethod()
{
//code here
}
javascript
<script .................>
function CloseWIN()
{
<% CallMethod() %>
window.close();
}
please don't forget to vote on the post that helped you.
|
|
|
|
|
hi,
anybody know hoe to Determin if a page is PostBack in JavaScript
Nothing is Impossible. Keep always Smiling...
|
|
|
|
|
I think u want server side validation that been done from client side? Is it so?
Believe Yourself™ :->™
|
|
|
|
|
yes.......
Nothing is Impossible. Keep always Smiling...
|
|
|
|
|
U can try by putting an alert to the very beginning of a javascript to check.
Believe Yourself™ :->™
|
|
|
|
|
Hi,
I have dataset in that by using the for loop i am binding the values to the dataset that means each time dataset value will be increse or decrese.
Depending upon that these values will have to added into then arraylist.
Thanks
|
|
|
|
|
Hey
I'm having problems connecting from sql server to the web server
anyone know any good troubleshooting articles
Ive looked on the internet but nothing seems to help me
thanks in advance
|
|
|
|
|
Can you quantify what exactly the error message or problem that you are experiencing?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
do i need to configure remote connections on sql 200 if so how/
i have sorted the ip/tcp
do i need to open a port?
thanks
|
|
|
|
|
Looks like your SQL server is configured to use Named Pipes and not TCP as the default communications. Use the SQL Network Configuration tool to change the default protocol to TCP and open up port 1433, unless you configure another port.
|
|
|
|
|
|
I have a field uid in sqlServer whose type is datetime and it stores the id in format MM/dd/yyyy,hh:mm:ss.ms tt. but when i retrieves it in asp page from data base connectivity the format is MM/dd/yyyy,hh:mm:ss.
please help
|
|
|
|
|
So what u want Earlier or later One?
i think u want in this format -> if yes then reply. MM/dd/yyyy,hh:mm:ss.ms tt.
Believe Yourself™ :->™
|
|
|
|
|
Just try this one.
<br />
select convert(varchar(100),uid,113) from TableName
i hope this will help.
Believe Yourself™ :->™
|
|
|
|
|
Hi friends
how to find database path automatically in connection string in windows application
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
|
|
|
|
|
Which type of database are you using:
Microsoft Sql Server / Microsoft Access or some thing else.
|
|
|
|