|
Isn't there a possibility in the DataSet object??
ReadSchema and WriteXml
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
hi..
In my application on a form , I want to list some paramter values as old & new. User entered values should be there in new column. But in c# we can use 'table' & 'DatGrid' for this. So which one is better for my application as i want user to enter those parameter values in a perticuler range only. Can i give dropdown combobox in table or datagrid so that user can select with only values given in that combobox. Can i do it with both Datgrid & table.
Can any body give me any good document to do this using datagrid/table in c#.
Thanks in adavance,
Vinay
|
|
|
|
|
Your terminology makes me think that you're using ASP.NET ? If so, you need to say so. I assume that GridView is not on your list because you're using .NET 1.1 ?
|
|
|
|
|
Thanks for reply...
But i am not using ASP.NET & i am using .NET 2.
In my application i just want to set some parameter valuse to new values & at the same time i've to display old valuse on form with table/datGrid (old values i'll read from SerialPort communication & display it in 2nd column). My 1st column will be my parameter name & last column will be new vallues entered by user.
On another button click event , i've to send those new values on serial port.
Thanks,
VInay
|
|
|
|
|
vinay.p wrote: But i am not using ASP.NET & i am using .NET 2.
Then, what do you mean by table ? Why is GridView not an option ?
|
|
|
|
|
i am new in C#. So while going through some document i came to know that we can use table(table means 'tableLayoutPanel') & DataGrid(DataGridView). But since i want user should not enter wrong values i am confused which one to use & how to use...? Can u suggest me any document to learn it.
I am using Visual Studio 8.
Thanks,
Vinay
|
|
|
|
|
Hi, Dear Respected Programmers
Kindly give me source link of RichtextBox using OpenfileDialog.
Thank you
|
|
|
|
|
You mean somthing like :
<br />
..<br />
..<br />
OpenFileDialog openFileDialog = new OpenFileDialog();<br />
<br />
DialogResult result = openFileDialog.Show();<br />
<br />
if (result = DialogResult.OK)<br />
{<br />
myRichTextBox.Text = openFileDialog.selectedPath<br />
}<br />
..<br />
..<br />
..or you mean something different? Be clear please
-- modified at 4:05 Tuesday 14th November, 2006
.:: Something is Wrong ::.
|
|
|
|
|
Thank you sir,
|
|
|
|
|
I'd google it for you, but I'm not sure what you want to know.
|
|
|
|
|
Hello everyone,
I need your help to make a decision. I want to make a client/server program working like this :
At the client program, the user will make same selections, write some info etc. in a wizard like interface. When he/she is done and click the finish button all selections and infos will be sent to the server. All problems shall handled; for instance if the server does not reply for some reason the client should queue the ready-to-send data for a while, or if the internet goes down again queue the data and wait until the internet is back again etc. The ready-to-send data should also include a header part that identifies the client itself and some other useful information. All these information may crypted.
The server will listen some ports -or just one port for incoming trasmissions. It will have an effective queue structure so that no incoming data is going to lost due to long waiting periods. Also the server should refuse incoming data that do not have a proper header or that do not have a client id matching the list that the server itself holds.
As you guess there may hundreds of clients and more features may be added later, so everything can going a bit more complex.
My question is how should I write such a program. Using .NET Remoting, Network Programming or what else? Or am I on the wrong way and should use some othe approach ?
I will appreciate any help about the issue.
Thanks a lot and best regards.
.:: Something is Wrong ::.
|
|
|
|
|
I'd tend to use a web service.
|
|
|
|
|
I'm pretty charmed by WebServices. These act like a website but are just a litte more capable of handeling application (client) to server communication. You can secure data sent and when 'something' goes wrong during data retrieval or while sending, IIS handles your errors which you can catch easily. You can verify incoming data and you have no fancy security issues since they're all handled by IIS (you must trust those guys at Microsoft though .
I've created several apps using WebServices and i'm pretty happy about them. I'm really not into creating own 'servers' and handling TCP stuff so pretty obvious i chose WebServices, i really think you should look at them, and if they don't fit your needs, you can always switch to a diffrent solution
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
Thanks a lot @Christian Graus and @Eduard Keilholz.. Never thaught that way!
I will give a try to webservices but never used or studied them before. So better start to learn soon ..
Thank you very much again!
.:: Something is Wrong ::.
|
|
|
|
|
Dear All,
Please let me know how to remove the string "For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp." when the method System.Diagnostics.EventLog.WriteEntry() is used to write events into Windows Event Log.
The link is misleading for all non microsoft projects and will add unnecessary confusion for those who see the events.
Regards,
Naveen
|
|
|
|
|
Hello friends,
I have Visual studio 2005 installed on my Windwos 2003 server. I have installed Sharepoint services also.
Now I installed "Web Part Template for visual studio .net" on this computer.
But when I try to create a new project, VS2005 is not showing the WebPart Template.
Can anybody suggest , what could be the reason. I have tried several times, install/uninstall the webpart template. But no use.
Please help to fix this problem.
Thanks in advance
TMRK
|
|
|
|
|
Hello All
Can u please help me with handling the datagridview checkbox click event
i am unclear of the usage of DirtyCellStateChanged event
Regards
Sandeep
|
|
|
|
|
Hi sandeeb, I think that the following code is enough to handle the gridview checkbox events, I've used this for many times, if there is a better way it is ok.
foreach (GridViewRow gvRow in gv1.Rows)<br />
{<br />
CheckBox chk = new CheckBox();<br />
chk = (CheckBox)gvRow.Cells[1].FindControl("chkBox");<br />
if (chk.Checked)<br />
{<br />
<br />
}<br />
}
|
|
|
|
|
thanks for the help
i was tryin to implement the same thing in a windows application
there no Findcontrol method which i could use
Can u please help
|
|
|
|
|
Hello All,
i am sandeep , i am tryin to work with svcutil tool to generate WCF client
what i already have is::
--> A contract in the form of an interface
--> A service which implements service [as per contract]
--> i need to go ahead to implement call back feature
can u please give me a clear cut command to get the client .cs file
can u also please tell me any modifications to be made in the service .config file so as to allow meta data exchange possible
Regards
Sandeep
Sandeep Kulkarni
|
|
|
|
|
Hello,
I have a webBrowser control on my windows form. I also have a textBox, in which I allow my user to enter a letter of a word and hit a button to highlight all the occurances of the entered letter/word.
Here's the button code:
webBrowser1.Document.Body.InnerHtml = webBrowser1.Document.Body.InnerHtml.Replace(textBox1.Text, "<font color=\"red\">" + textBox1.Text + "</font>");
The problem is, if the user enters 'a', for instance, every single 'a' will be replaced and that's a huge problem. Imagine I have: <a href="url">link</a>! And maybe it gets worse if he enters: < or >.
How can I solve this?
Thanks in advance.
|
|
|
|
|
You could use a regular expression to do the pattern matching.
only two letters away from being an asset
|
|
|
|
|
I have added comboboxcolumn in datagridview. It is working fine till adding different values to different cells.
But, at the time of selection, i have to do double click on that perticular cell to populate that combobox. I am confused!! what to do for this. I need it working with a single click.
Can anybody help me as i am new to C#.
Thanks in advance.
|
|
|
|
|
What is the easiest way to save a database password in my xml settings file? I'm currently writing all my db connection settings to an xml file. How can I write out the password so that people cannot read it?
Thanks
Tom
Tom Wright
tawright915@gmail.com
|
|
|
|
|
I guess you need to come up with some sort of encryption ( or better yet, find one in the system.cryptography namespace ) and use it to hide the password.
|
|
|
|