|
Your help is appreciated.
Always ,
Kasi
|
|
|
|
|
how to Make a Project in ASP.net Which will capture Image by Using a Webcam?
May we add a part of an individual project in to our application ? if we have only EXE of that Project
|
|
|
|
|
to capture a webcam, you'll need to write the code as a browser plugin, which means your users need .NET installed ( if you use C# ) and will need to trust your site enough to allow your code to run on their machine. This is not likely to work unless you are dealing with users who already trust you.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
big>Hi there!
While doing a project I got struck at a problem.... I have to create a grid view in which i have to generate dynamic rows and dynamic column. I m able to generate the rows but m not able to generate column. I have to edit that column also........... can any one help me to solve the problem......
Thanks & regard
Vikash Kumar Singh
|
|
|
|
|
create an instance of field type that you want to add in your gridview.
For eg,If you want to create a buttonfield, create an instance of buttonfield.
Dim col1 As New ButtonField
Next set the basic properties for that instance.
col1.HeaderText = "ButtonColumn"
col1.ButtonType = ButtonType.Button
col1.Text = "Click"
Add that instance to your gridview
GridView1.Columns.Add(col1)
with regards,
lavanya
|
|
|
|
|
i was trying to populate the dropdownlist in the following manner.
objclsdb.BindingWithControl(this.DropDownList1, "ItemID", "ItemName");
2nd parameter is value member
3rd member is display member
public string BindingWithControl(DropDownList ctl,string ValueMember,string DisplayMember)
{
ctl.DataTextField = DisplayMember;
ctl.DataValueField = ValueMember;
ctl.DataSource = ds;
}
but the code is not populating the dropdonlist.
code for dataset is not mentioned .
because it is working.
Soniagupta1@yahoo.co.in
|
|
|
|
|
ctl.DataBind(); at the end of your function.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
ThanQ Boss
Soniagupta1@yahoo.co.in
|
|
|
|
|
i guess you're forgetting something else
if you're working in web app
ctl.DataBind();
your method will be something like this:
public string BindingWithControl(DropDownList ctl,string ValueMember,string DisplayMember)
{
ctl.DataTextField = DisplayMember;
ctl.DataValueField = ValueMember;
ctl.DataSource = ds;
ctl.DataBind(); // here you're telling the control, now go get the data
}
|
|
|
|
|
|
make a function to trim it
easiest job!
|
|
|
|
|
hey gamzun
well, if the trim() function isnt removing em, how do i go about doing it.
one approach i could think was using the substring function. but the fields that are retrieved are of variable length, so that wont work.
could you advise, how should i go bout it.
kunal
|
|
|
|
|
hi kunal
bro just use replace function like this
string url = "wwww.cp.com/new%20folder/my%20another%20new%20folder/Default.aspx";
url = url.Replace("%20"," ");
in this way you'll get rid of these %20 n replace it with the whitespace or anything u want
chao
|
|
|
|
|
hi all.
i want to know hoe to display playtime....Play time must be starts when i click Accept button and after clicking disconnect button i want to display the elapsed time tooo.......
can any body help me......
|
|
|
|
|
On the client side, or the server side ? What buttons are you clicking ? Is this all in one page ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
its in client side ........
actually the thing is i am developing one windows application...
there are two buttons accept and decline and one label.....
first i will click the accept button then the label must display the start time(0hrs:omins:osecs)
and it must be continous...... it must display something like play time....
after if i click decline button the label must display the elapsed time.....
how to achieve this one...
|
|
|
|
|
You created two threads with the same question yesterday. I told you not to repost, and I told you that this is not an ASP.NET question.
I see that you also posted the question in the VB forum, so now you have reposted this question twice, posted three times in the wrong forum and also cross posted it. Are you deliberately trying to irritate people?
---
single minded; short sighted; long gone;
|
|
|
|
|
bhattiprolu wrote: its in client side ........
No, it's not. As Guffa said, you're not asking an ASP.NET question. Here's a hint, when I see people asking in the wrong forums, repeatedly, I tend to ignore their questions in the right forums.
I answered this question earlier today in the VB forum, was it for you ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
is it mandatory that the output parameter in the stored procedure will be of numeric type.Actually i am repeatedly getting a conversion error .
error is Error converting data type varchar to int
in stored procedure it is declared varchar
and in code behind file too dbtype is string
Soniagupta1@yahoo.co.in
|
|
|
|
|
Hi!
No, its not mandatory to declare output parameter as int.
Plz provide the code which is generating the error. Its very difficult to help you without seeing the code.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
Hi coders,
here i am stucked with a problem in asp.net.
My project have a page which redirects the user to payment gateway, after sucessfull payment, payment gateway redirects the user to specified page on website.
Now problem is that after redirecting to page by payment gateway when user click back button on browser, it again send the user to payment gateway which is creating chaos.
i have user history.go(1), it works fine in IE but not in Fire fox.
please suggest me the sloution.
Thanks in advance
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Hi,
Generally Commandobject.ExecuteNonQuery() returns 1 when the command is executed successfully. But it in one of my form it returns 1 and in another it returns -1 why is this happening.. Can anyone of u please give a suggesstion.......!
Thanks in Advance
Regards
Sivan.G
|
|
|
|
|
Sivan.G wrote: Generally Commandobject.ExecuteNonQuery() returns 1 when the command is executed successfully
It return's total number of row's affected by the sql statement.
Sivan.G wrote: one of my form it returns 1 and in another it returns -1 why is this happening..
A Negetive value indicates a Failure or Error to carry out the operation on the database...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
J O N wrote: A Negetive value indicates a Failure or Error to carry out the operation on the database...
No, it doesn't. It indicates that the query is not an update, an insert or a delete. Any errors are returned as exceptions.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: It indicates that the query is not an update, an insert or a delete. Any errors are returned as exceptions.
Yes, You're Correct....
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|