- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 1
- Downvotes Received
- 5
- Posts with Downvotes
- 5
- Downvoting Members
- 5
56 Posted Topics
Re: Plz, make this thread has solved if u find ur answer. | |
Re: Instead of saving the contents in a text file, when you close the application, save the contents in an xml file. And when the application starts again reload the xml data to the listbox again. The xml always allows modification of data for every time. Refer to the following code … | |
Re: [URL="http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/b6e8a28c-6760-4e86-a1aa-e2ce9ec36380/"]http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/b6e8a28c-6760-4e86-a1aa-e2ce9ec36380/[/URL] refer to the link for reading the values from the Excel sheet using C# | |
Re: Did you referred this [URL="http://www.codeproject.com/KB/cs/CreatingCrystalReports.aspx"]http://www.codeproject.com/KB/cs/CreatingCrystalReports.aspx[/URL] site. | |
Re: After the Location folder name use the Backward Slash(\), so that the text files that you are creating will be stored in that folder. | |
Re: We, cant get correctly what's ur problem. | |
Re: What is actually your issue? Or you are seeing to compare the C#.net with Java? | |
Re: Multiple search in the sense searching based on multiple column values? | |
Re: Can, you please brief the question some more. Normally, it will be done on a single click right. | |
Re: You, can't sort the values in a datagrid from outer side, but using the columns click of grid on individual columns you can do this go through the following coding. [CODE]try { if (SortType == false) { SortView.Sort = e.SortExpression + " ASC"; //dviewGeneral.Sort = e.SortExpression & " ASC" Session.Item("SortOrder") … | |
Hello everyone, I have some problem with my windows application in my system. when ever i right click in the tool box and select choose items, the application got closing. Can, any one help me how can i resolve this problem. | |
Re: After creating a dataset, use this code [CODE]DGView.Datasource=DSet.Tables(0) DGView.DataBind()[/CODE] | |
Re: @G Waddell, in the code the dr is declared as OleDbDataReader itself, the error may be instance creation is not done.@Swathys Try using New keyword at the declaration of 'dr'. Hope it will help | |
Re: [CODE]Dim ds as New DataSet Dim cmd As New SqlCommand(your query, connection) Dim da As New DataAdapter(cmd) da.fill(ds) combobox.datasource = ds [/CODE] Hope, the above code can help you. | |
Re: Where you are saving the items in database or some where else? | |
Re: If there is any special character between the each digit in the string entered you can use String.Split("<that special character>") and if nothing is there only a number then you can use String.Split(). Hope this helps to you. | |
Re: You, refer to this coding. which is written in VB.net for database backup[CODE]Dim bkpDBFull As New Backup() ' Specify whether you want to back up database or files or log bkpDBFull.Action = BackupActionType.Database ' Specify the name of the database to back up bkpDBFull.Database = myDatabase.Name ' You can take … | |
Re: Make all the Controls in the Form disabled, and at the Form load make the Progress bar to be loaded, Use an timer control to be filling the Status bar for 3 seconds, when ever the Progress bar value reaches maximum write a code to enable all the remaining controls. … | |
Re: You, can not do like Concatenating to the app.config, but instead you can use the help of two more text boxes for storing the Username and Password and also two radio buttons for seeing whether it is Sql server authentication or Windows authentication. | |
Re: You, can add what ever columns you want to the database by setting the Datagrid.Datasource()= Dataset.Tables(0); and also refer the following Coding.[CODE]<table id="tblPlay" style="z-index: 101; position: absolute; top: 137px; left: 1%" cellspacing="0" cellpadding="0" border="0"> <tr> <td style="height: 22px"> <asp:DataGrid ID="CMSgrid" runat="server" Width="100%" CellPadding="1" BackColor="LightGoldenrodYellow" BorderWidth="0px" BorderStyle="None" BorderColor="Gold" AutoGenerateColumns="False" AllowPaging="True" Font-Size="10px" … | |
Re: Is it a Web Application that you are using? | |
Re: You, can also refer to this link [URL="http://www.aspfree.com/c/a/ASP-Code/SQL-statement-tip-to-randomize-a-Result-Set-Order-by-NewId/"]http://www.aspfree.com/c/a/ASP-Code/SQL-statement-tip-to-randomize-a-Result-Set-Order-by-NewId/[/URL] | |
Re: By Referring to this link [URL="http://msdn.microsoft.com/en-us/library/htc4xefd.aspx"]http://msdn.microsoft.com/en-us/library/htc4xefd.aspx[/URL], you will get some idea about this. | |
Re: Can, you give the Coding which you have used to insert the Checkbox column in C1TrueDBGrid? | |
Re: Excellent Boss, its executing with Lighting Effects. | |
Re: Hello, niketakapoor the members here is not to do your home work, pls give us what is the code you have already written for this, and we can help you, what you want. | |
Re: Apart from the Point said by abelLazm remaining all is fine, i checked it out. | |
Re: In a Windows form add a Crystal report viewer, in which u can get all the formats which u want. In crystal report viewer, if u want to connect to the Database use the Database Expert in the Field Explorer. First after opening the Report you connect to by clicking … | |
Re: Did you referred this [URL="http://www.dreamincode.net/code/snippet1543.htm"]http://www.dreamincode.net/code/snippet1543.htm[/URL] | |
Re: Is, the lists u have given in loops i.e., list8,list9,list10 have the same length or different. Can u ur description more clearly? | |
| |
Re: Better, u refer to this link [URL="this"]http://www.akadia.com/services/dotnet_databinding.html[/URL] | |
Re: try this once [CODE] float[] A = { 5.5F, 6.8F, 9.3F, 10.9F }; float[] B = { 6.9F, 8.9F, 7.2F, 12.10F }; foreach (float val in A) { foreach (float val1 in B) { float[] resultlist = new float[5]; for (int i = 0; i < A.Length; i++) { resultlist[i] … | |
Re: Did u referred this [URL="http://www.dofactory.com/Connect/Connect.aspx"]http://www.dofactory.com/Connect/Connect.aspx[/URL] | |
Re: this keyword refers to the Current Form to which the coding and controls belongs. | |
Re: Instead of that code try this [CODE]namespace differenceofmeans { public class TraceSet { public void Main() { float avrg = 5.6F; TraceAverages(avrg); Console.Write(avrg); } public static void TraceAverages (float avrg) { string file = System.IO.File.ReadAllText(@"C:\Users\40025634\Desktop\Project\TraceSet.csv"); ArrayList rows = new ArrayList(file.Split('\n')); { foreach (string row in rows) { string r = … | |
Re: You, can use a web application also to play a wav file, i had worked on it in one project.But in the Web Application u have to pass through the Java script like this to play the Wav Files[CODE]Dim strScript As String = "<table id='tblRecordPlay' style='position:absolute; top:75%; left:700; border:1px solid … | |
Re: Pls, close this thread if ur problem is solved. | |
Re: And if for a datagrid view, first u retrieve the values of one data table and store them in Dataset, then after that using this code [CODE]Dataset ds= new Dataset(); ds.Columns.add(<newcolumnname>); ds.Tables(0).Rows(0)(<columnNo>) = value(which u get from another table)[/CODE] after filling all the columns required in to dataset using [CODE]datagrid.datasource()=ds; … | |
Re: Use the Coding which is given by abelLazm and including that to get the Images names from the folder use [CODE] string[] SubDirs = Directory.GetDirectories(Path)[/CODE] Hope, it helps u. | |
Hello, every one i had written a code to get a Database Backup Fully and Differentially in C#.net. Now, i need a criteria that i should get the Backup between a Specified Date given. I am trying for it, can any one help me regarding the Specified Date Period Backup. … | |
Re: Plz, can u give some more description regarding your problem. So, that we can Understand what's the Criteria u want. | |
Re: Ya, better its the idea given by @Momerath is Correct, u can't loop through a Array Collection or a Data View by editing it inside. So, first u assign the Arraylist to the Third list and later compare the counti and countj in that two array lists and delete. | |
The Password in default in every text box will appear like ............... in the Textbox instead of, I want to make it to be changed like ******************** in a Web Application. Can any one suggest me how to change the Style of the Password Char. | |
Re: Create the Form instances in Program.cs File, main one. Then all the Items in every individual form can be accessible in another form. | |
Re: [CODE] private void Form1_FormClosing(object sender, FormClosingEventArgs e) { DialogResult = MessageBox.Show("R U Sure To Close the Form", "Closing Form", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); if (DialogResult == DialogResult.OK) { Form1 f = new Form1(); f.Close(); } else { e.Cancel = true; } }[/CODE] Use this for Message Box based Closing of a form. | |
Re: I think the Integrated Connection should be set to false when at authentication using Username and Password. | |
Re: [CODE] con.ConnectionString = "PROVIDER=Microsoft.Jet.Oledb.4.0; Data source =C:\Documents and Settings\~LaiLi~\My Documents\Visual Studio 2005\Projects\MoreWever\MoreWever\bin\Debug\Inventory.mdb" sql = "SELECT * FROM Sales WHERE Fruit = '" & FruitComboBox.Text & "'" con.Open() Dim cmd As OleDbCommand Dim dr As OleDbDataReader Dim FruitDecimal, TotalPrice, FruitPrice As Decimal Dim QuanNum As Integer cmd = New OleDbCommand(sql, con) … | |
Re: @xorinzor, why can't change in Form1.vb the [CODE] Dim Tiles(,) As Double[/CODE] declaration to [CODE] Dim Tiles(,) As String[/CODE] and also in the Declaration Part of Maps.vb [CODE] Dim DummyTiles(20, 20) As Double [/CODE] to [CODE] Dim DummyTiles(20, 20) As String [/CODE]. I tried this, its is executing fine. Hope … |
The End.