Posts

Showing posts from December, 2013

look up values

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Linq; using Ipreo.Orion.Own.DataAccessLayer; using System.Configuration; namespace Ipreo.Orion.Own.LinqQuery {     public class lookUpVal : IDisposable     {         private LookUpValuesDataContext m_dbEdd;         private iprFundEntryDataContext m_dbStg;         private noisysEdgarDataContext m_dbNoisys;          // Track whether Dispose has been called.         private bool disposed = false;         public lookUpVal ()         {             m_dbEdd = new LookUpValuesDataContext(ConfigurationSettings.AppSettings["ConnectionString"]);             m_dbStg = new iprFundEntryDataContext(ConfigurationSettings.AppSettings["DevStageConnectionStr...

Solving problem of Line seperation from sqlqury result message in c# MessageBox

Image
Solving problem of Line seperation from sqlqury result message in c# MessageBox hi , to day i am posting  how c# Message box will display messagetext   when message text coming from Database and when messagetext coming from UI 1) C# Message Box showing message of Line separation from UI; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void btn_Save_Click(object sender, EventArgs e)         {             string messs...