|
You have already asked this same question, and received many responses.
Continuing to ask the same question will just get you ignored.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yes, we've recognized you. From the new wording of your question, I deduce that your 3 developers are working concurrently on a live copy of your website (or maybe even THE live website). (that's why all the stuff we told you yesterday didn't work .
This is the stupidest thing I've ever seen. Vss can't help you in this case. The codeproject can't help you. Your personal god may find it a challenge.
|
|
|
|
|
If you have Visual Source Safe installed, go into File > Source Control and then add the projects to Source Safe there.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi
i'm working with dataSetDesigner in my app,lately when i create a new tableAdapter, it's select command is null at runTime, but it configure correctly in dataSetDesigner. where is my problem and how to solve it ?
thanks
|
|
|
|
|
Without seeing the code you use to create the new tableAdapter, it is probably impossible to tell.
Post a code fragment - just the relevant bits - and use the "code block" widget to preserve any formatting. Then perhaps we can help...
I have learnt that you can not make someone love you, all you can do is stalk them and hope they panic and give in.
Apathy Error: Don't bother striking any key.
|
|
|
|
|
Post what you have done here (some code) and maybe somebody can help you..
|
|
|
|
|
Hi
it's simply creating new tableAdapter object from my tableAdapter class like this :
InstitutionDataSetTableAdapters.BookSalesHeaderTableAdapter adapter = new Institution.InstitutionDataSetTableAdapters.BookSalesHeaderTableAdapter();
|
|
|
|
|
I'm having a problem where an Unmanaged C++ project with a _cdecl calling convention is calling a c# function via COM.
The unmatched calling conventions are raising the following error:
The value of ESP was not properly saved across a function call. This is
usually a result of calling a function declared with one calling
convention with a function pointer declared with a different calling
convention
(In C#) I know that the calling convention can be set on a delegate, but how would I call the delegate through the interface of my c# project? Is delegate usage the wrong approach on the C# side? The unmanaged C++ side cannot be changed, the code must remain unmanaged and with the _cdecl calling convention.
|
|
|
|
|
When managed calls unmanaged, you can choose the calling convention, and specify it at both ends.
When unmanaged calls managed, it is _stdcall, and there is no way to deviate.
See the "two-side logging" example in my article here[^].
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
hi everybody,
I am trying to create a multicolumn listview knowing that it is not possible to do with a listbox
I have 2 questions:
the first is how can i display the header of the columns?
the second is how can i get data from a data base .sdf and display it on the colomuns of my listview?
Thank you in advance
|
|
|
|
|
bacem smari wrote: the first is how can i display the header of the columns?
just set the ListView's View to details.
bacem smari wrote: the second is how can i get data from a data base .sdf and display it on the colomuns of my listview?
Well, you could use dataBindings (see here: Data binding a ListView[^] not sure if it will help, but it looks like it might) or you can just populate the Items yourself.
|
|
|
|
|
hi,
thank you but i am trying to fill the listview with the result of a querry.
Can you help me?
|
|
|
|
|
Hi ,
This is the code that i am using.
It indicates no errors but my listview isn't filled with the result of the querry.
Can you help me.
private void button1_Click(object sender, EventArgs e)
{
string wCS = @"Data Source =\Storage Card\ModeDifféré\BaseGmaoLocale.sdf;";
SqlCeConnection sqlceconn = new SqlCeConnection(wCS);
SqlCeCommand command = sqlceconn.CreateCommand();
command.CommandText = "SELECT [ID],[Magasin],[qtyonhand] from stocks where ID like @txt";
SqlCeDataAdapter adapter = new SqlCeDataAdapter(command);
SqlCeParameter txt = new SqlCeParameter("@txt", SqlDbType.NVarChar);
txt.Value = textBox1.Text;
command.Parameters.Add(txt);
DataSet ds = new DataSet();
adapter.Fill(ds);
string[] str = new string[ds.Tables[0].Columns.Count];
foreach (DataRow dr in ds.Tables[0].Rows)
{
for (int col = 0; col <= ds.Tables[0].Columns.Count-1; col++)
{
str[col] = dr[col].ToString();
}
ListViewItem ii;
ii = new ListViewItem(str);
this.listView1.Items.Add(ii);
}
}
|
|
|
|
|
Well, first, glad to see that you figured out how to write the SELECT statement properly...or at least more so.
But the problem is still with the SELECT...or at least that's one problem. You said, WHERE ID Like @txt . That will only return values where ID is equal to @txt.
You need to add back in the '%'. Try:
txt.Value = "%" + textBox1.Text + "%";
If that doesn't work, then you would need to check the db. Also, you do realize that you're selecting exactly 3 columns, right? You don't need to ask the table how many columns there are because there will always be three.
|
|
|
|
|
thank you for the information.
I think that you didn't understand my code very well.
it's the datatable that i am getting the columns form.
every column must appear on the listview.
Can you help me?
thank you.
|
|
|
|
|
All that I was saying was that your SELECT statement only specified 3 columns,
SELECT [ID],[Magasin],[qtyonhand] from stocks where ID like @txt
If there are more columns and you want them all, then, it should just be
SELECT * FROM ...
|
|
|
|
|
thank you.
I know the command.
I just want these 3 columns.
|
|
|
|
|
I am in Vietnam,I write music programs in C #, you use the library Quarzt.dll, mp3 program runs fine, but on an mp3 file you have not been run, the file was restless at first error, but the program offers mp3 file that I wrote and then run through another machine and another machine is not one of the songs I like computer (note: the program's window mediplayer mp3 songs now normal).
FilgraphManager.RenderFile (URL file); fault line immediately following nay.va error error Exception from HRESULT: 0x80040218.
I have been searching for this error results only know "the error is not due to a combination of graphic filters." Finding forever do not see a fix. expect people to help. And now she wants to do one more run flv file you ask for small documents. Thank you very much!.
|
|
|
|
|
It looks like you used translate.google.com to translate this. It does not make a lot of sense in English.
Có vẻ như bạn đã sử dụng translate.google.com để dịch này. Nó không làm cho rất nhiều ý nghĩa trong tiếng Anh.
|
|
|
|
|
Now I know how our geek speak must sound to normal people.
|
|
|
|
|
I know my level of english poor people understand. please help me solve the problem. thank you very much.
|
|
|
|
|
|
First of all, good luck with your article in the competition. Secondly, the CP staff tend not to frequent this forum. You'd be better off posting it here[^]. Third, providing the votes weren't all coming from the same IP address (i.e. people were voting from home) then I doubt that Chris and co would have a problem with this; if they all come from the same IP address then the voting might be viewed as suspicious, especially if they are all new members.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Thanks for the reply, and thank you for the support I was a little shocked to see it getting nominated as I always looked up to the CodeProject members as Programming gods. Always a little nervous about if it was good enough so this has been great for me so far! I deleted the message and posted it over at the Site board now.
|
|
|
|
|