- Upvotes Received
- 8
- Posts with Upvotes
- 5
- Upvoting Members
- 6
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Not Possible
- Interests
- Coding,Computer Gaming,Brain teasers,Puzzles,Chess,Football
49 Posted Topics
Re: I think Perplexed is saying right this problem seems due to closing the connection but if you provide few more details then it would be easier to find its root... | |
Re: @darrylnuyda: best way to learn C# will be try to know its basics and get examples on MSDN. | |
Re: Richtextbox can be used for exporting styles like font,Color,Background colr etc.Check the below example for richTextbox. using System; using System.Drawing; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { richTextBox1.Font = new Font("Consolas", 18f, FontStyle.Bold); … | |
Re: Use Textbox1.text=Textbox2.text for assigning value of one textbox to another text box. | |
Re: You can try Putty tool for accessing your Linux Environment.This is a freeware easily available through internet. | |
Re: RSS is basically Really Simple Syndication (RSS) that is an XML-based document format for the syndication of web content so that it can be republished on other sites or downloaded periodically and presented to users. The RSS 2.0 specification describes how to create RSS documents. An RSS document, also called … | |
Re: you can use like this: //open document com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("input.pdf"); // loop through all the pages of PDF file for (int pageCount = 1; pageCount <= pdfDocument.getPages().size(); pageCount++) { // create stream object to save the output image java.io.OutputStream imageStream = new java.io.FileOutputStream("Converted_Image" + pageCount + ".jpg"); //create … | |
I am using My SQL Database. I have two databases of My SQL which are used in a appplication simultaneaously as backend and log databases. So i need to stop services of log database only to view some results relating to my application. Is there any way to stop the … | |
Re: Try below code to insert your records... Dim sql As String = "INSERT INTO [Accessonbook-1] (ID,Name,Age,Sex) VALUES (@q1, @q2, @q3, @q4)" Using cn As New SqlConnection("Your connection string here"), _ cmd As New SqlCommand(sql, cn) cmd.Parameters.Add("@q1", SqlDbType.VarChar, 50).Value = IDtxt.Text cmd.Parameters.Add("@q2", SqlDbType.VarChar, 50).Value = Nametxt.Text cmd.Parameters.Add("@q3", SqlDbType.VarChar, 50).Value = Agetxt.Text … | |
Re: You could use a conditional that tested for empty nodes foreach (XmlNode node in nodes) { // Conditional goes here direction=node.ChildNodes[0].ChildNodes[0].Value.ToString(); comment=node.ChildNodes[1].ChildNodes[0].Value.ToString(); image_id= node.Attributes[0].Value.ToString(); } | |
Re: you can try <SelectParameters> <asp:ControlParameter ControlID="Label1" Name="RECID" PropertyName="integer" Type="Int32" /> </SelectParameters> this may be due to you are passing integer and you have mentioned its property value as Text. | |
Re: you can try like this... $(function() { var currentPath = window.location.pathname; $("a").each(function() { var src = $(this).attr("href"); if (src.indexOf(currentPath) != -1) { $(this).css("font-weight", "bold"); } }); }); | |
Re: you can try following syntax for inserting data values `dataGridView1.Rows[rowIndex].Cells[columnIndex].Value = value;` | |
Re: I had also faced same situation once,may be following post can help you [Here](http://social.msdn.microsoft.com/Forums/en-US/51b69999-d8f7-4d4c-8be0-2bdcce24e914/set-priority-for-prerequisites-in-setup-project-c?forum=winformssetup) | |
Re: query should be like.. INSERT INTO def (catid, title, page, publish) SELECT catid, title, 'page','yes' from `abc` | |
Re: You can try this as a possible solution. Dim nwData as CustomersDataSet = CustomersDataSet.GetCustomers() m_CustomersGrid.DataSource = m_CustomersBindingSource m_CustomersBindingSource.DataSource = nwData.Customers Then you can sort using the BindingSource. CustomersBindingSource.Sort = "ContactName ASC" And you can find using the BindingSource. Dim index as integer = _ CustomersBindingSource.Find("CompanyName", CompanyNameTextBox.Text) If index <-1 then … | |
Re: Error (80004005) as meaning the script could not access your data. The most likely reason is a permissions related problem. Your best chance of resolving this problem is to study carefully any associated message, for example, 'File already in use', or 'Logon Failed'. Causes may be most likely : 1.Insufficient … | |
Re: I think you should use following script like: #!/bin/bash XLIB_SKIP_ARGB_VISUALS=1 /opt/softwaresname/abaqus cae You can also create the launcher using the following command: `bash -c 'XLIB_SKIP_ARGB_VISUALS=1 /opt/softwaresname/abaqus cae'` Setting environment variables before the executable file name in a command line is a feature of CLI (Command Line Interface) shells. If you … | |
Re: In Run command window type "Recent" and press enter. | |
Re: you can set validation in GUI mode like if you want only numbers to be entered then you can enter numbers which will be only accepted that text box in text box's properties. or you can do it with the code like: Func() { e.handled=(!char.IsDigit(e.KeyChar)) && (!char.IsControl(e.KeyChar)); if(e.handled==0) { Enter: … | |
Re: There are two ways to create a String object 1) String str="hello" 2) String str=new String("hello") 3) new String(str) and for second one look at below code public class Concat { String cat(String a, String b) { a += b; return a; } } If a is null, then the … | |
Re: i can help but need to see code and query which you used at gridview.. | |
Re: May be you are working on a 32-bit system.Check it | |
Re: try this SELECT tbl.CrDate FROM tbl WHERE datecolumn=#"+date+"# "; | |
Re: it may typically relate back to an issue during the installation or an upgrade. or Check the schema the stored procedure belongs to on your host - it could be that it's not in the "dbo" schema. | |
Re: need to see more information to find its root cause... | |
Re: ASP.Net will work very well with MS Sql Server.There are definitely some benefits to using SQL with ASP.NET, since the two are architecturally synchronized. However, plenty of high-performing applications use Oracle. | |
Re: Ozeki Phone System also supports ASP.NET and C# and it provides more APIs for creating unique telecommunication solutions as well. [Here](http://www.ozekiphone.com/voip-part1-c-example-on-sending-sms-making-voip-calls-740.html) Surely you will get help with this. | |
Re: you can Use the substring and indexof functions. like `item = item.Substring(1, item.Length 4)` or you can try ' try this <% dim myString myString = "hello.txt" %> <tr><%=Right(myString, 4)%></tr> <% ' continue do whatever %> | |
Re: try this : "SELECT * FROM [per_diem_accomodation] WHERE [project number]='" + projcode + "' AND [employee number]='" + empcode + "' AND [current month]='" + resultdate + "'" | |
Re: try this // Static method: if (Regex.IsMatch(txtName.Text, @"<!--myproductsku-->")) { string result = reg.Replace("<!--myproductsku-->" ,"This is my myproductsku."); Console.WriteLine("Replacement String: {0}", result); } | |
Re: try Response.Redirect(HttpContext.Current.Request.Url.ToString(), true); | |
Re: try //adding data to session //assuming the method below will return list of Products var products=Db.GetProducts(); //Store the products to a session Session["products"]=products; //To get what you have stored to a session var products=Session["products"] as List<Product>; //to clear the session value Session["products"]=null; | |
Re: When you add the row, you should be able to just access the cell which is the ComboBoxCell and set the value property. Here's a quick example which assumes that column 0 is the combo box: 'First, get the cell as a useful object 'You'll need to know the index … | |
Re: Saliency detection is considered to be a key attentional mechanism that facilitates learning and survival by enabling organisms to focus their limited perceptual and cognitive resources on the most pertinent subset of the available sensory data. Examples: Suppose you are driving and suddenly a truck appears. You react immediatelly because … | |
Re: First try to load image date in to a byte array like this: BufferedInputStream bis = new BufferedInputStream(is); ByteArrayBuffer baf = new ByteArrayBuffer(bis.count); int current = 0; while ((current = bis.read()) != -1) { baf.append((byte)current); } byte[] imageData = baf.toByteArray(); then use decodeByteArray of BitmapFactory using "imageData" BitmapFactory.decodeByteArray(imageData, 0, imageData.length) | |
What is REST API ? can any one explain it with example simply. | |
Re: try this... #include <stdio.h> void main() { char string[20]; int n, count = 0; printf("Enter the no of characters present in an array \n "); scanf("%d", &n); printf(" Enter the string of %d characters \n" , n); scanf("%s", string); while (count < n) { printf(" %c = %d\n", string[count], string[count] … | |
Need a proper development model for a Car Racing Game.Can any one provide it.... | |
Re: Try this FlatStyle=flat; for making button transparent in C# | |
Re: Try logic of below given code ....you can remove particular line in notepad with the help of Streeam Reader and Stream Writer... var tempFile = Path.GetTempFileName(); var linesToKeep = File.ReadLines(fileName).Where(l => l != "removeme"); File.WriteAllLines(tempFile, linesToKeep); File.Delete(fileName); File.Move(tempFile, fileName); | |
Re: you can simply create a text file on clients machine and rename it with text.udl and then open it with Ole DB Core Services(Option will be available in open with section when you right click on file). Now a window will appear haing tabs like provider,Connection,Advanced etc. so go to … | |
Re: you can use array or queue to store the output characters and then you can display those characters. or you can directly reverse the string MyStr = inputbox("Enter the String:") nCnt = Len(MyStr) For i = 1 to nCnt RevStr = Mid(MyStr,i,1)&RevStr Next Msgbox RevStr | |
Re: It would be good to use like this... WebClient webClient = new WebClient(); webClient.DownloadFile(remoteFileUrl, localFileName); or you can try this... using (SqlConnection con = new SqlConnection(GenericData.DBConnection)) { con.Open(); using (SqlCommand cmd = new SqlCommand("SELECT ImageData FROM Images WHERE Id=@ID", con)) { cmd.Parameters.AddWithValue("@ID", Id); SqlDataReader r = cmd.ExecuteReader(); if (r.Read()) { … | |
Re: Ramy is right you can create set up of your application by adding a new project with type Setup and deployment. | |
Re: Missing Comma in two lines: > c "and the new skill value is" > d "and the the new skill value is" may be syntax error is due to the missing commas in above two statements... | |
Re: try to use Column.DefaultCellStyle.Format property or set it via designer.... | |
Re: Amazon S3 acts as an image server in the cloud. And because Amazon S3 storage can be redundant across multiple data centers, it provides very high levels of durability for only a few cents per gigabyte per month. Every object in Amazon S3 is stored in a bucket. Before we … |
The End.