Click here to Skip to main content
15,912,977 members
Home / Discussions / Database
   

Database

 
AnswerRe: like query Pin
zahedonline21-Jul-08 2:25
zahedonline21-Jul-08 2:25 
QuestionMy table have to be like this Pin
Member 387988118-Jul-08 0:49
Member 387988118-Jul-08 0:49 
AnswerRe: My table have to be like this Pin
Ashfield18-Jul-08 1:12
Ashfield18-Jul-08 1:12 
GeneralRe: My table have to be like this Pin
Paul Conrad18-Jul-08 4:16
professionalPaul Conrad18-Jul-08 4:16 
GeneralRe: My table have to be like this Pin
Ashfield18-Jul-08 5:21
Ashfield18-Jul-08 5:21 
GeneralRe: My table have to be like this Pin
Alsvha18-Jul-08 9:03
Alsvha18-Jul-08 9:03 
GeneralRe: My table have to be like this Pin
Paul Conrad18-Jul-08 9:07
professionalPaul Conrad18-Jul-08 9:07 
QuestionAvoiding #Error in Microsoft Access 2007 Pin
fifothekid17-Jul-08 22:18
fifothekid17-Jul-08 22:18 
QuestionAn error encountered when ms sql server 2005 have to send a lots of data Pin
dasha_pl17-Jul-08 21:55
dasha_pl17-Jul-08 21:55 
AnswerRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
Wendelius18-Jul-08 5:29
mentorWendelius18-Jul-08 5:29 
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
dasha_pl21-Jul-08 6:54
dasha_pl21-Jul-08 6:54 
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
Wendelius21-Jul-08 8:29
mentorWendelius21-Jul-08 8:29 
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
dasha_pl21-Jul-08 20:27
dasha_pl21-Jul-08 20:27 
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
dasha_pl22-Jul-08 1:52
dasha_pl22-Jul-08 1:52 
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
Wendelius22-Jul-08 5:33
mentorWendelius22-Jul-08 5:33 
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
dasha_pl22-Jul-08 21:44
dasha_pl22-Jul-08 21:44 
My connection string:
"Data Source=dbserver;Initial Catalog=mydb;Persist Security Info=True;User ID=user;Password=password;Connection Timeout=60;Packet Size=16384;Pooling=false"

I could not pass all programming code, it's very huge, I'll describe common steps,so, I click some button then:

1. EntitiesDataContext db = MyProject.Misc.HttpDataContext<entitiesdatacontext>.Current;
2. Client client = Application.GetClient();
3. db.GetPartsByClientType(...)</entitiesdatacontext>


Here is this property for my class httpDataContext<t> for step 1:
public static T Current {
			get {
				string key = typeof(T).FullName;
				T datacontext = (T)System.Web.HttpContext.Current.Items[key];
				if (datacontext == null)
					System.Web.HttpContext.Current.Items.Add(key, datacontext = new T());
				return datacontext;
			}
		}


For step 2 . In function GetClient I'm using the same
EntitiesDataContext db = MyProject.Misc.HttpDataContext<entitiesdatacontext>.Current;</entitiesdatacontext>
to get db context.

And then on step 3 my query executing several time in cycle "for".
I hope this information will help Smile | :)
GeneralRe: An error encountered when ms sql server 2005 have to send a lots of data Pin
Wendelius23-Jul-08 5:48
mentorWendelius23-Jul-08 5:48 
QuestionExcel Query [modified] Pin
Sunil Wise17-Jul-08 21:01
professionalSunil Wise17-Jul-08 21:01 
AnswerRe: Excel Query [modified] Pin
Sunil Wise17-Jul-08 21:32
professionalSunil Wise17-Jul-08 21:32 
QuestionHow to insert data from MS SQL server in MS EXCEL Sheet? Pin
guriqbal8717-Jul-08 4:22
guriqbal8717-Jul-08 4:22 
AnswerRe: How to insert data from MS SQL server in MS EXCEL Sheet? Pin
leoinfo17-Jul-08 5:17
leoinfo17-Jul-08 5:17 
GeneralRe: How to insert data from MS SQL server in MS EXCEL Sheet? Pin
guriqbal8720-Jul-08 20:50
guriqbal8720-Jul-08 20:50 
AnswerCross Post Pin
Paul Conrad17-Jul-08 16:51
professionalPaul Conrad17-Jul-08 16:51 
QuestionSending Email Pin
jonhbt17-Jul-08 3:38
jonhbt17-Jul-08 3:38 
AnswerRe: Sending Email Pin
Wendelius17-Jul-08 8:06
mentorWendelius17-Jul-08 8:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.