- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
try {
string url = this.Request.Url.OriginalString;
string[] surl = Server.HtmlDecode(url).Remove(0, this.Request.Url.OriginalString.IndexOf(this.Request.Url.Query)).Replace("?", "").Split('&');
foreach (string s in surl) {
if (s.Contains("imark=")) {
ID_Mark = Convert.ToInt32(s.Replace("imark=", ""));
break;
}
}
foreach (string s in surl) {
if (s.Contains("imodel=")) {
ID_Model = Convert.ToInt32(s.Replace("imodel=", ""));
break;
}
}
foreach (string s in surl) {
if (s.Contains("imf=")) {
ID_Modification = Convert.ToInt32(s.Replace("imf=", ""));
break;
}
}
foreach (string s in surl) {
if (s.Contains("ieng=")) {
ID_Engine = Convert.ToInt32(s.Replace("ieng=", ""));
break;
}
}
foreach (string s in surl) {
if (s.Contains("ikpp=")) {
ID_KPP = Convert.ToInt32(s.Replace("ikpp=", ""));
break;
}
}
foreach (string s in surl) {
if (s.Contains("iGa=")) {
iGa = Convert.ToInt32(s.Replace("iGa=", ""));
break;
}
}
using (DBAccess da = new DBAccess()) {
var q = da.ContentListByModelId(ID_Model);
repContent.DataSource = q;
repContent.DataBind();
}
} catch {
Response.Redirect(Resources.Resource.PageNotFoundURL);
return;
}
tinynick 21.06.2010 15:17 # 0
Back 21.06.2010 15:32 # 0
Suor 26.06.2010 16:38 # 0
Wеbkill 26.06.2010 22:15 # −1