|
You're not calling the function at that point, so no parentheses.
|
|
|
|
|
Calling a method is one thing. Getting the method "pointer" is another thing.
When you create a thread, you want the Thread to execute a method. You should not execute the method yourself. So, you give a method name, not a call, to the thread.
|
|
|
|
|
I want to use this code
TextBox1.DataBindings.Add("Text",DataTable,"FName");
in web application project but it does,t have the library.in web form the library is in the system.windows.forms.controlbindingscoll… but I can,t handle it in web application.what is the solution?
|
|
|
|
|
Ask your question here[^].
|
|
|
|
|
behrad kiani wrote: I want to use this code You can, if you write Windows-applications.
behrad kiani wrote: but I can,t handle it in web application. Try the knowledgebase[^]
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
my project name:webcam based credit card reader with face recognition
i search on library in c# to read bar code by using cam but i don't found
so if anybody can help me i need this library coz i don't have time plz help me?? confused:
|
|
|
|
|
What the heck does "library in c# to read bar code by using cam" have to do with "webcam based credit card reader with face recognition"?
I have never seen a credit card with a barcode on it, and strangely, I've never seen a face with a (readable) barcode on it.
Perhaps if you started by searching for relevant information it might speed your project along...
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
|
|
|
i have a table which has attributes such as fname,lname and address.i can show the details of all these attributes togheter with tablegridview and other data objects but I cant access to specific attribute.for example I want to show just the fname in the texbox1.what is the command
|
|
|
|
|
Assuming the UI is WPF/Silverlight (View) in the subject.
Bind the view to a datacontext, this datacontext should have the collection, bind the grid to the collection, bind the column to the fieldin the collection.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Those are called "columns", not "attributes". Attributes have a very different meaning in .NET.
|
|
|
|
|
so what is the solution please help
|
|
|
|
|
Mycroft already gave you the solution.
|
|
|
|
|
i found it but it doesn,t work in web application(asp.net) it just works in windows form mode.the code is:
TextBox1.DataBindings.Add("Text",DataTable,"FName");
|
|
|
|
|
Go back to your original question and find the part where you specified you were working in ASP.NET. Oh, that's right, you didn't do that!
There's an ASP.NET forum to ask yor question in.
|
|
|
|
|
|
when i update in parent table i want automatic change in child table.
what will code for this questions
|
|
|
|
|
You might want to expand on this rather vague question; exactly what tables are you referring to?
Use the best guess
|
|
|
|
|
Asp.Net or classic ASP? In any case, you have a better bet of getting good answers in the ASP.Net forum.
|
|
|
|
|
In the c++-cli dll which is referenced in my c# project, I have
namespace MatsWrapper {
public struct MatsContact
{
public:
char* contactName;
char* fileName;
float lat;
float lng;
float heading;
int numContact;
};
In my c# project I'm trying to access the members but they don't show up in the intellisense.
unsafe{
MatsWrapper.Class1 oMats = new
MatsWrapper.Class1();
MatsWrapper.MatsContact** contacts;
contacts = oMats.CallMats(x);
int numContacts = oMats.m_numContacts;
for (int k = 0; k < numContacts; ++k)
{
Contact newCtc;
newCtc = Contact.Create(contacts[k]->contactName, ac.Latitude, ac.Longitude);
}
contactName doesn't show up when I do contacts[k]->contactName.
Why is this and how do I fix it?
Many thanks,
sb
|
|
|
|
|
|
my namespace is noise but my database name noise2 .there are two table . i want to connect with noise2 but get some error like the name"lbltxtname" does not exist in current context. what can do now ??
|
|
|
|
|
mmmickyyy wrote: what can do now ??
Study[^].
You won't get far without some basic knowledge. Copy/pasting code from a forum on each new task you have to do will become frustrating quickly, for both of us.
FWIW; you do not 'connect' a label with a table. A label can be used to display something. You can fetch values from a database using the IDbConnection classes (see System.Data), and one can display that data in a label.
Good luck.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|