Software Development Network Logo
  • Visual C#
  • VS Team System
  • Visual Basic
  • Smart Devicet
  • Game Technologies
  • Visual Studio
  • Visual C++
  • Visual FoxPro
  • Microsoft ISV
  • .NET Development
  • SharePoint Products
  • SQL Server
  • IE Development
  • Windows Vista
  • Windows Forms

Software Development Network >> mkoren's Q&A profile

mkoren

Member List

Kristian Jörgensen
rahulsk1947
JonathanB_Il
Deni Atanasov
learneroob
Andy Jarvis
MigiTheGuru
Jiajia
bshive
Xcel
kleinma
kymaita
Alex Michael Leonard Klein
Nishant Sivakumar
Robbinsky
AndrasEliassen
humberto molina
huysmans
SteveCroy
carface
Only Title

mkoren's Q&A profile

  • Windows Forms HyperLink Column in GridView

    I've made the first column of my gridView as Hyperlink Column. The problem is that whenever i click the hyperlink it redirects to a page with the same query string. I need the query strings to be different for each Hyperlink(Eg: I need the id of the clicked row). This is the code i've written Dim bc As BoundField con = New SqlConnection( "server=levergent4;uid=sa;database=octadata" ) con.Open() Dim da As SqlDataAdapter da = New SqlDataAdapter( "select RoleId,RoleName,RoleDescription from Levit_Role" , con) ds = New DataSet da.Fill(ds, "Levit_Role" ) GridView1.DataSource = ds Dim hlb As HyperLinkField hlb = New HyperL ...Show All

  • .NET Development How to rename xml node name and load into dataset

    I have a xml < xml version="1.0" > <Amazonbooks> <Mybook> <MyBooktitle>Astronomy</title> <booknumber>b121</booknumber> <city>SHILLINGTON</city> <state>PA</state> <description>Astronomy b121 Description on 19 dec</description> </Mybook> <Mybook> <MyBooktitle>Geology</title> <booknumber>b212</booknumber> <city>West Palm Beach</city> <state>FL</state> <description>Geology b212 Description on 19 dec</description> </Mybook> <Mybook> <MyBooktitle>Astrology </title> <booknumber>b313</boo ...Show All

  • Visual Studio 2008 (Pre-release) .NET classes from EDM schema and entity relationships

    Does the generation of .NET classes from EDM schema and entity relationships uses the actual relational database Also when you create EDM schema and entity sets and relationships, does the database really has to exist Yes, we have plans for upcoming releases. The entity mapping tool (internal prototype I mentioned in another thread ) has a schema translation feature that allows generating a relational schema (.ssdl file) from an EDM schema (.csdl file) and exporting SQL DDL to create the necessary tables in the database. It supports 3 standard inheritance mapping strategies (TPH, TPC, TPT). Again, the release schedule and feature scope are pending. - Sergey ...Show All

  • Windows Forms Updating public value via pop-up dialog

    Dear All, I have declared a public variable in my main form. Then upon pop-up dialog I want to be able to see the public value and update in the pop-up and later the update should be able to be seen in my main form. How to do it ya Dear Bonnie, What are the other ways of doing it with out passing the reference to of the main form to the pop-up form Thanks. ...Show All

  • Visual C# P/Invoke call to external DLL

    I am stuck trying to get a P/Invoke correctly done to a 3rd party DLL. The DLL is called DNA.DLL. I have other P/Invoke calls working to it, but this one just doesn't want to. The problem is that it returns a string via a buffer. Whatever I try to declare as buffer (ref string, out string, ref StringBuilder, out StringBuilder) ends up causing a System.AccessViolationException in .NET 2 (C#, VS 2005). Here is the info I have about this call: Delphi: function DNA_Param(param,value:pChar; value_size:integer):integer; stdcall; VBasic6: Public Function DNA_Param(ByVal param As String, ByRef value As String, ByVal value_size As Integer) As Integer C++: int __stdcall DNA_Param(char *param,char *value,int value_size); Request to the DNA Clie ...Show All

  • Visual Basic System.IO + FileStream : Works with Big Files

    I read the file byte per byte but the matter is that i need work with Big Files (120 Mega ) and use Seek byte for byte (because i need to find an exact couple of Byte) it is so very long. Are there any tips for making Read File fast flash.tato wrote: Ok i tried other Byte Buffer but is slow the same :( Any ideas also depend on the free ram you have, big file more ram is needed. ...Show All

  • Visual C# Tow Language

    i write application contains textbox and label i put label on the right of text box i want when i convert the application to second language i want to display label on left of text box are there any tool or code to do this thanks When a form is set to be localizable (property), you can set the language you are editing. If you edit a form when it is set to a specific language, you can also edit the positioning of controls on the form for that language. That way you can change the way your app looks in different languages. ...Show All

  • Visual C# Adding text to a listbox

    I am trying to add text to a listbox by using a string type variable. During debug I noticed that the variable had the text I wished to add to the listbox, but the listBox1.Items.Add(s_Text); didnt' do anything. Is there a different way your supposed to do this I wasn't talking about a Textbox control, but a string variable. The variable is recieving a value from an object successfully, but will not add it to a listbox for whatever reason. ...Show All

  • Visual Basic Weeknumber

    How do i get the weeknumber in Visual Basic 2005 Express edition Depends upon what you actually need. For all I know he could have been asking for the week number of the current month. Generic questions tend to result in generic answers. ;-) ...Show All

  • SQL Server Large number of rows issue

    Hi , There is a table with the following structure __________________________________________________________________________________ Date-Time of Operation | Message | details | Reason | Username | IP | MAC-Address __________________________________________________________________________________ A user can fire query based on some condition on columns. The maximum no of rows that should be returned are 1 billion. By default the data returned to the view is sorted on Date-Time. Further user can sort the data in the view on Message, details , reason , username , IP , Mac-Address. Suppose i have a scenerio where the user first gets the 1 billion records, then some records are inserted in the database.Then user sort on IP colu ...Show All

  • Windows Live Developer Forums The following message could not be delivered to all recipients:

    I need to submit a ticket to the Microsoft Messenger Team.  For some reason the majority of the bots out there are unable to connect to the Microsoft Network. The following message is displayed to the user: The following message could not be delivered to all recipients: It seems that on rare occasions people are able to get through.  This problem started surfacing around the second week in November. Any help in resolving this problem is greatly appreciated. Thanks in advance.   Isaac Encouragebot v1.0 EncourageBot@hotmail.com   My bots admirenature@hotmail.com & investwiser@hotmail.com are both facing the issue "message cannot be delivered" Is there anyone else other than me and Issac ha ...Show All

  • Windows Forms Difference between CurrentCell and SelectedCells

    What is the difference between the two Are selectedcells currentcell Thanks. Regards Alu To add new row to datagridview, you should add new row to your datasource directly. You add do it like this, northwindDataSet.Customers.AddCustomersRow("Gemi", "MS", "Wang", "aaa", "aaa", "aaa", "aaa", "aaa", "aaa", "aaa", "aaa"); After you add a new row to your dataset, the datagridview will show it automatically. ...Show All

  • Visual Basic writing bytes to a file

    I have a program which generates data which I want to write to a file so that I can access it later. How do I open a file to append data and later open it to acess the data Here's a general purpose file i/O dll I wrote. It contains every thing you need for most kinds of I/O Text and Binary (byte). Open and closing logic is included. These routines use a structure I call an I/O status block containing information about and I/O stream. Imports System.io Imports System.Runtime.InteropServices <ComVisible(True)> _ Public Class IONOW ' Dll for synchronous File I/O <ComVisible(True)> _ Public Enum IOStatus cOperationSuccess = 1 cEOF = 42 cTOF = 43 cFile ...Show All

  • Visual C# What does <T> mean?

    Error 1 The type arguments for method 'System.Array.FindIndex< T >(T[], int, int, System.Predicate< T >)' cannot be inferred from the usage. Try specifying the type arguments explicitly. D:\VCsharp_Projects\tapTCPports_1\Form1.cs 1253 27 tapTCPports_1 i am curious as to the meaning of the symbol <T> on the first and second lines in the error message above. Thanks. I know whats <T> means, but i get an the same error by using DLINQ Queries, if i try to call var a = from m in db.Modules where m.MID==ModuleID select m; I get: Error 2 The type arguments for method 'System.Data.TypedTableBaseExtensions.Where<T>(System.Data.TypedTableBase<T>, System.Query.Func<T,bool>)' cannot be in ...Show All

  • Windows Forms Parameter count does not match Parameter Value count.

    Parameter count does not match Parameter Value count. what does this mean...I am trying to update my sqldb...I have all the right parameters...why elese would this come up SPROCS are the best way to go. What I am saying is, when you execute non query command, is that where the error is produced If so, check the parameter count. Then check your SPROC parameters (go into SQL and look at the SPROC)...count how many there are. Do they match up if not - that's your problem. ...Show All

©2008 Software Development Network